diff options
author | Jeff Layton <jlayton@samba.org> | 2012-08-07 11:52:15 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2012-08-07 11:52:15 -0400 |
commit | 3a965467611637ca05bcd55460ff69fec6ad8be7 (patch) | |
tree | 0571277ab4e746a8c82fc1064b89add65e0fc031 /getcifsacl.c | |
parent | 569cfcb3a467dfdf967a36ed6f7896559edab2ba (diff) | |
download | cifs-utils-3a965467611637ca05bcd55460ff69fec6ad8be7.tar.gz cifs-utils-3a965467611637ca05bcd55460ff69fec6ad8be7.tar.bz2 cifs-utils-3a965467611637ca05bcd55460ff69fec6ad8be7.zip |
mount.cifs: handle username= differently depending on sec= option
This patch is intended as a temporary workaround for krb5 users that need
to specify usernames with '/' in them. I intend to remove this hack from
mount.cifs once the legacy username handling code is removed.
The idea here is to save off the raw username string while we're parsing
options. If the mount options specify "sec=krb5" or "sec=krb5i" then
we'll not do the legacy username parsing and will instead just pass in
the username string as-is.
Obviously, this is a nasty hack and we don't really want to carry this
in perpetuity, so this can go away once the "legacy" username parsing
has gone away.
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'getcifsacl.c')
0 files changed, 0 insertions, 0 deletions