svn commit: samba r11867 - branches/SAMBA_3_0/source/nsswitch
trunk/source/nsswitch
jerry at samba.org
jerry at samba.org
Tue Nov 22 20:48:56 GMT 2005
Author: jerry
Date: 2005-11-22 20:48:56 +0000 (Tue, 22 Nov 2005)
New Revision: 11867
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11867
Log:
attempt at fixing the compile issue with nss_winbind.so on HP-UX caused by Solaris specific return codes
Modified:
branches/SAMBA_3_0/source/nsswitch/winbind_nss_solaris.c
trunk/source/nsswitch/winbind_nss_solaris.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbind_nss_solaris.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbind_nss_solaris.c 2005-11-22 20:26:25 UTC (rev 11866)
+++ branches/SAMBA_3_0/source/nsswitch/winbind_nss_solaris.c 2005-11-22 20:48:56 UTC (rev 11867)
@@ -340,6 +340,7 @@
/*****************************************************************
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 @@
sizeof (host_ops) / sizeof (host_ops[0])));
}
-#endif /* SUN_NSS */
+#endif /* defined(SUNOS5) */
+#endif /* defined(HAVE_NSS_COMMON_H) || defined(HPUX) */
Modified: trunk/source/nsswitch/winbind_nss_solaris.c
===================================================================
--- trunk/source/nsswitch/winbind_nss_solaris.c 2005-11-22 20:26:25 UTC (rev 11866)
+++ trunk/source/nsswitch/winbind_nss_solaris.c 2005-11-22 20:48:56 UTC (rev 11867)
@@ -340,6 +340,7 @@
/*****************************************************************
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 @@
sizeof (host_ops) / sizeof (host_ops[0])));
}
-#endif /* SUN_NSS */
+#endif /* defined(SUNOS5) */
+#endif /* defined(HAVE_NSS_COMMON_H) || defined(HPUX) */
More information about the samba-cvs
mailing list