Hi, i'm testing a new openldap server, and i have everything set, i can add users, groups, and log on in differents machines with the same user. Everything works fine. but i have a problem, i have to create the home directory for each new user on each new machine that I log on. is there a way that this process can be automatic?. Ideas?
Hi
On Mon, Sep 20, 2010 at 11:25 PM, Alejandro Rodriguez Luna < el_alexluna@yahoo.com.mx> wrote:
Hi, i'm testing a new openldap server, and i have everything set, i can add users, groups, and log on in differents machines with the same user. Everything works fine. but i have a problem, i have to create the home directory for each new user on each new machine that I log on. is there a way that this process can be automatic?. Ideas?
I googled for 'openldap automatically create home directories'
and found http://www.rjsystems.nl/en/2100-openldap-client.php
HTH
Regardfs,
Serge Fonville
Convince Google!! They need to support Adsense over SSL https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528 http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&am...
On 20-9-2010 23:25, Alejandro Rodriguez Luna wrote:
Hi, i'm testing a new openldap server, and i have everything set, i can add users, groups, and log on in differents machines with the same user. Everything works fine. but i have a problem, i have to create the home directory for each new user on each new machine that I log on. is there a way that this process can be automatic?. Ideas?
pam_mkhomedir.so
http://www.boosten.org/creating-my-own-ldap-directory-part-3/
Peter
On Tue, Sep 21, 2010 at 11:21:27AM +0200, Peter Boosten wrote:
pam_mkhomedir.so
That does not cover the case where the home is on a NFS server. I have a hack that hooks to a shell backend to detect user additions and create homes. There is a LDAP replica on the NFS server, with something like this in slapd.conf database shell suffix "cn=log" rootdn "cn=root,dc=log" add "/usr/local/bin/ldapexec" "add"
ldapexec scans the logs and create homes. Unfortunately, the thing does not work reliably enough to get published, but it works enough so that I do not feel the need to rewrite it.
openldap-technical@openldap.org