summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-07-11 13:17:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:31 -0500
commitc8e23e4091a85063929aa7d807b0c1b7d7b98d91 (patch)
tree7440a70121c4970915e6b04cdd96d7510ff10e08 /source3
parent5dbce9081c625b78a76eb02fbe470991baca07dc (diff)
downloadsamba-c8e23e4091a85063929aa7d807b0c1b7d7b98d91.tar.gz
samba-c8e23e4091a85063929aa7d807b0c1b7d7b98d91.tar.bz2
samba-c8e23e4091a85063929aa7d807b0c1b7d7b98d91.zip
r23833: Document ads_find_samaccount().
Guenther (This used to be commit 3effd1c3461301f9ccf7c55386810c36f4ee3ccc)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap.c9
1 files changed, 9 insertions, 0 deletions
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,