Samba 3.0.21rc1 Available for Download

Ken Stone ken at sdd.hp.com
Mon Nov 14 05:57:39 GMT 2005


> 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.
    cc: "nsswitch/winbind_nss_solaris.c", line 417: error 1588: "NSS_STR_PARSE_ERANGE" undefined.
    cc: "nsswitch/winbind_nss_solaris.c", line 424: error 1588: "NSS_STR_PARSE_ERANGE" undefined.
    cc: "nsswitch/winbind_nss_solaris.c", line 430: error 1588: "NSS_STR_PARSE_ERANGE" undefined.
    cc: "nsswitch/winbind_nss_solaris.c", line 443: error 1588: "NSS_STR_PARSE_ERANGE" undefined.
    cc: "nsswitch/winbind_nss_solaris.c", line 448: warning 527: Integral value implicitly converted to pointer in assignment.
    cc: "nsswitch/winbind_nss_solaris.c", line 452: error 1588: "NSS_STR_PARSE_ERANGE" undefined.
    cc: "nsswitch/winbind_nss_solaris.c", line 456: error 1588: "NSS_STR_PARSE_SUCCESS" undefined.
    *** Error exit code 1

    Stop.

The issue appears to be with the fact that assumptions are being made
that attempt to use a solaris piece of code .... Up towards the top
of nsswitch/winbind_nss_solaris.c is

    #if defined(HAVE_NSS_COMMON_H) || defined(HPUX)

And in my case, HAVE_NSS_COMMON_H is not defined in config.h and of course
HPUX is ....

In config.h, I see 

    /* Define to 1 if you have the <nsswitch.h> header file. */
    #define HAVE_NSSWITCH_H 1

    /* Define to 1 if you have the <nss_common.h> header file. */
    /* #undef HAVE_NSS_COMMON_H */

Which matches what I see 

    [ROOT @ z] (260)-> cd /usr/include
    [ROOT @ z] (261)-> find . -name \*nss\*
    ./nss_netdir.h
    ./nsswitch.h
    [ROOT @ z] (262)->

I'm not even sure what nss_common.h is used for but its not here ....

Thanks

  -- Ken


More information about the samba-technical mailing list