From 4ff415dd15ac13019171b07b0c49784293d41f53 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 19 Aug 2008 14:48:23 +0200 Subject: pam_winbind: remove ACB_PWNOEXP. Guenther --- source3/nsswitch/pam_winbind.c | 4 ++-- source3/nsswitch/pam_winbind.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'source3/nsswitch') 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 -- cgit