From ffdbf3eeaabfd0741766cb3f9cf92ab6e930b1da Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Wed, 2 Apr 2008 17:33:47 +0400 Subject: [PATCH] --- yaml --- r: 97192 b: refs/heads/master c: e4058245ac0c4d9a517cda688a35aef065cb7f4e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/cifs/cifs_spnego.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 82c498b9c4e0..1b55dbf2ec90 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0d817bc0d6cdd92ff1ab2e98dd5878659a48659c +refs/heads/master: e4058245ac0c4d9a517cda688a35aef065cb7f4e diff --git a/trunk/fs/cifs/cifs_spnego.c b/trunk/fs/cifs/cifs_spnego.c index 6653e29637a7..7013aaff6aed 100644 --- a/trunk/fs/cifs/cifs_spnego.c +++ b/trunk/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, "");