svn commit: samba r17024 - in trunk/source/auth: .

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


Author: vlendec
Date: 2006-07-13 20:45:53 +0000 (Thu, 13 Jul 2006)
New Revision: 17024

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

Log:
Clean up before closing the door behind me
Modified:
   trunk/source/auth/auth_util.c


Changeset:
Modified: trunk/source/auth/auth_util.c
===================================================================
--- trunk/source/auth/auth_util.c	2006-07-13 20:24:16 UTC (rev 17023)
+++ trunk/source/auth/auth_util.c	2006-07-13 20:45:53 UTC (rev 17024)
@@ -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