Help a newbie with winbindd. How to automate home directory creating for users? Do I need add user script parameter in this case?
Mihail Daskalov
mdaskalo at tlogica.com
Wed Jan 23 00:59:44 GMT 2002
Hi again,
all works normally after rebooting. I didn't know I need to reboot.
10x for your help.
I have some other questions:
Is there some way to automate the creation of home directories for the users in the domain?
Is creating a home directory sufficient?
How can I allow NT users to change priviledges for the files which are on the samba server?
many thanks in advance to all,
Mihail Daskalov
----------
From: MCCALL,DON (HP-USA,ex1)[SMTP:don_mccall at hp.com]
Sent: 22 ?ioa?e 2002 a. 23:00
To: 'Mihail Daskalov'; 'samba at lists.samba.org'
Subject: RE: Help a newbie with winbindd. Do I need add user script parame ter in this case?
Hello Mihail,
I don't know about SuSE - but along with having winbind listed in your
nsswitch.conf file, you also need to copy the
.../source/nsswitch/libnss_winbind.so over to the appropriate library
directory; for instance on hpux it is /usr/lib/libnss_winbind.1
If you do a find /usr |grep libnss, you should be able to figure out which
directory to copy it into, as well as the name format that SuSE uses...
Hope this helps,
Don
-----Original Message-----
From: Mihail Daskalov [mailto:mdaskalo at tlogica.com]
Sent: Tuesday, January 22, 2002 2:45 PM
To: 'samba at lists.samba.org'
Subject: Help a newbie with winbindd. Do I need add user script
parameter in this case?
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?
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list