The Samba-Bugzilla – Attachment 6020 Details for
Bug 7739
ktpass.sh MUST add appropriate userPrincipalName
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch proposal for fixing this bug
0002-ktpass-also-use-userPrincipalName-for-locating-the.patch (text/plain), 1.09 KB, created by
Matthieu Patou
on 2010-10-19 08:27:25 UTC
(
hide
)
Description:
Patch proposal for fixing this bug
Filename:
MIME Type:
Creator:
Matthieu Patou
Created:
2010-10-19 08:27:25 UTC
Size:
1.09 KB
patch
obsolete
>From 668f9cd38aac0d8f4009af23eb5c00e41695c263 Mon Sep 17 00:00:00 2001 >From: Matthieu Patou <mat@matws.net> >Date: Tue, 19 Oct 2010 17:24:27 +0400 >Subject: [PATCH] ktpass: also use userPrincipalName for locating the principal > >--- > source4/scripting/bin/ktpass.sh | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/source4/scripting/bin/ktpass.sh b/source4/scripting/bin/ktpass.sh >index 7c13fe4..74f740a 100755 >--- a/source4/scripting/bin/ktpass.sh >+++ b/source4/scripting/bin/ktpass.sh >@@ -66,7 +66,8 @@ fi > if [ -z $host ]; then > host=`hostname` > fi >-kvno=`${path}ldbsearch -H ldap://$host "(|(samaccountname=$princ)(serviceprincipalname=$princ))" msds-keyversionnumber -k 1 -N 2>/dev/null| grep -i msds-keyversionnumber` >+ >+kvno=`${path}ldbsearch -H ldap://$host "(|(samaccountname=$princ)(serviceprincipalname=$princ)(userprincipalname=$princ))" msds-keyversionnumber -k 1 -N 2>/dev/null| grep -i msds-keyversionnumber` > if [ "$kvno" == "" ]; then > echo -ne "Unable to find kvno for principal $princ\n" > echo -ne " check that you are authentified with kerberos\n" >-- >1.5.6.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7739
:
6019
| 6020