summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-07-13 20:16:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:20 -0500
commit413ec64f27bb955f477b0b6b5737ed58453acd9c (patch)
tree4409da67dc4f25e6504addf00bc0fa8758ef99ca
parent0ea9508d53be8949ddf04e202c025d91d2934440 (diff)
downloadsamba-413ec64f27bb955f477b0b6b5737ed58453acd9c.tar.gz
samba-413ec64f27bb955f477b0b6b5737ed58453acd9c.tar.xz
samba-413ec64f27bb955f477b0b6b5737ed58453acd9c.zip
r17022: Fix the build farm -- maybe this is the real fix, testing more
(This used to be commit 19d02690002a35cb6e0204db236d2b768e48c6d8)
-rw-r--r--source3/auth/auth_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 9fcaffa3d6..dfb4193357 100644
--- 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,