[Samba] Logon Script

Christoph Scheeder christoph.scheeder at scheeder.de
Sun Dec 12 12:28:17 GMT 2004


Norman Zhang schrieb:
> Hi,
> 
> Is [netlogon] only applicable for Samba Domain Controllers? I like to 
> create use root preexec script to create home folders for first time 
> users. I'm currently running ADS mode, and using KiXtart logon script. 
> Would this work?
> 
> Regards,
> Norman Zhang
> 
Hi,
Creating homedirs for firsttime users is much better achived using the 
pam_mkhomdir.so pam module. This way the homedir gets created the first 
time the user authenticates by the pam system.
You don't need to script this process, which can be tricky...
Christoph


More information about the samba mailing list