summaryrefslogtreecommitdiff
path: root/source4/libads
diff options
context:
space:
mode:
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",