[Samba] Home dirs problem
Daniel Northam
dnortham at ffpglobal.com
Tue Sep 12 23:31:28 GMT 2006
Path = /truepath/profile
You use the /path/%U when using a script to setup the user account in
ldap.
Then you need to look at the
[Profile]
Area to have the client connect to the samba share.
> -----Original Message-----
> From: samba-bounces+dnortham=ffpglobal.com at lists.samba.org
[mailto:samba-
> bounces+dnortham=ffpglobal.com at lists.samba.org] On Behalf Of Logan
Shaw
> Sent: Tuesday, September 12, 2006 4:06 PM
> To: samba at lists.samba.org
> Subject: Re: [Samba] Home dirs problem
>
> On Tue, 12 Sep 2006, Marian Neagul wrote:
> > I have a question about mapping users home directory's to
samba.
> > The homedir layout is based on an old one used on NIS+ system.
The
> > structure is something like:
> > /users
> > /group1
> > /user1
> > /user2
> > ...
> > /group2
> > /user3
> > ...
> > /group3
> > /group3_1
> > /user4
> > ...
> > /group3_2
> > ...
> > /group4
> > /user5
> >
> > How can I configure samba to use this home directory's? The
user
> > data is stored in LDAP (including the home directory and other
> > information not related to samba: qmail-ldap, courier, etc) ?
> > The only option I've found is something similar to:
> >
> > path = /home/%U
> >
> > Can samba retrieve the home directory from LDAP?
>
> Do you mean that if you do "finger user" or "getent passwd user"
> that the directory you want shows up in that output? If so,
> just delete the "path" statement from the "[homes]" section.
> Samba will use the user's home directory by default.
>
> Note, however, that you didn't really make a distinction between
> the Unix system using the data stored in LDAP as its password
> database (through some mechanism like nsswitch) and the home
> directory data just being in LDAP. I believe that if the Unix
> system isn't using the LDAP data and passing it through to calls
> like getpwent(), then Samba won't use the LDAP data either.
>
> - Logan
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list