Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Automount Home Directories from LDAP

User501878Dec 25 2012 — edited Dec 27 2012
I have a Red Hat Linux LDAP/kerberos Server (IPA Server) that i beside authentication also use as a NFS Server sharing users Home Directories.

All information for Solaris machine is provided from a custom DUAProfile in LDAP.

Relevant autofs information in DUAProfile:

serviceSearchDescriptor: automount:cn=default,cn=automount,dc=example,dc=org
serviceSearchDescriptor:auto_master:automountMapName=auto.master,cn=default,cn=automount,dc=example,dc=org

All users on the network have their home directories under /home

I have a auto.home map on the server with key:

* -rw,soft ipaserver.example.org:/home/&

This setup works perfect for our Linux clients but not for Solaris.

In Solaris, autofs seems to look for local users home directories too in the LDAP tree and thus making them unavailable when logging in.
Even though +auto_home is after the local usermappings.

t4 LOOKUP REQUEST: Tue Dec 25 22:08:36 2012
t4 name=localuser[] map=auto.home opts= path=/home direct=0
t4 LOOKUP REPLY : status=2

Removing autofs entries in DUAProfile and specifying every user directly in /etc/auto_home works with a delay in mount.
This is however a less than satisfactory solution.

I thought about just removing local user mounts to /home from /export/home but that does not seem to be a good idea.
How could i make this work the way i want with wildcards?

Regards,
Johan.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2013
Added on Dec 25 2012
2 comments
3,014 views