mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
pam_winbind: remove ACB_PWNOEXP.
Guenther
This commit is contained in:
parent
dde8046489
commit
4ff415dd15
@ -918,8 +918,8 @@ static void _pam_warn_password_expiry(struct pwb_context *ctx,
|
||||
*already_expired = false;
|
||||
}
|
||||
|
||||
/* accounts with ACB_PWNOEXP set never receive a warning */
|
||||
if (info->acct_flags & ACB_PWNOEXP) {
|
||||
/* accounts with WBC_ACB_PWNOEXP set never receive a warning */
|
||||
if (info->acct_flags & WBC_ACB_PWNOEXP) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -182,8 +182,6 @@ do { \
|
||||
};\
|
||||
};
|
||||
|
||||
#define ACB_PWNOEXP 0x00000200
|
||||
|
||||
/* from netlogon.idl */
|
||||
#define NETLOGON_CACHED_ACCOUNT 0x00000004
|
||||
#define NETLOGON_GRACE_LOGON 0x01000000
|
||||
|
Loading…
Reference in New Issue
Block a user