Lines Matching defs:domain
31 * - If you want to work with a domain, use the SAM handle.
32 * to obtain a domain handle.
33 * - Use domain handles to obtain user handles etc.
36 * null handle may crash the domain controller if you attempt to use it.
72 * and domain. We default to the resource domain if the caller doesn't
73 * supply a server name and a domain name.
81 samr_open(char *server, char *domain, char *username, DWORD access_mask,
87 if (server == NULL || domain == NULL) {
92 domain = di.d_primary.di_nbname;
95 rc = samr_connect(server, domain, username, access_mask, samr_handle);
103 * Connect to the SAMR service on the specified server (domain controller).
116 samr_connect(char *server, char *domain, char *username, DWORD access_mask,
129 if (ndr_rpc_bind(samr_handle, server, domain, username, "SAMR") < 0)
133 status = (*samr_connop[i])(server, domain, username,
155 samr_connect1(char *server, char *domain, char *username, DWORD access_mask,
189 * Connect to the SAM on a Windows NT 4.0 server (domain controller).
190 * We need the domain controller name and, if everything works, we
198 samr_connect2(char *server, char *domain, char *username, DWORD access_mask,
231 * Connect to the SAM on a Windows 2000 domain controller.
235 samr_connect4(char *server, char *domain, char *username, DWORD access_mask,
269 * Connect to the SAM on a Windows XP domain controller. On Windows
270 * XP, the server should be the fully qualified DNS domain name with
272 * need to add the prefix and the DNS domain name here.
279 samr_connect5(char *server, char *domain, char *username, DWORD access_mask,
322 * This is function closes any valid handle, i.e. sam, domain, user etc.
352 * We use a SAM handle to obtain a handle for a domain, specified by
354 * the domain is returned in domain_handle.
401 * Use a domain handle to obtain a handle for a user, specified by the
480 * Use a domain handle to obtain a handle for a group, specified by the
529 * Create a user in the domain specified by the domain handle. If this
599 * Lookup up the domain SID for the specified domain name. The handle
679 * Lookup up the given name in the domain specified by domain_handle.