Likewise Security and Authentication Subsystem
ad.h File Reference

LSASS AD Provider Public Client API. More...

Functions

DWORD LsaAdJoinDomain (HANDLE hLsaConnection, PCSTR pszHostname, PCSTR pszHostDnsDomain, PCSTR pszDomain, PCSTR pszOU, PCSTR pszUsername, PCSTR pszPassword, PCSTR pszOSName, PCSTR pszOSVersion, PCSTR pszOSServicePack, LSA_NET_JOIN_FLAGS dwFlags)
 Join an Active Directory domain. More...
 
DWORD LsaAdJoinDomainDn (IN HANDLE hLsaConnection, IN PCSTR pHostname, IN PCSTR pHostDnsDomain, IN PCSTR pDomain, IN PCSTR pOu, IN PCSTR pUsername, IN PCSTR pPassword, IN PCSTR pOsName, IN PCSTR pOsVersion, IN PCSTR pOsServicePack, IN LSA_NET_JOIN_FLAGS dwFlags)
 Join Active Directory domain with alternate OU syntax. More...
 
DWORD LsaAdJoinDomainUac (HANDLE hLsaConnection, PCSTR pszHostname, PCSTR pszHostDnsDomain, PCSTR pszDomain, PCSTR pszOu, PCSTR pszUsername, PCSTR pszPassword, PCSTR pszOSName, PCSTR pszOSVersion, PCSTR pszOSServicePack, LSA_NET_JOIN_FLAGS dwFlags, LSA_USER_ACCOUNT_CONTROL_FLAGS dwUac)
 Join Active Directory domain with userAccountControl flags. More...
 
DWORD LsaAdLeaveDomain (HANDLE hLsaConnection, PCSTR pszUsername, PCSTR pszPassword)
 Leave default Active Directory domain. More...
 
DWORD LsaAdLeaveDomain2 (HANDLE hLsaConnection, PCSTR pszUsername, PCSTR pszPassword, PCSTR pszDomain, LSA_NET_JOIN_FLAGS dwFlags)
 Leave Active Directory domain. More...
 
DWORD LsaAdSetDefaultDomain (IN HANDLE hLsaConnection, IN PCSTR pszDomain)
 Set default Active Directory domain. More...
 
DWORD LsaAdGetJoinedDomains (IN HANDLE hLsaConnection, OUT PDWORD pdwNumDomainsFound, OUT PSTR **pppszJoinedDomains)
 Get joined domain list. More...