bug in v3-0-test winbindd_pam.c:1383, kerberos authentication failed, and wrong method to set domain offline?

Jeremy Allison jra at samba.org
Fri Jun 13 16:44:26 GMT 2008


On Fri, Jun 13, 2008 at 02:09:51AM -0600, Bo Yang wrote:
> Hi, All:
> 
>      nsswitch/winbindd_pam.c: line 1383
>          if (NT_STATUS_EQUAL(result, NT_STATUS_NO_LOGON_SERVERS) ||
>                     NT_STATUS_EQUAL(result, NT_STATUS_IO_TIMEOUT) ||
>                     NT_STATUS_EQUAL(result, NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)) {
>                         DEBUG(10,("winbindd_dual_pam_auth_kerberos setting domain to offline\n"));
>                         domain->online = False;
>          }
> 
>     We should use set_domain_offline(domain) function instead of just set staus to offline. Otherwise,
> domain will never goes online again.
> 
>      v3-2-test and v3-3-test is correct, I think.
> 
>      Patch for v3-0-test is in the attachment. Please review it.

Perfectly correct and pushed - thanks !

Jeremy.


More information about the samba-technical mailing list