Blame SOURCES/autofs-5.1.0-beta1-fix-ldap-default-master-map-name-config.patch

304803
autofs-5.1.0-beta1 - fix ldap default master map name config
304803
304803
From: Ian Kent <ikent@redhat.com>
304803
304803
If there is no master map name defined in the autofs configuration the
304803
lookup will try to find a map with the default name and if the map isn't
304803
found will substute dots with underscores and repeat the lookup.
304803
304803
So don't set the default master map name at defaults initialization time.
304803
---
304803
 CHANGELOG      |    1 +
304803
 lib/defaults.c |    5 -----
304803
 2 files changed, 1 insertion(+), 5 deletions(-)
304803
304803
--- autofs-5.0.7.orig/CHANGELOG
304803
+++ autofs-5.0.7/CHANGELOG
304803
@@ -112,6 +112,7 @@
304803
 - fix wildcard key lookup.
304803
 - fix out of order amd timestamp lookup.
304803
 - fix ldap default schema config.
304803
+- fix ldap default master map name config.
304803
 
304803
 25/07/2012 autofs-5.0.7
304803
 =======================
304803
--- autofs-5.0.7.orig/lib/defaults.c
304803
+++ autofs-5.0.7/lib/defaults.c
304803
@@ -266,11 +266,6 @@ static int conf_load_autofs_defaults(voi
304803
 	const char *sec = autofs_gbl_sec;
304803
 	int ret;
304803
 
304803
-	ret = conf_update(sec, NAME_MASTER_MAP,
304803
-			  DEFAULT_MASTER_MAP_NAME, CONF_ENV);
304803
-	if (ret == CFG_FAIL)
304803
-		goto error;
304803
-
304803
 	ret = conf_update(sec, NAME_TIMEOUT,
304803
 			  DEFAULT_TIMEOUT, CONF_ENV);
304803
 	if (ret == CFG_FAIL)