Tricky Samba Issue

Geoff Silver geoff at uslinux.net
Fri Dec 14 10:39:04 GMT 2001


> template homedir = /home/%U
>
> will solve part of your problem.  (%U is probably different than %u, too.)

Yeah, %u is domain+user which %U is user.  The template homedir seems to
make Samba use /home/<username> as the default home directory (I actually
had it specified before) - which is good, but it still doesn't *create*
the home directory for me if the home directory doesn't yet exist.  I even
specified:
	root preexec = mkdir -p /home/%U
in the [homes] section, but no luck.

Is there a way to automatically create the home directory (setting the
proper permissions would be helpful, too, if necessary)?


-- 
Geoff Silver					<geoff at uslinux dot net>
"If Bill Gates had a nickel for every time Windows crashed...
	Oh wait, he does"





More information about the samba mailing list