<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Jeff Layton wrote:
<blockquote cite="mid:20091023081622.59218902@tlielax.poochiereds.net"
 type="cite">
  <pre wrap="">On Thu, 22 Oct 2009 12:49:05 -0400
Scott Lovenberg <a class="moz-txt-link-rfc2396E" href="mailto:scott.lovenberg@gmail.com">&lt;scott.lovenberg@gmail.com&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Not sure if this is the correct place to file this report, if not, please point me in the correct direction.

The credentials option for mount.smbfs used to be the following format:
    user=name
    password=pass

I've found that the format supported for mount.cifs is:
    username=name
    password=pass

This seems at odds with the manual page for mount.cifs under the user=arg option:
    [...]
           Note
           The cifs vfs accepts the parameter user=, or for users familiar with smbfs it
           accepts the longer form of the parameter username=. Similarly the longer smbfs
           style parameter names may be accepted as synonyms for the shorter cifs
           parameters pass=,dom= and cred=.
    [...]

I had, for whatever reason, assumed that the user option rules would apply to the credentials file or that it would be backwards compatible with the older mount.smbfs credentials file format.  Are either of these assumptions correct?  If not, would it make sense to add or reword the manual page a bit (assuming I'm not the only one that misinterpreted it) for clarity?  I wouldn't mind drafting up a proposal if other felt it was worth the effort.


Happy Version Numbers:
from The Fine Manual page for mount.cifs(8)
        VERSION
           This man page is correct for version 1.52 of the cifs vfs filesystem (roughly Linux kernel 2.6.24).
[1005 12:24 sun ~]#smbd -V
Version 3.0.33-3.7.el5
[1007 12:26 sun ~]#uname -a
Linux sanitized.network.tld 2.6.18-92.1.22.el5.centos.plusxen #1 SMP Wed Dec 17 11:22:13 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Consistency here would probably be a good thing. A proposal for
cleaning it up would be welcome. Patches would be even better.

  </pre>
</blockquote>
The weekend slipped away from me (they all seem to do that lately...);
I'm going to take a look at this tonight after work.<br>
<br>
Would you agree that it is more desirable to add the "user=" format to
mount.cifs to maintain backwards compatibility?&nbsp; I think this is
probably the most 'clean' way to deal with it.<br>
</body>
</html>