Bug 4729 - mount.cifs doesn't handle the ip option correctly when using a hostname
Summary: mount.cifs doesn't handle the ip option correctly when using a hostname
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Docs (show other bugs)
Version: 3.0.25a
Hardware: Other Linux
: P3 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba Documentation QA Contact~
URL: http://bugs.debian.org/296057
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 12:55 UTC by Debian samba package maintainers (PUBLIC MAILING LIST)
Modified: 2008-01-03 07:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Debian samba package maintainers (PUBLIC MAILING LIST) 2007-06-22 12:55:24 UTC
Hello,

(sorry I'm not sure if this report should go to the cifsvfs bugzilla "product")

the mount.cifs says:

       ip=arg
          sets the destination host or IP address.

but if you use this option with a hostname you get the following error:

# mount -t cifs -o ip=127.0.0.1,username=noel //tralllallallaa/test /mnt/samba/
Password:
# df
...
//tralllallallaa/test
                       5382836   5326232     56604  99% /mnt/samba
# umount /mnt/samba/
# mount -t cifs -o ip=localhost,username=noel //tralllallallaa/test /mnt/samba/
Password:
mount error 22 = Invalid argument
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

thx.

noel@d.o
Comment 1 Karolin Seeger 2008-01-03 07:54:25 UTC
Fixed with revision 1220.
Thanks for reporting!