summaryrefslogtreecommitdiff
path: root/source3/libads/ads_ldap.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-09-28 12:27:04 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-09-28 12:27:04 +0000
commit8b197158c9a7a4c881a86381f06c96d5091b5a76 (patch)
treed7456964593883a55918944484aa3addc15d4f65 /source3/libads/ads_ldap.c
parent9e0bd9be01a6337d75d54382b56dfe6a88bda47b (diff)
downloadsamba-8b197158c9a7a4c881a86381f06c96d5091b5a76.tar.gz
samba-8b197158c9a7a4c881a86381f06c96d5091b5a76.tar.bz2
samba-8b197158c9a7a4c881a86381f06c96d5091b5a76.zip
Add the beginings of sam_ads to the tree.
This module, primarilly the work of "Stefan (metze) Metzmacher" <metze@metzemix.de>, uses the Active Directory schema to store the user/group/other information. I've been testing it against a real AD server, and it is intended to work with OpenLDAP as well. I've moved a few functions around in our other libads code, which has made it easier to tap into that existing code. Also, I've made some changes to the SAM interface, I hope there are not too many objections... To ensure we don't get silly bugs in the skel module, it is now in the default compile. This way you should not forget to update it :-) Andrew Bartlett (This used to be commit 24fb0cde2f0b657df1c99474cd694438c94a566e)
Diffstat (limited to 'source3/libads/ads_ldap.c')
-rw-r--r--source3/libads/ads_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ads_ldap.c b/source3/libads/ads_ldap.c
index 8c39a89762..05b016539e 100644
--- a/source3/libads/ads_ldap.c
+++ b/source3/libads/ads_ldap.c
@@ -83,7 +83,7 @@ done:
/* convert a sid to a user or group name */
NTSTATUS ads_sid_to_name(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
- DOM_SID *sid,
+ const DOM_SID *sid,
char **name,
enum SID_NAME_USE *type)
{