<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Not sure if this is the correct place to file this report, if not,
please point me in the correct direction.<br>
<br>
The credentials option for mount.smbfs used to be the following format:<br>
&nbsp;&nbsp;&nbsp; user=name<br>
&nbsp;&nbsp;&nbsp; password=pass<br>
<br>
I've found that the format supported for mount.cifs is:<br>
&nbsp;&nbsp;&nbsp; username=name<br>
&nbsp;&nbsp;&nbsp; password=pass<br>
<br>
This seems at odds with the manual page for mount.cifs under the
user=arg option:<br>
&nbsp;&nbsp;&nbsp; [...]<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Note<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The cifs vfs accepts the parameter user=, or for users
familiar with smbfs it<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; accepts the longer form of the parameter username=.
Similarly the longer smbfs<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style parameter names may be accepted as synonyms for the
shorter cifs<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameters pass=,dom= and cred=.<br>
&nbsp;&nbsp;&nbsp; [...]<br>
<br>
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.&nbsp; Are either of
these assumptions correct?&nbsp; 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?&nbsp; I wouldn't mind drafting up a proposal
if other felt it was worth the effort.<br>
<br>
<br>
Happy Version Numbers:<br>
<ul>
  <li>from The Fine Manual page for mount.cifs(8)</li>
</ul>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERSION<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; This man page is correct for version 1.52 of the cifs vfs
filesystem (roughly Linux kernel 2.6.24).<br>
<ul>
  <li>[1005 12:24 sun ~]#smbd -V<br>
Version 3.0.33-3.7.el5</li>
  <li>[1007 12:26 sun ~]#uname -a<br>
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<br>
  </li>
</ul>
</body>
</html>