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

Thomas, Daniel J. Daniel.Thomas at jhuapl.edu
Fri Feb 15 12:52:03 GMT 2002


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          
======================================================================




More information about the samba-technical mailing list