1
0
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:
Günther Deschner 2008-08-19 14:48:23 +02:00
parent dde8046489
commit 4ff415dd15
2 changed files with 2 additions and 4 deletions

View File

@ -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;
}

View File

@ -182,8 +182,6 @@ do { \
};\
};
#define ACB_PWNOEXP 0x00000200
/* from netlogon.idl */
#define NETLOGON_CACHED_ACCOUNT 0x00000004
#define NETLOGON_GRACE_LOGON 0x01000000