This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository lib389.
commit eace4c14c4f1478bd2246a9a29de8a6ed9b080e3
Author: William Brown <firstyear(a)redhat.com>
Date: Tue May 2 15:59:23 2017 +1000
Ticket 1 - Fix missing dn / rdn on config.
Bug Description: During the change on #26 we changed the way
that we assert some vallues from the DB. This has exposed
an issue in the way that we handle RDN on config
Fix Description: Since we always know the RDN and DN of cn=config
we can just provide it.
https://pagure.io/lib389/issue/1
Author: wibrown
Review by: ankity10, ilias95 (verified functionality)
---
lib389/config.py | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/lib389/config.py b/lib389/config.py
index 778c203..532ac73 100644
--- a/lib389/config.py
+++ b/lib389/config.py
@@ -51,6 +51,15 @@ class Config(DSLdapObject):
'nsslapd-certdir'
]
self._compare_exclude = self._compare_exclude + config_compare_exclude
+ self._rdn_attribute = 'cn'
+
+ @property
+ def dn(self):
+ return DN_CONFIG
+
+ @property
+ def rdn(self):
+ return DN_CONFIG
def _alter_log_enabled(self, service, state):
if service not in ('access', 'error', 'audit'):
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.