Tricky Samba Issue

David Brodbeck DavidB at mail.interclean.com
Fri Dec 14 09:34:05 GMT 2001


I think

template homedir = /home/%U

will solve part of your problem.  (%U is probably different than %u, too.)

-----Original Message-----
From: Geoff Silver [mailto:geoff at uslinux.net]
Sent: Friday, December 14, 2001 12:10 PM
To: samba at samba.org
Subject: Tricky Samba Issue


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"


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