summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-15 14:38:18 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-19 05:56:28 +0200
commit376dc5cc5da44f154637187bfccf52821e837e37 (patch)
treec707c806a56798493da077e47d367d8b7dcddf3f /source3/auth
parent11d7f7762dc943418d46cf1958a71701e58620c0 (diff)
downloadsamba-376dc5cc5da44f154637187bfccf52821e837e37.tar.gz
samba-376dc5cc5da44f154637187bfccf52821e837e37.tar.bz2
samba-376dc5cc5da44f154637187bfccf52821e837e37.zip
s3-auth Use correct RID for domain guests primary group
This was incorrect in commit 9dd7e7fc2d6d1aa7f3c3b741ac134e087ce808fd as the RID was from the BUILTIN domain, but this creates a guest account token for the real domain. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 19 05:56:28 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 6f99173850..c4479d40aa 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -843,7 +843,7 @@ static NTSTATUS get_guest_info3(TALLOC_CTX *mem_ctx,
info3->base.rid = DOMAIN_RID_GUEST;
/* Primary gid */
- info3->base.primary_gid = BUILTIN_RID_GUESTS;
+ info3->base.primary_gid = DOMAIN_RID_GUESTS;
/* Set as guest */
info3->base.user_flags = NETLOGON_GUEST;