Originally posted by: SystemAdmin
For complete help debugging this problem, you may need to work with support line, but let me give you some steps that a friend of mine used.
1. Creat auto_master mappings in LDAP by adding an LDIF entry onto the LDAP server
----
auto_master.ldif
dn: automountMapName=auto_master,dc=... (base dn here)
objectClass: automountMap
objectClass: top
automountMapName: auto_master
dn: automountKey=/home,automountMapName=auto_master,dc=(base )
objectClass: automount
objectClass: top
automountKey: /home
automountInformation: auto_home -rw
-
ldapadd -h (ldapserver) - D "cn=(admin)" -w password -f /tmp/auto_master.ldif
adding new entry .... (should display) you will need to have your ldapservername, admin dn and admin pwd in that line
-
Note the AIX 5.3 client also supporsts nisMap objectclass, but you may need to be at ML3 for this to work right, I don't know for sure
2. Create an auto_home entry in LDAP. The automountMAP attribute contains the key (user id) and the automoutnInformation shows where the user's home directory is located.
Be sure the replasec the (base) with the basedn for your server. For example dc=example,dc=com.
-
/tmp/auto_home.ldif example file ----
dn: automountMapName=auto_home,dc=(base)
objectClass: automountMap
objectClass: top
automountMapName: auto_home
dn: automountKey=user1,automountMapName=auto_home,dc=(base)
objectClass: automount
objectClass: top
automountKey: user1
ldapadd the auto_home.ldif file
Note: AIX 5.3 client also supports nisobject objectclass as well as the automount objectclass
The automounter expects either automount or nisobject objectclass, but not both. Be consistent. I haven't given the nismapname ldifs here
3. Update /etc/irs.conf
automount nis_ldap
The file you posted should work.
4. Start the automount daemon
/uisr/sbin/automount
-
Now you should be able to login as user1 and have thd directory mounted.
-
Again at this depth of problem determination, you are probably best off to use support line as I don't have a test system setup anymore to confirm this, but it did work to a Sun ONE directory server and the openLDAP should make no difference if you have the correct AIX fixes applied.