diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-10-15 08:32:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:28 -0500 |
commit | 7d2aa0d3f1aa11492ce0b415769870e8690dc1f9 (patch) | |
tree | 0fbd3be1dfe7c55487b38a3bb0e0b2daac782167 /source3/nsswitch/winbind_nss.h | |
parent | 2e46e9189ab7d04b98033dcf2c8a11a2831937d9 (diff) | |
download | samba-7d2aa0d3f1aa11492ce0b415769870e8690dc1f9.tar.gz samba-7d2aa0d3f1aa11492ce0b415769870e8690dc1f9.tar.xz samba-7d2aa0d3f1aa11492ce0b415769870e8690dc1f9.zip |
r19287: As requested by Bjoern Jacke <bjoern@j3e.de>: Check in the NetBSD winbind module by Luke
Mewburn.
Volker
(This used to be commit 104f5e9ec9aea71950308b8b73479f06bf3c66a2)
Diffstat (limited to 'source3/nsswitch/winbind_nss.h')
-rw-r--r-- | source3/nsswitch/winbind_nss.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/nsswitch/winbind_nss.h b/source3/nsswitch/winbind_nss.h index 5416ae211e3..3bef6ca5954 100644 --- a/source3/nsswitch/winbind_nss.h +++ b/source3/nsswitch/winbind_nss.h @@ -56,7 +56,15 @@ typedef enum nss_status NSS_STATUS; #include "nsswitch/winbind_nss_hpux.h" -#else /* Nothing's defined. Neither gnu nor sun nor hp */ +#elif defined(__NetBSD__) && defined(HAVE_GETPWENT_R) + +/* + * NetBSD 3 and newer + */ + +#include "nsswitch/winbind_nss_netbsd.h" + +#else /* Nothing's defined. Neither gnu nor netbsd nor sun nor hp */ typedef enum { |