summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-02 00:09:31 +0000
committerTim Potter <tpot@samba.org>2003-09-02 00:09:31 +0000
commitea7b4b6c320d2c5aaaa9d67ba6794bb566cb5c56 (patch)
tree8ada9954bdce647316195bed336ca761a72cc1a3 /source3/nsswitch
parent9b276fc77fc30638263be4593967da72f6f93c75 (diff)
downloadsamba-ea7b4b6c320d2c5aaaa9d67ba6794bb566cb5c56.tar.gz
samba-ea7b4b6c320d2c5aaaa9d67ba6794bb566cb5c56.tar.bz2
samba-ea7b4b6c320d2c5aaaa9d67ba6794bb566cb5c56.zip
Fix for bug 261. Create a configure #define for FreeBSD and a check in
nsswitch/pam_winbind.h so we can compile properly on this platform. (This used to be commit 75411005fcab7ecf31940c5f7b87fd407166f98a)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/pam_winbind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h
index fae635d806..865bf7513e 100644
--- a/source3/nsswitch/pam_winbind.h
+++ b/source3/nsswitch/pam_winbind.h
@@ -25,7 +25,7 @@
#define PAM_SM_ACCOUNT
#define PAM_SM_PASSWORD
-#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX)
+#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX) || defined(FREEBSD)
/* Solaris always uses dynamic pam modules */
#define PAM_EXTERN extern