Operating System - HP-UX
1753964 Members
7416 Online
108811 Solutions
New Discussion

automounts and ldap not working

 
Jo Davis
Advisor

automounts and ldap not working

I am trying to put my automounts into ldap for easier management. I currently have all users authenticating useing ldap.
I added the following entries to the profile:
servicesearchdescriptor: auto_master: automountMapName=auto_master,ou=automounts,o=xxxxx.xx.xx?one
servicesearchdescriptor: a
servicesearchdescriptor: auto_home:automountMapName=auto_home,ou=automounts,o=xxxxx.xx.xx?one
servicesearchdescriptor: auto_src:automountMapName=auto_src,ou=automounts,o=xxxxx.xx.xx?one

objectclassmap: automount: automount=nisObject
objectclassmap: automount: automountMap=nisMap

attributemap: automountInformation=nisMapEntry
attributemap: automount: automountKey=cn
attributemap: automount: automountMapName=nisMapName

I have the following automounts in ldap
dn: automountKey=/src, automountMapName=auto_master,ou=automounts,o=xxxxx.xx.xx
objectClass: automount
objectClass: top
automountKey: /src
automountInformation: auto_src

dn: automountKey=/home, automountMapName=auto_master,ou=automounts,o=xxxxx.xx.xx
objectClass: automount
objectClass: top
automountKey: /home
automountInformation:: YXV0b19ob21lIA==
etc.

I have updated the nsswitch.conf file to have the following:
automount: ldap

I have stopped and started the nfs.client
but when I tried to access the automount, i.e.
cd /src/stats, it doesn't find it.

Am I missing something?