summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c2
-rw-r--r--source3/smbd/service.c2
-rw-r--r--source3/smbd/share_access.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index da1def4361..637d5b4120 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -1977,7 +1977,7 @@ static BOOL api_NetUserGetGroups(connection_struct *conn,uint16 vuid, char *para
size_t i;
NTSTATUS result;
DOM_SID user_sid;
- enum SID_NAME_USE type;
+ enum lsa_SidType type;
TALLOC_CTX *mem_ctx;
*rparam_len = 8;
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index d0ad6fa7e6..734feef4f7 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -420,7 +420,7 @@ static NTSTATUS find_forced_group(BOOL force_user,
NTSTATUS result = NT_STATUS_NO_SUCH_GROUP;
TALLOC_CTX *mem_ctx;
DOM_SID group_sid;
- enum SID_NAME_USE type;
+ enum lsa_SidType type;
char *groupname;
BOOL user_must_be_member = False;
gid_t gid;
diff --git a/source3/smbd/share_access.c b/source3/smbd/share_access.c
index 09b56c3522..cee88bcf0b 100644
--- a/source3/smbd/share_access.c
+++ b/source3/smbd/share_access.c
@@ -73,7 +73,7 @@ static BOOL token_contains_name(TALLOC_CTX *mem_ctx,
{
const char *prefix;
DOM_SID sid;
- enum SID_NAME_USE type;
+ enum lsa_SidType type;
if (username != NULL) {
name = talloc_sub_basic(mem_ctx, username,