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/[email protected]/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
> [email protected]
> http://linux.kernel.org/mailman/listinfo/autofs


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to