Dima Brodsky wrote:
> 
>     mp3   -fstype=smbfs,username=dima,password=""       ://fishies/mp3
> 

[...]

> automount[1176]: lookup(file): looking up mp3
> automount[1176]: lookup(file): mp3 -> -fstype=smbfs,username=dima,password=""       
>://fishies/mp3
> automount[1176]: expanded entry: -fstype=smbfs,username=dima,password=""       
>://fishies/mp3
> automount[1176]: parse(sun): gathered options: fstype=smbfs,username=dima,password=""
> automount[1176]: parse(sun): core of entry: //fishies/mp3
> automount[1176]: do_mount //fishies/mp3 /.autofs/mp3 type smbfs options 
>username=dima,password="" using module generic
> automount[1176]: mount(generic): calling mkdir /.autofs/mp3
> automount[1176]: mount(generic): calling mount -t smbfs -s -o 
>username=dima,password="" //fishies/mp3 /.autofs/mp3
> automount[1176]: -- /bin/mount --
> automount[1176]: -- -t --
> automount[1176]: -- smbfs --
> automount[1176]: -- -s --
> automount[1176]: -- -o --
> automount[1176]: -- username=dima,password="" --
> automount[1176]: -- //fishies/mp3 --
> automount[1176]: -- /.autofs/mp3 --
> automount[1176]: >> session setup failed: ERRDOS - ERRnoaccess (Access denied.)
> automount[1176]: >> SMB connection failed
> automount[1176]: mount(generic): failed to mount //fishies/mp3 (type smbfs) on 
>/.autofs/mp3
> automount[1162]: shutting down, path = /.autofs
> automount[1162]: -- /bin/umount --
> automount[1162]: -- /.autofs --
> 
> The lines that start with -- I added to see the arguments being passed to
> mount.  The strange thing is that
> 
> mount -t smbfs -s -o username=dima,password="" //fishies/mp3 <a director>
> 
 
You realize the former will set your password to "\"\"" (two double
quotes) -- as evidenced by your extra logging output -- and the latter
will set your password to the null string, right?  This is very likely
your problem.  You should have:

mp3   -fstype=smbfs,username=dima,password=       ://fishies/mp3


-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

Reply via email to