winbind on Solaris

Richard Begg Richard.Begg at colesmyer.com.au
Mon Feb 18 16:06:01 GMT 2002


There appears to be a slight library dependancy problem with the winbind nss
modules on Solaris.  Not all nss client programs explicitly link the socket
library, so subsequently fail with loader errors when using winbind.
Examples of this are chmod, chown etc...

Adding the socket library etc to the libnss_winbind.so link appears to do
the trick thus...

*** Makefile.in.orig	Tue Feb 19 10:52:33 2002
--- Makefile.in	Tue Feb 19 10:52:49 2002
***************
*** 723,729 ****
  
  nsswitch/libnss_winbind.so: $(WINBIND_NSS_PICOBJS)
  	@echo "Linking $@"
! 	@$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_NSS_PICOBJS)
  
  nsswitch/pam_winbind.so: $(PAM_WINBIND_OBJ) bin/.dummy
  	@echo Linking $@
--- 723,729 ----
  
  nsswitch/libnss_winbind.so: $(WINBIND_NSS_PICOBJS)
  	@echo "Linking $@"
! 	@$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_NSS_PICOBJS) $(LIBS)
  
  nsswitch/pam_winbind.so: $(PAM_WINBIND_OBJ) bin/.dummy
  	@echo Linking $@


Richard Begg
Unix Production Manager
ITS Open Systems Group
Coles Myer Limited
Phone : 03-9483-7398
Mobile : 0438 536 785
Fax : 03-9483-7381
E-mail : Richard.Begg at colesmyer.com.au

-------------- next part --------------
This email and any attachments may contain privileged and
confidential information and are intended for the named
addressee only.  If you have received this e-mail in error, 
please notify the sender and delete this e-mail immediately. 
Any confidentiality, privilege or copyright is not waived or 
lost because this e-mail has been sent to you in error.  It 
is your responsibility to check this e-mail and any 
attachments for viruses.


More information about the samba-technical mailing list