Skip to contentSkip to conversation

autofs and dollar sign in hidden NT volumes

DISCUSSION Xisco Fernández 3 participants 3 messages May 11, 2005 – May 12, 2005 Kernel automounter

lore
Share & tools
lore
#0 lore raw

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$

LOG:

May 11 17:35:26 localhost automount[20971]: >> 20973: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
May 11 17:35:26 localhost automount[20971]: >> SMB connection failed
May 11 17:35:26 localhost automount[20971]: mount(generic): failed to mount //192.168.2.57/SGIL (type smbfs) on /mnt/auto/sgil
May 11 17:35:26 localhost automount[20971]: failed to mount /mnt/auto/sgil

Thanks in advanced.

Signature · 5 lines
Francisco José Fernández Rivera
Departamento de Tecnología (Redes)
Riu Hotels & Resorts
Palma de Mallorca
España
#1 lore raw

==> Regarding [autofs] autofs and dollar sign in hidden NT volumes; Xisco Fernández <[email protected]> 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

maintainer
#2 lore raw
In reply to Xisco Fernández
Quoted 13 lines · 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:

Quoted 7 lines

/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