[Samba] Samba 3 Automount Home directory using Solaris/LDAP

Philip Jackson Philip.Jackson at sunderland.ac.uk
Mon Nov 24 16:17:58 GMT 2003


Giovanni,

Thanks for the information. I think I have got it working. I also had to 
enable NIS Homedir to Yes (Even though the protocol is LDAP). I am not 
sure if this made a difference as I had changed a few other parameters 
as well. So far so good though.

Thanks,
Philip.
School Of Computing And Technology
University Of Sunderland.


Giovanni Romanenghi wrote:

> Philip Jackson wrote:
>
>> Dear All,
>>
>> I am trying to automount a home directory on a Samba server. The 
>> Samba server is set to USER security and it does currently 
>> authenticate to an LDAP server (iPlanet DS 5.1). However, once logged 
>> in I would like to see an entry pointing to the users home directory 
>> which is done automatically using data from the LDAP directory. There 
>> are nearly 20,000 users in the directory so setting up one share for 
>> each is not practical.
>>
>> Thanks,
>> Philip.
>> School Of Computing And Technology
>> University Of Sunderland.
>>
>>
>>
> You can add this entry in your smb.conf
> [share]
> path = /home/%G%U
> %U is the user
> %G is the GRUOP
>
> When the user is logging samba mount the correct share for each users.
>




More information about the samba mailing list