diff options
author | Günther Deschner <gd@samba.org> | 2008-09-23 23:41:39 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-23 23:42:08 +0200 |
commit | 0bbbe2c21fdcbdc492b78b84897f85eb60ec5b00 (patch) | |
tree | 62c6aa322e09370089ce89aed73bdb625b2aa265 /source3 | |
parent | 022947097fb6bb84ff32e279bc65d73ac5c8eb8f (diff) | |
download | samba-0bbbe2c21fdcbdc492b78b84897f85eb60ec5b00.tar.gz samba-0bbbe2c21fdcbdc492b78b84897f85eb60ec5b00.tar.bz2 samba-0bbbe2c21fdcbdc492b78b84897f85eb60ec5b00.zip |
pam_winbind: attempt to fix build issue on solaris, bug #5784
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/pam_winbind.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index c28c5d2697..beb0d47baa 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -71,14 +71,22 @@ static const char *_pam_error_code_str(int err) return "PAM_ABORT"; case PAM_AUTHTOK_EXPIRED: return "PAM_AUTHTOK_EXPIRED"; +#ifdef PAM_MODULE_UNKNOWN case PAM_MODULE_UNKNOWN: return "PAM_MODULE_UNKNOWN"; +#endif +#ifdef PAM_BAD_ITEM case PAM_BAD_ITEM: return "PAM_BAD_ITEM"; +#endif +#ifdef PAM_CONV_AGAIN case PAM_CONV_AGAIN: return "PAM_CONV_AGAIN"; +#endif +#ifdef PAM_INCOMPLETE case PAM_INCOMPLETE: return "PAM_INCOMPLETE"; +#endif default: return NULL; } |