Bug 187996 - autofs not starting with multi option using ldap maps
Summary: autofs not starting with multi option using ldap maps
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: autofs
Version: 3.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Moyer
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-05 09:10 UTC by hbabaria
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-08-09 14:01:00 UTC


Attachments (Terms of Use)

Description hbabaria 2006-04-05 09:10:59 UTC
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

Comment 1 Jeff Moyer 2006-04-17 22:39:32 UTC
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

Comment 2 Jeff Moyer 2006-08-08 19:22:54 UTC
Were you able to try this?

Comment 3 hbabaria 2006-08-09 13:02:04 UTC
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


Note You need to log in before you can comment on or make changes to this bug.