Hi Everyone,
I am in the process of implementing ldap + autofs in solaris 8 environment. I am facing one problem & need some help or some sort of direction....
Automount maps are stored in LDAP. Right now automount is working perfectly for all our users in one site with one NFS server.
Now what I want to do is...
Site A has NFS Server A
Site B has NFS Server B
Site C has NFS Server C
Home directory of user on site A should be mounted from NFS Server A.
Home directory of user on site B should be mounted from NFS Server B.
Home directory of user on site C should be mounted from NFS Server C.
Automount maps created in my LDAP directory are as follows:
dn: ou=automount,dc=example,dc=com
ou: automount
objectClass: top
objectClass: organizationalUnit
dn: nisMapName=auto.master,dc=example,dc=com
objectClass: top
objectClass: nisMap
nisMapName: auto.master
dn: cn=/home,nisMapName=auto.master,dc=example,dc=com
objectClass: top
objectClass: nisObject
cn: /home
nisMapEntry: ldap:nisMapName=auto.home,dc=example,dc=com
nisMapName: auto.master
dn: nisMapName=auto.home,dc=example,dc=com
objectClass: top
objectClass: nisMap
nisMapName: auto.home
dn: cn=/,nisMapName=auto.home,dc=example,dc=com
objectClass: top
objectClass: nisObject
cn: /
nisMapEntry: nfs_server:/home/&
nisMapName:auto.home
dn: automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto_master
ou: auto_master
dn: automountkey=/home,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /home
cn: /home
automountInformation: auto_home -nobrowse
dn: automountKey=/-,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /-
cn: /-
automountInformation: auto_direct
dn: automountMapName=auto_home,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto_home
ou: auto_home
dn: automountKey=*,automountMapName=auto_home,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: *
cn: *
automountInformation: nfs_server:/home/&
dn: automountMapName=auto_direct,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto_direct
ou: auto_direct
dn: automountKey=/home2,automountMapName=auto_direct,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /home2
cn: /home2
automountInformation: nfs_server2:/home
I appreciate any sort of help on this.
Please let me know in case more information is required.
Thanks,
LA
I am in the process of implementing ldap + autofs in solaris 8 environment. I am facing one problem & need some help or some sort of direction....
Automount maps are stored in LDAP. Right now automount is working perfectly for all our users in one site with one NFS server.
Now what I want to do is...
Site A has NFS Server A
Site B has NFS Server B
Site C has NFS Server C
Home directory of user on site A should be mounted from NFS Server A.
Home directory of user on site B should be mounted from NFS Server B.
Home directory of user on site C should be mounted from NFS Server C.
Automount maps created in my LDAP directory are as follows:
dn: ou=automount,dc=example,dc=com
ou: automount
objectClass: top
objectClass: organizationalUnit
dn: nisMapName=auto.master,dc=example,dc=com
objectClass: top
objectClass: nisMap
nisMapName: auto.master
dn: cn=/home,nisMapName=auto.master,dc=example,dc=com
objectClass: top
objectClass: nisObject
cn: /home
nisMapEntry: ldap:nisMapName=auto.home,dc=example,dc=com
nisMapName: auto.master
dn: nisMapName=auto.home,dc=example,dc=com
objectClass: top
objectClass: nisMap
nisMapName: auto.home
dn: cn=/,nisMapName=auto.home,dc=example,dc=com
objectClass: top
objectClass: nisObject
cn: /
nisMapEntry: nfs_server:/home/&
nisMapName:auto.home
dn: automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto_master
ou: auto_master
dn: automountkey=/home,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /home
cn: /home
automountInformation: auto_home -nobrowse
dn: automountKey=/-,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /-
cn: /-
automountInformation: auto_direct
dn: automountMapName=auto_home,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto_home
ou: auto_home
dn: automountKey=*,automountMapName=auto_home,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: *
cn: *
automountInformation: nfs_server:/home/&
dn: automountMapName=auto_direct,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto_direct
ou: auto_direct
dn: automountKey=/home2,automountMapName=auto_direct,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /home2
cn: /home2
automountInformation: nfs_server2:/home
I appreciate any sort of help on this.
Please let me know in case more information is required.
Thanks,
LA