Package: smbfs
Version: 3.0.10-1
Severity: normal

Hi, mount.cifs manpage states that the option ip accepts an
IP or a hostname as parameter.
However, when I use a hostname, I get an error:

$ mount -v /mnt/upv/

 parsing options: 
rw,noexec,nosuid,nodev,noauto,user,username=cemariz,domain=ALUMNO,ip=mizar.cc.upv.es,iocharset=iso8859-15
skipping empty user mount parameter
ip address mizar.cc.upv.es override specified
ip address specified explicitly
Password:

mount.cifs kernel mount options 
unc=//mizar\CEMARIZ$,pass=lfdcnp2,ver=1,rw,noexec,nosuid,nodev,noauto,,,,,,username=cemariz,domain=ALUMNO,ip=mizar.cc.upv.es,iocharset=iso8859-15
mount error 22 = Invalid argument
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

If I replace the hostname with the IP in fstab, then I can
mount correctly:

$ mount -v /mnt/upv/

 parsing options: 
rw,noexec,nosuid,nodev,noauto,user,username=cemariz,domain=ALUMNO,ip=158.42.250.40,iocharset=iso8859-15
skipping empty user mount parameter
ip address 158.42.250.40 override specified
ip address specified explicitly
Password:

mount.cifs kernel mount options 
unc=//mizar\CEMARIZ$,pass=lfdcnp2,ver=1,rw,noexec,nosuid,nodev,noauto,,,,,,username=cemariz,domain=ALUMNO,ip=158.42.250.40,iocharset=iso8859-15

So maybe you should change the manpage description or change the actual
behaviour of the command.

Thanks,

  Cesar Martinez Izquierdo

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages smbfs depends on:
ii  libc6                      2.3.2.ds1-20  GNU C Library: Shared libraries an
ii  libcomerr2                 1.36release-1 common error description library
ii  libkrb53                   1.3.6-1       MIT Kerberos runtime libraries
ii  libldap2                   2.1.30-3      OpenLDAP libraries
ii  netbase                    4.20          Basic TCP/IP networking system
ii  samba-common               3.0.10-1      Samba common files used by both th

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to