[Samba] Samba Team? - "ld.so.1: ls: fatal: relocation error: file /usr/lib/nss_winbind.so.1: symbol socket: referenced symbol not fou n d"

Esh, Andrew AEsh at tricord.com
Fri Feb 15 13:20:34 GMT 2002


You can test if winbind is able to resolve user IDs internally with "wbinfo
-u". This uses the samba tool "wbinfo" to connect directly to the running
winbind daemon and list all the Windows domain users. If that fails, then
you have problems with the winbind daemon itself. The authentication between
winbind and the PDC can be tested with "wbinfo -t", which is usually the
next thing which should be checked in this situation.

If wbinfo succeeds, then you can test the NSS connection to the winbind
daemon with "getent passwd". This lists all the Unix users, as well as the
Windows users being translated by winbind. The Windows users can be
identified by the prepending of the domain name in front of their user name.
If that fails, then there is a problem with libnss_winbindd.so,
/etc/nsswitch.conf, or symlinks from the lib directory to wherever the
library is stored. Also remember to run ldconfig (does Solaris have an
equivalent?) to get the library into the cache. Test this with "ldconfig -p
| grep winbind".

It sounds as though you have NSS configured right. I can't tell if the nss
library is installed right. I can't tell if winbind is running right, or if
it authenticated wit the PDC. The above tests will answer those questions.

Hope this helps.

-----Original Message-----
From: Thomas, Daniel J. [mailto:Daniel.Thomas at jhuapl.edu]
Sent: Friday, February 15, 2002 2:46 PM
To: 'Herb Lewis'; Thomas, Daniel J.
Cc: Samba (E-mail); 'samba-technical at lists.samba.org'
Subject: RE: [Samba] Samba Team? - "ld.so.1: ls: fatal: relocation
error: file /usr/lib/nss_winbind.so.1: symbol socket: referenced symbol
not foun d" 


I've recompiled samba 2.2.3a and still any time I do a ls -l in a directory
where there are files from a PC I get the error :

ld.so.1: ls: fatal: relocation error: file /usr/lib/nss_winbind.so.1: symbol
socket: referenced symbol not found

If I shut off winbind or take winbind out for my /etc/nsswitch.conf file, I
can get a directory listing and it lists the users ID that winbind assigned
to the user that created the file.

When I compiled samba using the April 2001 GNU C compiler (from the April
2001 Solaris distribution CD set), everything compiled correctly except a
warning from a file called "clistr.c".  Is this something to do with the way
ls integrates with winbind, or does this file even matter?  

A regular ls on the directory has no problems.  I get the same error though
when I try and change the group ownership using chgrp.  Everything else
seems to be functioning just fine, although I had to change the Unix
directory I was sharing to owner/group/world writeable.  I thought the
directories samba wanted to share were supposed to be owned by root?

I assume that what is happening is when I do an ls -l, UNIX tries to query
the various password lists in the order listed in nsswitch.conf.  Since
there is no listing with winbind off, the system just displays the user ID
as if the user who created the file had been deleted.  I think UNIX is
having trouble reading the user/group information from winbind.

-Dan



-----Original Message-----
From: Herb Lewis [mailto:herb at sgi.com]
Sent: Friday, February 15, 2002 1:06 PM
To: Thomas, Daniel J.
Cc: Samba (E-mail)
Subject: Re: [Samba] "ld.so.1: ls: fatal: relocation error: file
/usr/lib/nss_winbind.so.1: symbol socket: referenced symbol not found" -
Samba Team?


"Thomas, Daniel J." wrote:
This works fine for me but I don't run solaris. It looks like your
nss_winbind.so did not build correctly and is missing a function

> 
> Hey,
> I'm getting this error when ever I've written a file from my Win2k Pro
> machine to my samba share.  Using Samba 2.2.3.  Built on Solaris 8.  Using
> winbindd.  I created the sym links as suggested under /lib (really
> /usr/lib):  nss_winbind.so.1 -> libnss_winbind.so    nss_winbind.so.2 ->
> libnss_winbind.so
> 
> Are there some other sim links I need somewhere or is this error something
> from the code?
> Again, the error is like this:
> 
> adams{root}5: ls -l
> total 2
> ld.so.1: ls: fatal: relocation error: file /usr/lib/nss_winbind.so.1:
symbol
> socket: referenced symbol not found
> Killed
> 
> -Dan

-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-technical mailing list