Hi folks - I have our auto.master configuration stored in LDAP as an "nisMap", with "nisObjects" beneath it describing our various mount points. I'm trying to get the --ghost option to work from this LDAP-based auto.master, but am not having any luck (the mounts DO work without the --ghost option).

This is on a SuSE 10.1-based system, running autofs 4.1.4 and the 2.6.18 vanilla kernel (with SuSE 10.1 /proc/config.gz)...


For example, one of my working nisObjects under the auto.master:

         cn=/proj
nisMapEntry=ldap:nisMapName=auto.proj,ou=autofs,dc=fake


...would report this line from "Configured Mount Points" after starting autofs (and also as an active mount point):

/usr/sbin/automount /proj ldap "nisMapName=auto.proj,ou=autofs,dc=fake"

...

When I add the --ghost option to my nisMapEntry...

         cn=/proj
nisMapEntry=ldap:nisMapName=auto.proj,ou=autofs,dc=fake --ghost


...I get this back when starting autofs (and the mount point is missing from the "active" mounts list):

/usr/sbin/automount /proj ldap:nisMapName=auto.proj,ou=autofs,dc=fake "--ghost"

The quotes appear to shift over to the "--ghost" option, and the ldap:nisMapName is no longer parsed correctly (ie: split on the ":" separator).

Seems like I'm using invalid syntax when specifying additional automount options via the nisMapEntry field... can anyone shed some light on what I'm doing wrong here?

(I've also tried adding the "--ghost" before the "ldap:nisMapName..." string, without success)

Thanks for any tips out there.

-----------------------------------------------------------
Robert Giles                     Group System Administrator
SPD/ARL:UT              (512) 835-3077 ? Fax (512) 490-4244
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to