svn commit: samba r21106 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_24/source/nsswitch

gd at samba.org gd at samba.org
Thu Feb 1 12:24:09 GMT 2007


Author: gd
Date: 2007-02-01 12:24:08 +0000 (Thu, 01 Feb 2007)
New Revision: 21106

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

Log:
We neither need a account lockout policy handler nor a check domain
online handler for internal (local SAM, BUILTIN) childs. Jeremy, please
check.

Guenther

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
   branches/SAMBA_3_0_24/source/nsswitch/winbindd_dual.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2007-02-01 12:20:33 UTC (rev 21105)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2007-02-01 12:24:08 UTC (rev 21106)
@@ -877,7 +877,8 @@
 			   "krb5_ticket_refresh_handler");
 
 	/* We might be in the idmap child...*/
-	if (child->domain && lp_winbind_offline_logon()) {
+	if (child->domain && !(child->domain->internal) &&
+	    lp_winbind_offline_logon()) {
 
 		set_domain_online_request(child->domain);
 

Modified: branches/SAMBA_3_0_24/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0_24/source/nsswitch/winbindd_dual.c	2007-02-01 12:20:33 UTC (rev 21105)
+++ branches/SAMBA_3_0_24/source/nsswitch/winbindd_dual.c	2007-02-01 12:24:08 UTC (rev 21106)
@@ -865,7 +865,8 @@
 	cancel_named_event("krb5_ticket_refresh_handler");
 
 	/* We might be in the idmap child...*/
-	if (child->domain && lp_winbind_offline_logon()) {
+	if (child->domain && !(child->domain->internal) &&
+	    lp_winbind_offline_logon()) {
 
 		set_domain_online_request(child->domain);
 



More information about the samba-cvs mailing list