Univention Bugzilla – Attachment 10436 Details for
Bug 51676
Serverpasswordchange fails if ppolicy is enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch proposal
Bug51676.patch (text/plain), 1.04 KB, created by
Arvid Requate
on 2020-07-20 18:16:09 CEST
(
hide
)
Description:
patch proposal
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2020-07-20 18:16:09 CEST
Size:
1.04 KB
patch
obsolete
>diff --git a/management/univention-ldap/10univention-ldap-server.inst b/management/univention-ldap/10univention-ldap-server.inst >index 0c3ea5134c..06a6a999a2 100755 >--- a/management/univention-ldap/10univention-ldap-server.inst >+++ b/management/univention-ldap/10univention-ldap-server.inst >@@ -32,7 +32,7 @@ > > ## joinscript api: bindpwdfile > >-VERSION=5 >+VERSION=6 > . /usr/share/univention-join/joinscripthelper.lib > joinscript_init > >@@ -248,12 +248,20 @@ if [ "$server_role" = "domaincontroller_master" ]; then > objectClass: pwdPolicy > cn: default > pwdAttribute: 2.5.4.35 >- pwdAllowUserChange: FALSE >+ pwdAllowUserChange: TRUE > pwdLockout: TRUE > pwdMaxFailure: 5 > pwdFailureCountInterval: 900 > %EOR > fi >+ if [ $JS_LAST_EXECUTED_VERSION -lt 6 ]; then >+ ldapmodify -D "cn=admin,$ldap_base" -y /etc/ldap.secret <<-%EOR >+ dn: cn=default,cn=ppolicy,cn=univention,$ldap_base >+ changetype: modify >+ replace: pwdAllowUserChange >+ pwdAllowUserChange: TRUE >+ %EOR >+ fi > fi > > # Create kerberos principal for ldap/hostname.domainname
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 51676
:
10435
| 10436