On Fri, 2007-07-20 at 13:36 -0500, Jim Summers wrote:
> Hello All,
> 
> I have been attempting to get autofs5 to work with my ldap config.  The way I 
> am set up is:
> 
> FC6 / FC7 clients and redhat servers.
> auto.home info for each user is stored in ldap
> auto.master is stored locally on each client
> 
> The mounts do not happen.  Here is what I see when starting autofs:
> ======
> Jul 20 13:22:53 lch automount[3427]: Starting automounter version 5.0.1-11, 
> master map auto.master
> Jul 20 13:22:53 lch automount[3427]: using kernel protocol version 5.00
> Jul 20 13:22:53 lch automount[3427]: master_error: syntax error while parsing 
> map.
> Jul 20 13:22:53 lch automount[3427]: mounted indirect mount on /misc with 
> timeout 300, freq 75 seconds
> Jul 20 13:22:53 lch automount[3427]: mounted indirect mount on /net with 
> timeout 300, freq 75 seconds

Does this patch fix the problem?
Ian

---
diff --git a/lib/master_tok.l b/lib/master_tok.l
index 9bfeefa..ff69a24 100644
--- a/lib/master_tok.l
+++ b/lib/master_tok.l
@@ -272,7 +272,7 @@ OPTTOUT             
(-t{OPTWS}|-t{OPTWS}={OPTWS}|--timeout{OPTWS}|--timeout{OPTWS}={OPTWS})
                return DNSERVER;
        }
 
-       {DNATTRSTR} {
+       {DNATTRSTR}/"=" {
                strcpy(master_lval.strtype, master_text);
                return DNATTR;
        }


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

Reply via email to