Help a newbie with winbindd. Do I need add user script parameter in this case?
Mihail Daskalov
mdaskalo at tlogica.com
Tue Jan 22 12:06:13 GMT 2002
Hi all,
I downloaded the SAMBA_2_2 source from CVS,
configured it with --with_winbind , compiled it, installed it and I try to integrate it into my Linux system.
It is SuSE 7.2 - I get rid of the samba that comes with it.
I modified the files
/usr/local/samba/lib/smb.conf
/etc/rc.d/smb - startup file for smbd, nmbd, winbindd
There is some confusion in my head about the way all this should work.
I joined the domain with the 'smbpasswd -j' command and it said OK.
I am able to get the list of users, groups on the DOMAIN with the wbinfo .
I can't integrate it with the nsswitch.conf things.
Here is the contents of my nsswitch.conf
passwd: compat winbind
group: compat winbind
hosts: files dns
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
publickey: files
bootparams: files
automount: files
aliases: files
I expected when I do
./wbinfo -n TL-HQ+mdaskalo
and then
./wbinfo -S S-1-5-21-797381781-1399745242-37170099-1031
'this gives me result
10050
then I tried
chown 10050 somefile
then
'ls -la somefile'
gave me
drwxr-xrwx 2 10050 users 131 Jan 22 21:54 somefile
I expected to see 'TL-HQ+mdaskalo' instead of 10050.
What could I have done wrong?
Should I set the add_user_script parameter in smb.conf - is it needed when using winbindd?
Thanks in advance?
More information about the samba
mailing list