diff options
author | Igor Mammedov <niallain@gmail.com> | 2008-04-02 17:33:47 +0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-22 14:09:37 +0000 |
commit | e4058245ac0c4d9a517cda688a35aef065cb7f4e (patch) | |
tree | a45fad1699aa1e251ad88551e553d8efd4cc0dbd /fs/cifs | |
parent | 0d817bc0d6cdd92ff1ab2e98dd5878659a48659c (diff) | |
download | kernel_samsung_crespo-e4058245ac0c4d9a517cda688a35aef065cb7f4e.zip kernel_samsung_crespo-e4058245ac0c4d9a517cda688a35aef065cb7f4e.tar.gz kernel_samsung_crespo-e4058245ac0c4d9a517cda688a35aef065cb7f4e.tar.bz2 |
Adds username in the upcall key for unattended mounts with keytab
Signed-off-by: Igor Mammedov <niallain@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifs_spnego.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifs_spnego.c b/fs/cifs/cifs_spnego.c index 6653e29..7013aaf 100644 --- a/fs/cifs/cifs_spnego.c +++ b/fs/cifs/cifs_spnego.c @@ -119,6 +119,9 @@ cifs_get_spnego_key(struct cifsSesInfo *sesInfo) dp = description + strlen(description); sprintf(dp, ";uid=0x%x", sesInfo->linux_uid); + dp = description + strlen(description); + sprintf(dp, ";user=%s", sesInfo->userName); + cFYI(1, ("key description = %s", description)); spnego_key = request_key(&cifs_spnego_key_type, description, ""); |