[Samba] Compiling pam_winbind on Solaris 8

Gerald (Jerry) Carter jerry at samba.org
Tue Apr 1 16:45:09 GMT 2003

Hash: SHA1

On Thu, 20 Mar 2003, Chris Hanrahan wrote:

> Greetings,
> I am trying to compile pam_winbind.so under Solaris 8.  I have the
> source for samba 2.2.8 on the server.  When I issue a make
> nsswitch/pam_winbind.so, I receive many compiler warnings, such as:
> Compiling nsswitch/pam_winbind.c with -fPIC
> nsswitch/pam_winbind.c: In function `converse':
> nsswitch/pam_winbind.c:72: warning: passing arg 3 of `pam_get_item' from incompa
> tible pointer type
> nsswitch/pam_winbind.c:75: warning: passing arg 2 of pointer to function from in
> compatible pointer type
> nsswitch/pam_winbind.c: In function `_make_remark':
> nsswitch/pam_winbind.c:90: warning: assignment discards qualifiers from pointer
> target type
> nsswitch/pam_winbind.c: In function `_winbind_read_password':
> nsswitch/pam_winbind.c:265: warning: passing arg 3 of `pam_get_item' from incomp
> atible pointer type
> nsswitch/pam_winbind.c:298: warning: assignment discards qualifiers from pointer
>  target type
> Am I missing a package that is necessary under Solaris ?  The
> pam_winbind.so is created anyway, but I am not sure that it will work
> correctly due to the warnings that I received.  Has anyone encountered
> and solved this problem ?

You should be able to ignore these warning.  As far as I know, 
pam_winbind.so does work correctly on Solaris.  If you discover 
differently, let me know and we'll straighten it out.

cheers, jerry
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/


More information about the samba mailing list