diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-07-13 20:16:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:20 -0500 |
commit | 413ec64f27bb955f477b0b6b5737ed58453acd9c (patch) | |
tree | 4409da67dc4f25e6504addf00bc0fa8758ef99ca | |
parent | 0ea9508d53be8949ddf04e202c025d91d2934440 (diff) | |
download | samba-413ec64f27bb955f477b0b6b5737ed58453acd9c.tar.gz samba-413ec64f27bb955f477b0b6b5737ed58453acd9c.tar.bz2 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.c | 3 |
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, |