[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...
[global]
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 = 1.2.3.4 <- 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
realm = DEV-DOMAIN.STVINCENT.AC.UK
security = ADS
# wins server = 1.2.3.4
wins proxy = no
# Shares section
[testshare]
comment = testshare
writeable = yes
path = /home/testshare
[homes]
comment = Personal Storage Area
browseable = no
guest ok = no
writable = yes
create mode = 0750
path = /home/DEV-DOMAIN/%U
vfs object = recycle:repository=.recycle
recycle:versions=True
recycle:touch=True
recycle:keeptree=True
recycle:exclude=*.tmp|*.temp|*.o|*.obj|~$*|t*.1|t*.2|t*.3|t*.4|t*.5|t*.6|t$
recycle:exclude_dir=/tmp|/temp
recycle:noversions=*.doc|*.xls|*.ppt
Cheers
Ross
-----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 //172.16.2.253/mp3
>Password:
>Domain=[DEV-DOMAIN] OS=[Unix] Server=[Samba 3.0.14a] tree connect
>failed: NT_STATUS_NO_SUCH_USER
>
>(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
>DEV-DOMAIN+administrator
>DEV-DOMAIN+guest
>DEV-DOMAIN+auth1$
>DEV-DOMAIN+krbtgt
>DEV-DOMAIN+dev1$
>
>!
>
>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"
work?
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