svn commit: samba r16474 - branches/SAMBA_3_0/source/nsswitch
trunk/source/nsswitch
gd at samba.org
gd at samba.org
Thu Jun 22 20:31:02 GMT 2006
Author: gd
Date: 2006-06-22 20:31:02 +0000 (Thu, 22 Jun 2006)
New Revision: 16474
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16474
Log:
There is no point in figuring out lockout policies if we do not allow
offline logons at all.
Guenther
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
trunk/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 2006-06-22 20:07:08 UTC (rev 16473)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c 2006-06-22 20:31:02 UTC (rev 16474)
@@ -730,7 +730,7 @@
return False;
}
- if (child->domain != NULL) {
+ if (child->domain != NULL && lp_winbind_offline_logon()) {
/* We might be in the idmap child...*/
child->lockout_policy_event = add_timed_event(
child->mem_ctx, timeval_zero(),
Modified: trunk/source/nsswitch/winbindd_dual.c
===================================================================
--- trunk/source/nsswitch/winbindd_dual.c 2006-06-22 20:07:08 UTC (rev 16473)
+++ trunk/source/nsswitch/winbindd_dual.c 2006-06-22 20:31:02 UTC (rev 16474)
@@ -731,7 +731,7 @@
return False;
}
- if (child->domain != NULL) {
+ if (child->domain != NULL && lp_winbind_offline_logon()) {
/* We might be in the idmap child...*/
child->lockout_policy_event = add_timed_event(
child->mem_ctx, timeval_zero(),
More information about the samba-cvs
mailing list