From 569cfcb3a467dfdf967a36ed6f7896559edab2ba Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Tue, 7 Aug 2012 11:11:26 -0400 Subject: 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 --- mount.cifs.8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mount.cifs.8') 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 .\} -- cgit v1.2.3