git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea9508
)
r17022: Fix the build farm -- maybe this is the real fix, testing more
author
Volker Lendecke
<vlendec@samba.org>
Thu, 13 Jul 2006 20:16:12 +0000
(20:16 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:19:20 +0000
(11:19 -0500)
(This used to be commit
19d02690002a35cb6e0204db236d2b768e48c6d8
)
source3/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index 9fcaffa3d65fa7a19c1b4e2b02c5dfc2c4cea85a..dfb41933572d356c539b4b0dab134e793449bf2e 100644
(file)
--- a/
source3/auth/auth_util.c
+++ b/
source3/auth/auth_util.c
@@
-956,7
+956,8
@@
NTSTATUS create_local_token(auth_serversupplied_info *server_info)
* mapped to some local unix user.
*/
- if ((!winbind_ping()) || (server_info->was_mapped)) {
+ if (((lp_server_role() == ROLE_DOMAIN_MEMBER) && !winbind_ping()) ||
+ (server_info->was_mapped)) {
status = create_token_from_username(server_info,
server_info->unix_name,
server_info->guest,