Lines Matching refs:domain

32  * - If you want to work with a domain, use the SAM handle.
33 * to obtain a domain handle.
34 * - Use domain handles to obtain user handles etc.
37 * null handle may crash the domain controller if you attempt to use it.
69 * and domain. We default to the resource domain if the caller doesn't
70 * supply a server name and a domain name.
78 samr_open(char *server, char *domain, char *username, DWORD access_mask,
84 if (server == NULL || domain == NULL) {
88 domain = di.d_primary.di_nbname;
94 status = samr_connect(server, domain, username, access_mask,
104 * Connect to the SAMR service on the specified server (domain controller).
117 samr_connect(char *server, char *domain, char *username, DWORD access_mask,
130 status = ndr_rpc_bind(samr_handle, server, domain, username, "SAMR");
135 status = (*samr_connop[i])(server, domain, username,
149 * Connect to the SAM on a Windows NT 4.0 server (domain controller).
150 * We need the domain controller name and, if everything works, we
158 samr_connect2(char *server, char *domain, char *username, DWORD access_mask,
194 * Connect to the SAM on a Windows 2000 domain controller.
198 samr_connect4(char *server, char *domain, char *username, DWORD access_mask,
235 * Connect to the SAM on a Windows XP domain controller. On Windows
236 * XP, the server should be the fully qualified DNS domain name with
238 * need to add the prefix and the DNS domain name here.
245 samr_connect5(char *server, char *domain, char *username, DWORD access_mask,
288 * This is function closes any valid handle, i.e. sam, domain, user etc.
317 * We use a SAM handle to obtain a handle for a domain, specified by
319 * the domain is returned in domain_handle.
366 * Use a domain handle to obtain a handle for a user, specified by the
445 * Use a domain handle to obtain a handle for a group, specified by the
494 * Create a user in the domain specified by the domain handle. If this
564 * Lookup up the domain SID for the specified domain name. The handle
643 * Lookup up the given name in the domain specified by domain_handle.