pam_winbind: remove ACB_PWNOEXP.
authorGünther Deschner <gd@samba.org>
Tue, 19 Aug 2008 12:48:23 +0000 (14:48 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 10 Oct 2008 13:42:01 +0000 (15:42 +0200)
Guenther

source3/nsswitch/pam_winbind.c
source3/nsswitch/pam_winbind.h

index f343967b3f9be6c1d92a68e562a19a933be30670..43157b7727f76110afb16ef2f2e5d5bc23eee506 100644 (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;
        }
 
index f05f2d70187bcad374ca0b1cc538fe877d7d84fc..1b1d646643d1b9bad855f1cf85c4d7c41ff377ff 100644 (file)
@@ -182,8 +182,6 @@ do {                             \
        };\
 };
 
-#define ACB_PWNOEXP                    0x00000200
-
 /* from netlogon.idl */
 #define NETLOGON_CACHED_ACCOUNT                0x00000004
 #define NETLOGON_GRACE_LOGON           0x01000000