s4: homes share not working

steve steve at steve-ss.com
Tue Jun 26 11:57:22 MDT 2012


On 06/26/2012 07:49 PM, Marc Muehlfeld wrote:
> Am 26.06.2012 17:17, schrieb Helmut Hullen:
>>>> Perhaps the "path = /home" entry is wrong. My "smb.conf" has no
>>>> "path" line for the user's home directory.
>
>
> I could make it work without a "path" entry, if I add the 
> unixHomeDirectory attribute by hand to LDAP pointing to /home/... for 
> an user and configuring nss to get the information from LDAP.
>
To get the correct mapping with nslcd / nss-ldapd we had to add 
objectClass posixAccount to the dn of the user, also for AD, you have to 
map:

map passwd homeDirectory unixHomeDirectory
in nslcd.conf
HTH
Steve



More information about the samba-technical mailing list