Univention Bugzilla – Attachment 5857 Details for
Bug 33779
squid-kerberos: password mismatch if user account for service principal already exists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
SPN_DN.patch
SPN_DN.patch (text/plain), 788 bytes, created by
Arvid Requate
on 2014-04-07 18:13:22 CEST
(
hide
)
Description:
SPN_DN.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2014-04-07 18:13:22 CEST
Size:
788 bytes
patch
obsolete
>Index: 98univention-squid-samba4.inst >=================================================================== >--- 98univention-squid-samba4.inst (Revision 49133) >+++ 98univention-squid-samba4.inst (Arbeitskopie) >@@ -68,9 +68,10 @@ > password=$(create_machine_password) > > ## check if user exists >-if udm users/user list "$@" --filter username="$service_accountname" | grep -q "^DN: uid=$service_accountname,"; then >+SPN_DN=$(udm users/user list "$@" --filter username="$service_accountname" | sed -n 's/^DN: //p') >+if [ -n "$SPN_DN" ]; then > univention-directory-manager users/user modify "$@" \ >- --dn "uid=$service_accountname,cn=users,$ldap_base" \ >+ --dn "$SPN_DN" > --set password="$password" || die > else > ## create service_accountname via udm, but servicePrincipalName is missing
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33779
: 5857