hi frank

does the linux box mount the share properly when done manually ??

these must work:

  suse-6.2# smbmount //host/folder passwd  -c 'mount /mnt/test' -U Administrator

try one of these in  auto.net:
  -
  - try to change your options and see if helps ( workgroup is optional?? )
  -
  folder -fstype=smb,login=foo,password=bar,workgroup=domain //host/folder
  folder -fstype=smb,login=foo,password=bar,workgroup=domain host:/folder

some additional info here...
        http://www.wittsend.com/mhw/smbmount.html

autofs-HOWTO.html
        http://www.Linux-Consulting.com/Amd_AutoFS/

thanx
alvin

> I want to automount a smbfs on SuSE-Linux 6.2, but any time I try to
> access the intended mount-directory the smbmount fails. This is the
> automount-file auto.net:
> 
> folder     -fstype=smbfs   ://host/folder
> 
> If I change into /net/folder, the system writes the following to
> /var/log/messages:
> 
> do_mount //host/folder /net/folder type smbfs
> mount(smbfs): no password option, adding -n
> mount(smbfs): no password option, adding -n
> mount(smbfs): calling mkdir /net/folder
>  >> /net/folder: option requires an argument -- n
>  >> Usage: smbmount //server/share mountpoint [options ...]
>  >> Version 2.0.5a
>  >> ^I-d debuglevel         set the debuglevel
>  >> ^I-n netbios name.      Use this name as my netbios name
>  >> ^I-N                    don't ask for a password
>  >> ^I-I dest IP            use this IP to connect to
>  >> ^I-E                    write messages to stderr instead of stdout
>  >> ^I-U username           set the network username
>  >> ^I-W workgroup          set the workgroup name
>  >> ^I-t terminal code      terminal i/o code
> {sjis|euc|jis7|jis8|junet|hex}
> mount(smbfs): failed to mount //host/folder on /net/folder
> 
> So autofs seem to send an ivalid option to smbmount. If I try to
> workaround and change my auto.net like
> 
> folder     -fstype=smbfs,passwd="something"   ://host/folder
> 
> The operation fails again:
> 
> (...)
> : mount(smbfs): calling mkdir /net/folder
> : >> /net/mp3: invalid option -- P
> : >> Usage: smbmount //server/share mountpoint [options ...]
> (...)
> 
> So theres a wrong option again. I read an article on this list within
> the same problem. It was suggested to use autofs 3.1.3. But I'm running
> V3.1.3-57 (didn't find any newer version).
> 
> Don't have anymore idea what to do now. Any suggestions?
> 
> 
> Frank Beimfohr
> University of Dortmund, Germany
> 

Reply via email to