>From [EMAIL PROTECTED]  Fri Feb  2 03:22:50 2001
>Return-Path: <[EMAIL PROTECTED]>
Received: from hera.kernel.org (IDENT:[EMAIL PROTECTED] [209.10.217.83])
        by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id DAA22484
        for <[EMAIL PROTECTED]>; Fri, 2 Feb 2001 03:22:48 +0900
Received: (from majordom@localhost)
        by hera.kernel.org (8.9.3/8.9.3) id JAA30469
        for autofs-list; Thu, 1 Feb 2001 09:40:15 -0800
Received: from ipk.ipk.fhg.de (ipk.ipk.fhg.de [153.96.56.2])
        by hera.kernel.org (8.9.3/8.9.3) with ESMTP id JAA30460
        for <[EMAIL PROTECTED]>; Thu, 1 Feb 2001 09:40:10 -0800
Received: from kiwi.ipk.fhg.de (kiwi.ipk.fhg.de [192.102.176.105])
        by ipk.ipk.fhg.de (8.9.3/8.9.3) with ESMTP id SAA05179
        for <[EMAIL PROTECTED]>; Thu, 1 Feb 2001 18:39:56 +0100 (MET)
Received: from kuerbis.ipk.fhg.de (kuerbis.ipk.fhg.de [192.102.176.17]) by 
kiwi.ipk.fhg.de (980427.SGI.8.8.8/8.6.4) with ESMTP id SAA51922 for 
<[EMAIL PROTECTED]>; Thu, 1 Feb 2001 18:39:56 +0100 (MEZ)
Received: by kuerbis.ipk.fhg.de (980427.SGI.8.8.8) id SAA58318; Thu, 1 Feb 2001 
18:39:49 +0100 (MEZ)
Date: Thu, 1 Feb 2001 18:39:49 +0100
From: Stefan Sassenberg <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Cant protect dollar sign in map file from being interpreted
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mutt 1.0i
Sender: [EMAIL PROTECTED]
Precedence: bulk
Status: O
Content-Length: 1262
Lines: 33

Hello,

my automount map file contains the line

goofy   -fstype=smbfs,noauto,user,rw,uid=500,gid=100,username=ssass,password=pingpong  
  ://goofy/ssass$

and can't be mounted. The issues written to /var/log/messages are

Feb  1 18:19:29 modsys35 automount[2680]: lookup(file): goofy -> 
-fstype=smbfs,noauto,user,rw,uid=500,gid=100,username=ssass,password=berlioz^I://goofy/ssass$
Feb  1 18:19:29 modsys35 automount[2680]: parse(sun): expanded entry: 
-fstype=smbfs,noauto,user,rw,uid=500,gid=100,username=ssass,password=berlioz^I://goofy/ssass

which makes me think that the sharename (//goofy/ssass) is cropped and
the dollar sign is ignored.

When I try to escape the dollar sign using

goofy   -fstype=smbfs,noauto,user,rw,uid=500,gid=100,username=ssass,password=berlioz   
 ://goofy/ssass\$

I get in /var/log/messages

Feb  1 18:35:14 modsys35 automount[2819]: lookup(file): goofy -> 
-fstype=smbfs,noauto,user,rw,uid=500,gid=100,username=ssass,password=berlioz^I://goofy/ssass\$
Feb  1 18:35:14 modsys35 automount[2819]: parse(sun): expanded entry: 
-fstype=smbfs,noauto,user,rw,uid=500,gid=100,username=ssass,password=berlioz^I://goofy/ssass\


Is this a bug?

I'm using kernel 2.2.16 on a Pentium III with SuSE 7.0

Can you please help me?

Regards

Stefan

Reply via email to