From: Brian Kosick Subject: Re: autofs options and LDAP Date: Wed, 14 Jan 2009 12:49:13 -0700 Message-ID: <1231962553.3316.9.camel@localhost.localdomain> References: <1231894833.3319.59.camel@localhost.localdomain> <1231898104.3168.14.camel@zeus.themaw.net> <1231899729.3319.63.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1231899729.3319.63.camel@localhost.localdomain> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: "autofs@linux.kernel.org" Hi All, Sorry for the top post but I wanted to put the solution first... It turns out that I need to lay off the crack pipe a little bit. As soon as I added --ghost to the correct place everything started working fine. This was a little frustrating as everything that I found on the Net seemed to indicate that the --ghost option goes in the wrong place. Example: I WAS trying combinations of this, which doesn't work. dn: cn=internal,ou=auto.software,dc=corp,dc=example,dc=com cn: internal objectClass: automount automountInformation: -soft,intr,nodev,tcp,ro nfs.example.com:/var/qa --ghost It works just fine when you add it here: dn: cn=/software,ou=auto.master,dc=corp,dc=example,dc=com objectClass: automount cn: /software automountInformation: ldap:qapxe.qa.mxlogic.com:ou=auto.software,dc=corp,dc=example,dc=com --ghost I apologize for wasting everyones time, Brian On Tue, 2009-01-13 at 19:22 -0700, Brian Kosick wrote: > On Tue, 2009-01-13 at 18:55 -0700, Ian Kent wrote: > > On Tue, 2009-01-13 at 18:00 -0700, Brian Kosick wrote: > > > Hi All, > > > > > > I'm trying to add the autofs option --ghost to a 2307bis? autofs.ldif > > > schema file. It seems to have come up at least once back in 2006, but > > > after a workaround was suggested and accepted by the original reporter, > > > I don't think that anything has ever come of it. > > > > > > http://www.mail-archive.com/autofs@linux.kernel.org/msg05449.html > > > > > > https://www.redhat.com/archives/fedora-directory-users/2009-January/msg00035.html > > > > > > In short I've got it working great except that I want one autofs map to > > > use --ghost and one to not use ghost, so the adding ghost to > > > the /etc/sysconfig/autofs options won't work for me. > > > > > > Can anyone provide information as to the state of this? I would > > > appreciate any help greatly. > > > > What autofs version? > > > > Ian > > > Errm Sorry about that... I'm using autofs 5 on a RHEL5.2 server. > autofs-5.0.1-0.rc2.88 > kernel-2.6.18-92.el5 > > Though I would like to use this on rhel4, rhel3 and fedora servers using > autofs v4. > > Thanks, > Brian > > > _______________________________________________ > autofs mailing list > autofs@linux.kernel.org > http://linux.kernel.org/mailman/listinfo/autofs