|
|
Subject: Re: autofs and dollar sign in hidden NT volumes - msg#00019
On Wed, 11 May 2005, [ISO-8859-1] Xisco Fernández wrote:
> Hello list,
>
> I'm having some sort of problem w/ automount. I'm trying to automount
> hidden windows volumes (volume$), but the dollar sign isn't being
> recognized by autofs.
>
> I am able to mount that share manually with mount.smbfs.
> I am able to mount other non hidden shares with automount.
>
> It's not a credentials problem:
>
> auto.master:
>
> /mnt/auto /etc/auto.sgil --timeout=2
>
> auto.sgil:
>
> cdrom -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
> sgil -fstype=smbfs,username=ruben,password=tosidad,codepage=cp850
> ://192.168.2.57/SGIL$
Have you tried escaping the $?
It has special meaning to autofs.
Ian
Thread at a glance:
Previous Message by Date:
Re: autofs and dollar sign in hidden NT volumes
==> Regarding [autofs] autofs and dollar sign in hidden NT volumes; Xisco
Fernández <fjfernandez@xxxxxxx> adds:
fjfernandez> Hello list, I'm having some sort of problem w/ automount. I'm
fjfernandez> trying to automount hidden windows volumes (volume$), but the
fjfernandez> dollar sign isn't being recognized by autofs.
fjfernandez> I am able to mount that share manually with mount.smbfs. I am
fjfernandez> able to mount other non hidden shares with automount.
fjfernandez> It's not a credentials problem:
fjfernandez> auto.master:
fjfernandez> /mnt/auto /etc/auto.sgil --timeout=2
fjfernandez> auto.sgil:
fjfernandez> cdrom -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom sgil
fjfernandez> -fstype=smbfs,username=ruben,password=tosidad,codepage=cp850
fjfernandez> ://192.168.2.57/SGIL$
Please take a look at the "Filing bug reports" section of this page:
http://people.redhat.com/jmoyer
Please provide the requested information, as it will help us to debug your
problem more easily.
Thanks,
Jeff
Next Message by Date:
Re: New autofs in sid, please push to testing
On Thu, May 12, 2005 at 09:41:52PM -0700, Steve Langasek wrote:
>> I've uploaded autofs 4.1.3+4.1.4beta2-8 to sid, which fixes (to the best of
>> my knowledge -- I can't reproduce the problems myself) two important bugs,
>> and contains no other changes. vorlon promised me a freeze exception for the
>> upload, so letting it through to sarge would be nice :-) Thanks.
> Hmm, memory leak:
>
> [...]
>
> ++int is_local_mount(const char *hostpath)
> ++{
>
> [...]
>
> Memory is allocated for hostname on every call, and never freed.
I've fixed this in 4.1.3+4.1.4beta2-10 (just uploaded); it's a simple fix
(free(hostname) added three or four places -- it's being used in printf()s
etc. in various code branches, so I can't just free it once).
> The get_best_mount function worries me, as it's writing to a caller-provided
> pointer (char *what) with no bounds checking. This appears to be the
> intended *use* of the pointer, so this isn't a blocking issue, it's just
> something that ought to be cleaned up at some point (including making sure
> there's no exploitable buffer overflow here when using things like LDAP or
> Hesiod maps).
Cc-ing the autofs list :-)
/* Steinar */
--
Homepage: http://www.sesse.net/
Previous Message by Thread:
Re: autofs and dollar sign in hidden NT volumes
==> Regarding [autofs] autofs and dollar sign in hidden NT volumes; Xisco
Fernández <fjfernandez@xxxxxxx> adds:
fjfernandez> Hello list, I'm having some sort of problem w/ automount. I'm
fjfernandez> trying to automount hidden windows volumes (volume$), but the
fjfernandez> dollar sign isn't being recognized by autofs.
fjfernandez> I am able to mount that share manually with mount.smbfs. I am
fjfernandez> able to mount other non hidden shares with automount.
fjfernandez> It's not a credentials problem:
fjfernandez> auto.master:
fjfernandez> /mnt/auto /etc/auto.sgil --timeout=2
fjfernandez> auto.sgil:
fjfernandez> cdrom -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom sgil
fjfernandez> -fstype=smbfs,username=ruben,password=tosidad,codepage=cp850
fjfernandez> ://192.168.2.57/SGIL$
Please take a look at the "Filing bug reports" section of this page:
http://people.redhat.com/jmoyer
Please provide the requested information, as it will help us to debug your
problem more easily.
Thanks,
Jeff
Next Message by Thread:
Re: New autofs in sid, please push to testing
On Thu, May 12, 2005 at 09:41:52PM -0700, Steve Langasek wrote:
>> I've uploaded autofs 4.1.3+4.1.4beta2-8 to sid, which fixes (to the best of
>> my knowledge -- I can't reproduce the problems myself) two important bugs,
>> and contains no other changes. vorlon promised me a freeze exception for the
>> upload, so letting it through to sarge would be nice :-) Thanks.
> Hmm, memory leak:
>
> [...]
>
> ++int is_local_mount(const char *hostpath)
> ++{
>
> [...]
>
> Memory is allocated for hostname on every call, and never freed.
I've fixed this in 4.1.3+4.1.4beta2-10 (just uploaded); it's a simple fix
(free(hostname) added three or four places -- it's being used in printf()s
etc. in various code branches, so I can't just free it once).
> The get_best_mount function worries me, as it's writing to a caller-provided
> pointer (char *what) with no bounds checking. This appears to be the
> intended *use* of the pointer, so this isn't a blocking issue, it's just
> something that ought to be cleaned up at some point (including making sure
> there's no exploitable buffer overflow here when using things like LDAP or
> Hesiod maps).
Cc-ing the autofs list :-)
/* Steinar */
--
Homepage: http://www.sesse.net/
|
|