summaryrefslogtreecommitdiff
path: root/mount.cifs.8
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2012-08-07 11:11:26 -0400
committerJeff Layton <jlayton@samba.org>2012-08-07 11:11:26 -0400
commit569cfcb3a467dfdf967a36ed6f7896559edab2ba (patch)
tree5208d6309002400a06c0ca0a851820f1df2697da /mount.cifs.8
parent692842e34c1f2fcc84b6b64136f5e28dd7062f46 (diff)
downloadcifs-utils-569cfcb3a467dfdf967a36ed6f7896559edab2ba.tar.gz
cifs-utils-569cfcb3a467dfdf967a36ed6f7896559edab2ba.tar.bz2
cifs-utils-569cfcb3a467dfdf967a36ed6f7896559edab2ba.zip
mount.cifs: deprecate the DOMAIN/username%password username syntax
mount.cifs has in the past allowed users to specify a username using the above syntax, which would populate the domain and password fields with the different pieces. Unfortunately, there are cases where it is legit to have a '/' in a username. krb5 SPNs generally contain a '/' and we have no clear way to distinguish between the two. I don't see any real value in keeping that syntax allowed. It's no easier than specifying "pass=" and "domain=" on the command line. Ditto for credential files. Begin the transition away from that syntax by adding a warning message that support for it will be removed in 5.9. Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'mount.cifs.8')
-rw-r--r--mount.cifs.84
1 files changed, 3 insertions, 1 deletions
diff --git a/mount.cifs.8 b/mount.cifs.8
index f6a66bf..b2a0936 100644
--- a/mount.cifs.8
+++ b/mount.cifs.8
@@ -56,7 +56,9 @@ user=\fIarg\fR
.RS 4
specifies the username to connect as\&. If this is not given, then the environment variable
\fIUSER\fR
-is used\&. This option can also take the form "user%password" or "workgroup/user" or "workgroup/user%password" to allow the password and workgroup to be specified as part of the username\&.
+is used\&.
+.PP
+Earlier versions of mount.cifs also allowed one to specify the username in a "user%password" or "workgroup/user" or "workgroup/user%password" to allow the password and workgroup to be specified as part of the username. Support for those alternate username formats is now deprecated and should no longer be used. Users should use the discrete "pass=" and "dom=" to specify the username.
.if n \{\
.sp
.\}