All of lore.kernel.org
 help / color / mirror / Atom feed
* mount options can not be parsed in auto.master with ldap map
@ 2008-01-18 16:44 Olivier Blin
  2008-01-19  2:47 ` Ian Kent
  2008-01-21  3:24 ` Ian Kent
  0 siblings, 2 replies; 6+ messages in thread
From: Olivier Blin @ 2008-01-18 16:44 UTC (permalink / raw)
  To: autofs

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

Regards,

-- 
Olivier Blin (blino) - Mandriva

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount options can not be parsed in auto.master with ldap map
  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
  1 sibling, 0 replies; 6+ messages in thread
From: Ian Kent @ 2008-01-19  2:47 UTC (permalink / raw)
  To: Olivier Blin; +Cc: autofs


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

Yep, I've had trouble with satisfying that requirement along the way.
I'll check.

Ian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount options can not be parsed in auto.master with ldap map
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Ian Kent @ 2008-01-21  3:24 UTC (permalink / raw)
  To: Olivier Blin; +Cc: autofs


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

Ian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount options can not be parsed in auto.master with ldap map
  2008-01-21  3:24 ` Ian Kent
@ 2008-01-21  8:50   ` Olivier Blin
  2008-02-12 22:46     ` Orion Poplawski
  0 siblings, 1 reply; 6+ messages in thread
From: Olivier Blin @ 2008-01-21  8:50 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount options can not be parsed in auto.master with ldap map
  2008-01-21  8:50   ` Olivier Blin
@ 2008-02-12 22:46     ` Orion Poplawski
  2008-02-13 12:41       ` Ian Kent
  0 siblings, 1 reply; 6+ messages in thread
From: Orion Poplawski @ 2008-02-12 22:46 UTC (permalink / raw)
  To: autofs

Olivier Blin wrote:
> Ian Kent <raven@themaw.net> writes:
> 
>> On Fri, 2008-01-18 at 17:44 +0100, Olivier Blin wrote:
>>> 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!
> 

Lucky me, I ran into this with Fedora 8 just as I'm testing our 
migration to LDAP.  Will we see an update for F8 soon?


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount options can not be parsed in auto.master with ldap map
  2008-02-12 22:46     ` Orion Poplawski
@ 2008-02-13 12:41       ` Ian Kent
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Kent @ 2008-02-13 12:41 UTC (permalink / raw)
  To: Orion Poplawski; +Cc: autofs


On Tue, 2008-02-12 at 15:46 -0700, Orion Poplawski wrote:
> Olivier Blin wrote:
> > Ian Kent <raven@themaw.net> writes:
> > 
> >> On Fri, 2008-01-18 at 17:44 +0100, Olivier Blin wrote:
> >>> 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!
> > 
> 
> Lucky me, I ran into this with Fedora 8 just as I'm testing our 
> migration to LDAP.  Will we see an update for F8 soon?

Oops, I've been a bit busy, I need to update F8, yes, soon as I can.

Ian

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-13 12:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-02-12 22:46     ` Orion Poplawski
2008-02-13 12:41       ` Ian Kent

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.