diff options
author | Günther Deschner <gd@samba.org> | 2006-03-17 10:36:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:35 -0500 |
commit | 9e7e429c98f20967211437889fa6f2d7883b7d93 (patch) | |
tree | 74ffcc2685fd678dd71b81d08a19919e61a204aa /source3/nsswitch/winbindd_pam.c | |
parent | a17d276fa0164cd3f13c85a0ae02cc2a504d394d (diff) | |
download | samba-9e7e429c98f20967211437889fa6f2d7883b7d93.tar.gz samba-9e7e429c98f20967211437889fa6f2d7883b7d93.tar.xz samba-9e7e429c98f20967211437889fa6f2d7883b7d93.zip |
r14507: Re-disable accidentially re-enabled paranoia check. This should make
offline logons work again with NT4 and older Samba3 DCs.
Guenther
(This used to be commit 0892077fcec913ef76b017b5bfe058d20a322915)
Diffstat (limited to 'source3/nsswitch/winbindd_pam.c')
-rw-r--r-- | source3/nsswitch/winbindd_pam.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index 12455db8f63..e2b4297564f 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -746,12 +746,15 @@ NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, return NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT; } + /* The info3 acct_flags in NT4's samlogon reply don't have + * ACB_NORMAL set. */ +#if 0 if (!(my_info3->acct_flags & ACB_NORMAL)) { DEBUG(10,("winbindd_dual_pam_auth_cached: whats wrong with that one?: 0x%08x\n", my_info3->acct_flags)); return NT_STATUS_LOGON_FAILURE; } - +#endif kickoff_time = nt_time_to_unix(&my_info3->kickoff_time); if (kickoff_time != 0 && time(NULL) > kickoff_time) { return NT_STATUS_ACCOUNT_EXPIRED; |