[Samba] Automating Creation Of Profile Directories For New Users

Timothy Dutton tim.dutton at blueyonder.co.uk
Tue Oct 4 09:35:46 GMT 2005


Hi

This might seem to be a stupid question but here goes anyway.

 

I am running a samba server as a PDC with roaming profiles enabled.  My
profiles are stored on the linux box at /samba/profiles/username.

I tried setting a script to create the profile at the same time as adding
the new user

 

/usr/sbin/useradd -m u%

cd /samba/profiles

mkdir %u

 

When I tried adding the a new user I got the message user not found and
found that the script had created a folder %u in the profiles share.

Any thoughts as to where I might be going wrong here?

 

Is it possible to add the entries to the /etc/skel or do these only apply to
the home directory.

 

Thanks

 

Tim



More information about the samba mailing list