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

2003-11-24 Thread Philip Jackson
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.


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-11-24 Thread Philip Jackson
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.

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba