mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 14:40:16 -05:00
ldap2: change default bind_dn
Set default bind_dn to cn=directory manager. https://fedorahosted.org/freeipa/ticket/6461 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
1 parent
1240262a0b
commit
36d95472d9
1 file changed
+1
-1
@@ -153,7 +153,7 @@ class ldap2(CrudBackend, LDAPClient):
|
||||
Extends backend.Connectible.create_connection.
|
||||
"""
|
||||
if bind_dn is None:
|
||||
bind_dn = DN()
|
||||
bind_dn = DN(('cn', 'directory manager'))
|
||||
assert isinstance(bind_dn, DN)
|
||||
if tls_cacertfile is not None:
|
||||
_ldap.set_option(_ldap.OPT_X_TLS_CACERTFILE, tls_cacertfile)
|
||||
|
||||
Reference in new issue
Block a user