On Fri, 2007-06-08 at 19:21 -0400, [EMAIL PROTECTED] wrote:
> Greetings:
> 
> My NIS auto.net has an entry that looks similar to:
> 
>    my_dir -fstype=fuse,reconnect,allow_other,uid=6000,gid=6000,umask=0002
> [EMAIL PROTECTED]:/my_dir
> 
> It works fine with CentOS 4 x86, x86_64 and ia64 distributions using autofs4. 
> I
> installed CentOS 5 x86_64
> which uses autofs5 and this NIS mount failed.
> 
> Note: In order to allow NIS to properly provide the auto.net entry, I needed 
> to
> make a minor change to
>       the /var/yp/Makefile to allow '#' in the NIS database.
> 
> The 'automount -v -d' reports in /var/messages something like:
> 
>    Jun  8 19:02:23 c1 automount[27076]: attempting to mount entry /net/my_dir
>    Jun  8 19:02:24 c1 automount[27076]: parse_mount: parse(sun): invalid 
> location
>    Jun  8 19:02:24 c1 automount[27076]: failed to mount /net/my_dir
> 
> 
> Does autofs-5.0.1/modules/parse_sun.c 'validate_location' function need to 
> allow
> the '#' to
> get this working again? If it's something simple like this, would it be 
> possible
> to add to
> the next release?

The location validation is fairly strict in what it thinks should be a
host name. I'll have a look.

Ian

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

Reply via email to