summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-19 14:48:23 +0200
committerGünther Deschner <gd@samba.org>2008-10-10 15:42:01 +0200
commit4ff415dd15ac13019171b07b0c49784293d41f53 (patch)
treeee9adf08c01310b8f91e8a4ddf1afc40870c33e0
parentdde8046489cde714a42694d2979bfa44dac71cd6 (diff)
downloadsamba-4ff415dd15ac13019171b07b0c49784293d41f53.tar.gz
samba-4ff415dd15ac13019171b07b0c49784293d41f53.tar.bz2
samba-4ff415dd15ac13019171b07b0c49784293d41f53.zip
pam_winbind: remove ACB_PWNOEXP.
Guenther
-rw-r--r--source3/nsswitch/pam_winbind.c4
-rw-r--r--source3/nsswitch/pam_winbind.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c
index f343967b3f..43157b7727 100644
--- a/source3/nsswitch/pam_winbind.c
+++ b/source3/nsswitch/pam_winbind.c
@@ -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;
}
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h
index f05f2d7018..1b1d646643 100644
--- a/source3/nsswitch/pam_winbind.h
+++ b/source3/nsswitch/pam_winbind.h
@@ -182,8 +182,6 @@ do { \
};\
};
-#define ACB_PWNOEXP 0x00000200
-
/* from netlogon.idl */
#define NETLOGON_CACHED_ACCOUNT 0x00000004
#define NETLOGON_GRACE_LOGON 0x01000000