Tricky Samba Issue

Anthony J. Breeds-Taurima tony at cantech.net.au
Sun Dec 16 19:23:02 GMT 2001


On Fri, 14 Dec 2001, Geoff Silver wrote:

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


I've heard that people have success with the PAM mkhome module.  Perhaps you
should look at that.

I've just had a quick look on google and I don't seem to be able to find it.
I heard about it on this mailing list so pehaps the archives will help.


Yours Tony.

/*
 * "The significant problems we face cannot be solved at the 
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */





More information about the samba mailing list