[Samba] ls -l name lookup not working with winbind Samba 3.14a

Graeme Hindmarsh GH at Thamescredit.co.uk
Mon May 23 11:41:58 GMT 2005


Hi,

 

I would be grateful for any help with this.

We are running Samba 3.0.14a with winbind, libiconv and acl support.

We are running a Veritas cluster between two Solaris 8 servers.

The Samba share is mounted on an external disk which is hosted by either
server.

The problem is that our Samba share while visible and accessible from the
command prompt cannot be listed with a name lookup ls -l.

 

The nsswitch.conf has the following entries

 

passwd:     files winbind

group:      files winbind

 

Samba itself is working with the exception of this local lookup and clients
are able to access and work with the share.

 

The global section of smb.conf is as below

 

# Global parameters

[global]

        workgroup = domain

        netbios name = *******

        server string = *********

        interfaces = 192.168.50.221

        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

        bind interfaces only = Yes

        security = DOMAIN

        encrypt passwords = Yes

        password server = PDC,BDC

        log file = /usr/local/samba/var/log.%m

        max log size = 50

        local master = No

        domain master = No

        dns proxy = No

        wins server = 192.168.50.50

        winbind uid = 10000-20000

        winbind gid = 10000-20000

        winbind use default domain = Yes

 

An ls -ln on the share directory brings back the following with the majority
of the directories having a gid of 10000.

 

drwxrwxrwx+  5 10065    10000       1024 May 19  2004 adm2

drwxrwxrwx+ 10 10005    10000       1024 Nov  4  2004 afd

drwxrwxrwx+  2 10229    10000        512 Apr  7 10:12 call card

drwxrwxrwx+  6 0        1           1536 Apr 18  2004 Apps

drwxrwxrwx+  3 10107    10000        512 Jun 28  2003 Clients

drwxrwxrwx+ 21 0        1           1024 May 19  2004 Test

 

 

Any help greatly appreciated.

 

Graeme

 



More information about the samba mailing list