Skip to contentSkip to conversation

Credentials file – "username=" setting ignored

DISCUSSION Mantas M. 1 participant 1 message Jan 12, 2013

Subsystems (2)
lore
Share & tools
lore

Mantas M.

author
#0 lore raw

In cifs-utils 5.9, if I specify a credentials file with the "credetials=..." option, mount-cifs completely ignores the username specified in that file (a "username=..." line).

git bisect tells me that it's caused by this commit:

Quoted 9 lines

commit 85d18a1edfa95e9329a57615e92a58a5ab1902c1

Author: Jeff Layton <[email protected]>
Date:   Mon Jan 7 07:19:46 2013 -0500

mount.cifs: remove support for "complex" usernames from mount.cifs

In commit 569cfcb3a, we added a warning of the removal for support for username= options in the form of DOMAIN/username%password. This patch removes that support as promised prior to the 5.9 release.

Signature · 1 line
Mantas Mikulėnas <[email protected]>