svn commit: samba r17022 - in branches/SAMBA_3_0/source/auth: .

vlendec at samba.org vlendec at samba.org
Thu Jul 13 20:16:13 GMT 2006


Author: vlendec
Date: 2006-07-13 20:16:12 +0000 (Thu, 13 Jul 2006)
New Revision: 17022

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17022

Log:
Fix the build farm -- maybe this is the real fix, testing more
Modified:
   branches/SAMBA_3_0/source/auth/auth_util.c


Changeset:
Modified: branches/SAMBA_3_0/source/auth/auth_util.c
===================================================================
--- branches/SAMBA_3_0/source/auth/auth_util.c	2006-07-13 18:10:29 UTC (rev 17021)
+++ branches/SAMBA_3_0/source/auth/auth_util.c	2006-07-13 20:16:12 UTC (rev 17022)
@@ -956,7 +956,8 @@
 	 * 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,



More information about the samba-cvs mailing list