From 413ec64f27bb955f477b0b6b5737ed58453acd9c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 13 Jul 2006 20:16:12 +0000 Subject: r17022: Fix the build farm -- maybe this is the real fix, testing more (This used to be commit 19d02690002a35cb6e0204db236d2b768e48c6d8) --- source3/auth/auth_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/auth/auth_util.c') 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, -- cgit