Description of problem: We want to migrate the auto.master file from NIS to use ldap based maps. /etc/auto.master /home multi file /etc/auto.home -- yp auto.home-test rw,intr,nosuid, rsize=16384,wsize=16384,tcp,nfsvers=3,timeo=600 Is the multi option supported with ldap based map ? If yes please provide the exact systax to use . Version-Release number of selected component (if applicable): autofs-4.1.3-154 This entry works fine. /home ldap:nisMapName=auto.home-test,dc=test,dc=com rw,intr,nosuid, rsize=16384,wsize=16384,tcp,nfsvers=3,timeo=600 With this entry in /etc/auto.master autofs fails to start. /home multi file /etc/auto.home ldap:nisMapName=auto.home-test,dc=test,dc=com rw,intr,nosuid,rsize=16384,wsize=16384,tcp,nfsvers=3,timeo=600
You need to separate each map name in a multi-map entry by a "--". Try: /home multi file /etc/auto.home -- ldap:nisMapName=auto.home-test,dc=test,dc=com rw,intr,nosuid,rsize=16384,wsize=16384,tcp,nfsvers=3,timeo=600
Were you able to try this?
This worked for me. /home multi file /etc/auto.home rw,intr,nosuid,rsize=16384,wsize=16384,tcp,nfsvers=3,timeo=600 -- ldap nisMapName=auto.home-test,dc=test,dc=com rw,intr,nosuid,rsize=16384,wsize=16384,tcp,nfsvers=3,timeo=600 Thanks