projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d817bc
)
Adds username in the upcall key for unattended mounts with keytab
author
Igor Mammedov
<niallain@gmail.com>
Wed, 2 Apr 2008 13:33:47 +0000
(17:33 +0400)
committer
Steve French
<sfrench@us.ibm.com>
Thu, 22 May 2008 14:09:37 +0000
(14:09 +0000)
Signed-off-by: Igor Mammedov <niallain@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_spnego.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/cifs_spnego.c
b/fs/cifs/cifs_spnego.c
index 6653e29637a7ec534c83d53c8a21ddda24130367..7013aaff6aedb9e868bac89f3cf2de9f98c3f358 100644
(file)
--- 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, "");