From c8e23e4091a85063929aa7d807b0c1b7d7b98d91 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 11 Jul 2007 13:17:42 +0000 Subject: r23833: Document ads_find_samaccount(). Guenther (This used to be commit 3effd1c3461301f9ccf7c55386810c36f4ee3ccc) --- source3/libads/ldap.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/libads') diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index dd2bf0e344..40bba683a4 100644 --- a/source3/libads/ldap.c +++ b/source3/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, -- cgit