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 | 19d02690002a35cb6e0204db236d2b768e48c6d8 (patch) | |
tree | 9168108d98e7b402e0be05d13505a829f27c9c4b | |
parent | 07c67fbfc0790169ee748c0e62da14c89d3add23 (diff) | |
download | samba-19d02690002a35cb6e0204db236d2b768e48c6d8.tar.gz samba-19d02690002a35cb6e0204db236d2b768e48c6d8.tar.xz samba-19d02690002a35cb6e0204db236d2b768e48c6d8.zip |
r17022: Fix the build farm -- maybe this is the real fix, testing more
-rw-r--r-- | source/auth/auth_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c index 9fcaffa3d65..dfb41933572 100644 --- a/source/auth/auth_util.c +++ b/source/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, |