The Samba-Bugzilla – Bug 3470
Small mistake in manual page mount.cifs (password->pass)
Last modified: 2006-01-31 09:52:40 UTC
mount.cifs version: 1.9-SUSE
autor of manual page mount.cifs(8): Steve French
In the manual page for mount.cifs the option for password is described as
"password=arg", but it should be "pass=arg".
Either form pass or password should work.
I retained the longer form "password" for those users who were familiar with smbfs, but allowed it to be shortened (shortest legal form is four characters long "pass") to ease typing (Linux users often prefer concise options that save typing once they understand).
I don't know which (the short form "pass" or the long form "password") is better to document - but had assumed that "password" was easier to remember. Do you see a precedent in other man pages for how they deal with aliased options, options for which a short and a long form are accepted? Presumably I could just note the short form of the longer option name in the description text for each.
Note that the current form of the man page is mirrored to the samba docs page:
Ok, you are right. I tested it out and it's as you said.
It was that I had problems (no access rights to the mount point) and at a certain point I noticed that the online help of mount.cifs told to use pass and the man page password. When you are investigating a problem you grab at every slight inconsistency you stumble on.
You might append the short form the next line under the long form:
I discovered finally the problem I had. I used a credential file with the content
user = myname
password = secret
This credential file worked together with smbfs for a long time till December 2005 (??). I noticed yesterday (January 30) that all my smbfs-shares were mounted, but invisible and unusable.
So I began to investigate, discovered the existence of cifs and implemented it.
Now it works.
Thaks a lot!