[Samba] Re: Samba + AD etc.

sysrm sysrm at stvincent.ac.uk
Fri May 13 08:55:40 GMT 2005

Hi carlos

Yes finger works, I was just showing that until I did the net ads user it
wouldn't show the test account I had created.

Nope, not using SUSE, smb.conf pasted below...

        netbios name = DEV1
        socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind enum users = yes
        winbind gid = 10000-20000
        workgroup = DEV-DOMAIN
        log file = /var/log/samba/samba.log
        os level = 20
        ldap idmap suffix = ou=auth1,dc=dev-domain,dc=stvincent,dc=ac,dc=uk
        winbind enum groups = yes
#        socket address = <- Change this to match the IP address or
remove it to listen to all addresses.
        password server = auth1.DEV-DOMAIN.STVINCENT.AC.UK
        preferred master = no
        winbind separator = +
        max log size = 500 <- In K
        encrypt passwords = yes
        dns proxy = no
        security = ADS
#        wins server =
        wins proxy = no

# Shares section
        comment = testshare
        writeable = yes
        path = /home/testshare

        comment = Personal Storage Area
        browseable = no
        guest ok = no
        writable = yes
        create mode = 0750
        path = /home/DEV-DOMAIN/%U
        vfs object = recycle:repository=.recycle



-----Original Message-----
From: Carlos Rodrigues [mailto:carlos.efr at mail.telepac.pt] 
Sent: 12 May 2005 17:37
To: sysrm
Cc: samba at lists.samba.org
Subject: Re: [Samba] Re: Samba + AD etc.

sysrm wrote:

>Hi carlos,
>Tried doing the smbclient bit and got back
>[root at dev1 bin]# ./smbclient -Utest //
>Domain=[DEV-DOMAIN] OS=[Unix] Server=[Samba 3.0.14a] tree connect 
>(NB no mp3's in there, just had to think of a test dir to set up... :P)
>Test deffo exists on the AD so...
>[root at dev1 bin]# wbinfo -u
>Then do net ads user

Ok, looks like you're using winbind.

Have you changed /etc/nsswitch.conf? If you did, then does a "finger test"

If "getent passwd" shows the AD users, then finger should also work, but try
it anyway.

Also, could you post your smb.conf? It would help.

BTW, are you using SUSE?

More information about the samba mailing list