summaryrefslogtreecommitdiff
path: root/source4/libads
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-01 05:46:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:08 -0500
commit475c958450c863a8fc530ccf5bb712bd7a6e8aa4 (patch)
tree08d9d560320bf4310569f77d701ab838dbb9196d /source4/libads
parent37fffa54cf7edb208dcb060c642f5b0acf11d4e6 (diff)
downloadsamba-475c958450c863a8fc530ccf5bb712bd7a6e8aa4.tar.gz
samba-475c958450c863a8fc530ccf5bb712bd7a6e8aa4.tar.bz2
samba-475c958450c863a8fc530ccf5bb712bd7a6e8aa4.zip
r3425: got rid of a bunch of cruft from rewrite.h
(This used to be commit 3f902f8d851d32fa81d89ed61bfda6edaea00984)
Diffstat (limited to 'source4/libads')
-rw-r--r--source4/libads/ads_ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libads/ads_ldap.c b/source4/libads/ads_ldap.c
index b9e07e4c33..1b1613e90c 100644
--- a/source4/libads/ads_ldap.c
+++ b/source4/libads/ads_ldap.c
@@ -28,7 +28,7 @@
NTSTATUS ads_name_to_sid(ADS_STRUCT *ads,
const char *name,
DOM_SID *sid,
- enum SID_NAME_USE *type)
+ enum samr_SidType *type)
{
const char *attrs[] = {"objectSid", "sAMAccountType", NULL};
int count;
@@ -95,7 +95,7 @@ NTSTATUS ads_sid_to_name(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
const DOM_SID *sid,
char **name,
- enum SID_NAME_USE *type)
+ enum samr_SidType *type)
{
const char *attrs[] = {"userPrincipalName",
"sAMAccountName",