https://bugzilla.novell.com/show_bug.cgi?id=271817
mkoenig@novell.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Comment #2 from mkoenig@novell.com 2007-05-08 07:05 MST -------
The reason why this fails, is because the nisMapEntry values in our internal
LDAP database are non standard. The previous Suse init script (which parsed the
autofs config in previous versions) understood a map definition syntax with
maptype and mapname separated by space. This is non-standard and should have
never been supported anyway. Standard is separation by colon.
So, looking at our LDAP data:
giuliani:/ # ldapsearch -x -b 'nisMapName=auto.master,ou=mounts,dc=suse,dc=de'
cn nisMapEntry
# extended LDIF
#
# LDAPv3
# base with scope subtree
# filter: (objectclass=*)
# requesting: cn nisMapEntry
#
# auto.master, mounts, suse.de
dn: nisMapName=auto.master,ou=mounts,dc=suse,dc=de
# /mounts, auto.master, mounts, suse.de
dn: cn=/mounts,nisMapName=auto.master,ou=mounts,dc=suse,dc=de
cn: /mounts
nisMapEntry: ldap nisMapName=auto.mounts,ou=mounts,dc=suse,dc=de
# /suse, auto.master, mounts, suse.de
dn: cn=/suse,nisMapName=auto.master,ou=mounts,dc=suse,dc=de
cn: /suse
nisMapEntry: ldap nisMapName=auto.suse,ou=mounts,dc=suse,dc=de
A workaround is to not use the ldap auto.master. Make a local ldap auto.master
in a separate file, e.g. /etc/auto.ldap, put the standard compliant definitions
here.
/mounts ldap:nisMapName=auto.mounts,ou=mounts,dc=suse,dc=de
/suse ldap:nisMapName=auto.suse,ou=mounts,dc=suse,dc=de
the shorter form
/mounts ldap:auto.mounts
/suse ldap:auto.suse
should work also
and include this file in the local /etc/auto.master map:
+auto.ldap
I already did this on oldboy and it seems to work.
Of course, this should be fixed in the LDAP database, but this will raise
problems by people who still use the old autofs. I will talk to sysadmin.
I will close this as fixed.
Dirk, if you still see problems just let me know.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.