summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-23 23:41:39 +0200
committerGünther Deschner <gd@samba.org>2008-09-23 23:42:08 +0200
commit0bbbe2c21fdcbdc492b78b84897f85eb60ec5b00 (patch)
tree62c6aa322e09370089ce89aed73bdb625b2aa265 /source3/nsswitch
parent022947097fb6bb84ff32e279bc65d73ac5c8eb8f (diff)
downloadsamba-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/nsswitch')
-rw-r--r--source3/nsswitch/pam_winbind.c8
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;
}