diff options
author | Gerald Carter <jerry@samba.org> | 2005-11-22 20:48:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:33 -0500 |
commit | baba6d0395689600b81b7d6346b1519ac76c9c56 (patch) | |
tree | 4e81acf99ad38b49a736ecf346dfdb4cfbedcb37 | |
parent | a509c20eb69b57ba6fca49260b8a9b86b2fc5ced (diff) | |
download | samba-baba6d0395689600b81b7d6346b1519ac76c9c56.tar.gz samba-baba6d0395689600b81b7d6346b1519ac76c9c56.tar.bz2 samba-baba6d0395689600b81b7d6346b1519ac76c9c56.zip |
r11867: attempt at fixing the compile issue with nss_winbind.so on HP-UX caused by Solaris specific return codes
(This used to be commit b823bcbc919d7e4b482c63cbe5b7f99e0bddd5f6)
-rw-r--r-- | source3/nsswitch/winbind_nss_solaris.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nsswitch/winbind_nss_solaris.c b/source3/nsswitch/winbind_nss_solaris.c index 64b8b734f1..8076c043e0 100644 --- a/source3/nsswitch/winbind_nss_solaris.c +++ b/source3/nsswitch/winbind_nss_solaris.c @@ -340,6 +340,7 @@ _nss_winbind_group_constr (const char* db_name, /***************************************************************** hosts and ipnodes backend *****************************************************************/ +#if defined(SUNOS5) /* not compatible with HP-UX */ /* this parser is shared between get*byname and get*byaddr, as key type in request is stored in different locations, I had to provide the @@ -627,4 +628,5 @@ _nss_winbind_hosts_constr(dummy1, dummy2, dummy3) sizeof (host_ops) / sizeof (host_ops[0]))); } -#endif /* SUN_NSS */ +#endif /* defined(SUNOS5) */ +#endif /* defined(HAVE_NSS_COMMON_H) || defined(HPUX) */ |