Samba 3.0.21rc1 Available for Download
Gerald (Jerry) Carter
jerry at samba.org
Tue Nov 22 20:45:53 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ken Stone wrote:
|> This is a release candidate of the 3.0.21 code base and is
|> provided for testing purposes only. While close to the final
|> stable release, this snapshot is *not* intended for production
|> servers.
|
| On HP-UX 11i (11.11), I get ...
|
| Compiling nsswitch/winbind_nss_solaris.c with +z
| cc: "nsswitch/winbind_nss_solaris.c", line 404: error 1588:
"NSS_STR_PARSE_ERANGE" undefined.
Ken,
I've just restricted the wins lookups to SUNOS5.
I can't find any docs on the HP-UX nss api so I was
lazy. Try this patch and let me know how it goes.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDg4OBIR7qMdg1EfYRArDhAKCW/nXnNtvJ0zfjgj9Wbi6kCPIWUwCcDhyU
obAT15/W+xgJVThFgxQDsec=
=agJV
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: nsswitch/winbind_nss_solaris.c
===================================================================
--- nsswitch/winbind_nss_solaris.c (revision 11850)
+++ nsswitch/winbind_nss_solaris.c (working copy)
@@ -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-technical
mailing list