summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-08 14:28:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:18 -0500
commit2b27c93a9a8471693d7dcb5fdbe8afe65b22ff66 (patch)
tree75f48eabc8ea83e437bbeb5df541c8162b75d09f /source3/smbd
parentc2d59d817021b8faacbb035d8d7dd727bc14344c (diff)
downloadsamba-2b27c93a9a8471693d7dcb5fdbe8afe65b22ff66.tar.gz
samba-2b27c93a9a8471693d7dcb5fdbe8afe65b22ff66.tar.bz2
samba-2b27c93a9a8471693d7dcb5fdbe8afe65b22ff66.zip
r18271: Big change:
* autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in. (This used to be commit 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951)
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,