From: Günther Deschner Date: Wed, 11 Jul 2007 13:17:42 +0000 (+0000) Subject: r23833: Document ads_find_samaccount(). X-Git-Tag: samba-misc-tags/initial-v3-2-unstable~748 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3effd1c3461301f9ccf7c55386810c36f4ee3ccc;p=thirdparty%2Fsamba.git r23833: Document ads_find_samaccount(). Guenther --- diff --git a/source/libads/ldap.c b/source/libads/ldap.c index dd2bf0e344a..40bba683a4e 100644 --- a/source/libads/ldap.c +++ b/source/libads/ldap.c @@ -3271,6 +3271,15 @@ ADS_STATUS ads_leave_realm(ADS_STRUCT *ads, const char *hostname) return ADS_ERROR_LDAP(LDAP_SUCCESS); } +/** + * Find a sAMAccoutName in LDAP + * @param ads connection to ads server + * @param mem_ctx TALLOC_CTX for allocating sid array + * @param samaccountname to search + * @param uac_ret uint32 pointer userAccountControl attribute value + * @param dn_ret pointer to dn + * @return status of token query + **/ ADS_STATUS ads_find_samaccount(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, const char *samaccountname,