for those users, you could put sambaHomePath: \\server\homedir in their
openldap info.
Wes Modes wrote:
I have the [homes] section set up in my smb.conf so that
\\server.name\user connects to the user's home directory. Since I am
using OpenLDAP as a backend via smbldap-tools, for most users the home
directory comes from the homeDirectory variable in OpenLDAP.
However, when I have a user who also has a login on the samba machine,
that is, an entry in /etc/passwd, Samba seems to ignore the value of
homeDirectory and use the entry in /etc/passwd instead.
Here is the section from smb.conf
[homes]
comment = %u's Personal Share Directory
browseable = no
valid users = %S @admin
write list = %S @admin
create mask = 0600
directory mask = 0700
I even tried adding the line
path = /data/home/%S
to the [homes] section, but it seems to be ignored.
Any suggestions how I can make Samba prefer the value in HomeDirectory
over /etc/passwd?
Wes
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba