Tricky Samba Issue

Geoff Silver geoff at uslinux.net
Fri Dec 14 09:12:05 GMT 2001


Hello.  I've been a Samba user for quite a while, but I've had a bit of
trouble getting the newer winbind stuff to work as I require, and was
hoping someone might be able to help.  I'm not subscribed to the list, so
if you would CC me or e-mail me privately, that would be greatly
appreciated.

Right now I'm using winbind to fit into our NT domain.  I'd *like* to have
the system automatically create home directories whenever a user connects,
but the default [homes] connection tries to connect to share <domain+user>
instead of <user>, which doesn't exist.  Specifically, it gives me the
error "couldn't find service mydomain+mylogin" in my log.smbd file.

I though about using preexec to 'mkdir -p /home/%u', but that doesn't seem
to work (perhaps it doesn't get to the preexec part because the directory
doesn't exist?)  Strangest part is that I create a /home/domain+user
directory, but it still gives the same error in the logs.  Am I missing
something?  Is there a better way to do this?  Thanks!


-- 
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