All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olivier Blin <blino@mandriva.com>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: mount options can not be parsed in auto.master with ldap map
Date: Mon, 21 Jan 2008 09:50:33 +0100	[thread overview]
Message-ID: <m3odbfpnom.fsf@dynamo.mandriva.com> (raw)
In-Reply-To: <1200885843.10357.40.camel@raven.themaw.net> (Ian Kent's message of "Mon\, 21 Jan 2008 12\:24\:03 +0900")

Ian Kent <raven@themaw.net> writes:

> On Fri, 2008-01-18 at 17:44 +0100, Olivier Blin wrote:
>> Hello,
>> 
>> Since the "LDAP base dns with spaces" patch series has been applied,
>> automount can't parse anymore the mount options in auto.master.
>> It looks like it includes the mount options after the space when
>> parsing the base dn.
>> 
>> Here is my auto.master file:
>> $ grep -v "^#" /chroot/cooker/etc/autofs/auto.master
>> /home   ldap:ou=auto.home,ou=Mounts,dc=mandriva,dc=com rw,nosuid,nodev,soft,intr,relatime
>> 
>> It fails this way:
>> # automount -d -f
>> Starting automounter version 5.0.3, master map auto.master
>> using kernel protocol version 5.00
>> lookup_nss_read_master: reading master files auto.master
>> parse_init: parse(sun): init gathered global options: (null)
>> lookup_read_master: lookup(file): read entry /home
>> syntax error in map near [ nosuid ]
>> no mounts in table
>
> Please give this patch a try
> http://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-5.0.3-basedn-with-spaces-fix-3.patch

It works great, thanks a lot!

-- 
Olivier Blin (blino) - Mandriva

  reply	other threads:[~2008-01-21  8:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 16:44 mount options can not be parsed in auto.master with ldap map Olivier Blin
2008-01-19  2:47 ` Ian Kent
2008-01-21  3:24 ` Ian Kent
2008-01-21  8:50   ` Olivier Blin [this message]
2008-02-12 22:46     ` Orion Poplawski
2008-02-13 12:41       ` Ian Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3odbfpnom.fsf@dynamo.mandriva.com \
    --to=blino@mandriva.com \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.