summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-07-06 05:51:20 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-07-06 05:51:20 +0000
commitb475d0b88924a0af4a8519a2e7bc183945de0f9c (patch)
tree4f5314d9915d730b2def157ba8d8a8759a1f6ef7 /source3/smbd/service.c
parentfcf115a93982933916e27d47643a3a4d741b9d76 (diff)
downloadsamba-b475d0b88924a0af4a8519a2e7bc183945de0f9c.tar.gz
samba-b475d0b88924a0af4a8519a2e7bc183945de0f9c.tar.bz2
samba-b475d0b88924a0af4a8519a2e7bc183945de0f9c.zip
This changes our Unix primary GID behaviour back to what most people expect:
Samba will now use the user's UNIX primary group, as the primary group when dealing with the filesystem. The NT primary group is ignored in unix. For the NT_TOKEN, the primary group is the NT priamry group, and the unix primary group is added to the NT_TOKEN as a supplementary group. This should fix bug #109, but will need to be revisited when we get a full NT group database. Also in this commit: - Fix debug statements in service.c - Make idmap_ldap show if it's adding, or modifying an existing DN - Make idmap_ldap show both the error message and error string (This used to be commit 32e455a714b2090fcfd1f6d73daccf600c15d51b)
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 6a23e38bbd..63991904ff 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -359,7 +359,7 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser,
guest = True;
pass = getpwnam_alloc(guestname);
if (!pass) {
- DEBUG(0,("authorise_login: Invalid guest account %s??\n",guestname));
+ DEBUG(0,("make_conncection_snum: Invalid guest account %s??\n",guestname));
conn_free(conn);
*status = NT_STATUS_NO_SUCH_USER;
return NULL;