Q. on RDN with CES type
by Noriko Hosoi
Hello,
I'm working on this ticket 48848. Fixing the ticket itself is easy
(please see the proposed patch).
https://fedorahosted.org/389/ticket/48848
Ticket #48848 <https://fedorahosted.org/389/ticket/48848> - modrdn
deleteoldrdn can fail to find old attribute value, perhaps due to case
folding
Fix proposal:
https://fedorahosted.org/389/attachment/ticket/48848/0001-Ticket-48848-mo...
But I'm afraid it might have revealed another tricky issue...
If a DN contains CES type RDN, is it ok to return the entry if a given
basedn does not match the case?
*Example*:
Existing DN:
dn: labeledURI=testURI,ou=People,dc=example,dc=com
Please note that labeledURI is caseExactMatch type.
$ ldapsearch [...] -b
"labeleduri=testuri,ou=People,dc=example,dc=com" dn
dn: labeleduri=testURI,ou=People,dc=example,dc=com
Our dn normalization code does not care the type of rdn but just lower
the case to normalize a dn.
I'm trying to check it with the openldap server, but somehow it is not
happy on my Fedoras... :( Although I continue trying to make it work,
but if someone has the openldap server handy, could you please add the
attached entry, run the command line and check if it returns the entry
or not?
$ ldapsearch [...] -b "labeleduri=testuri,ou=People,dc=example,dc=com" dn
Thanks!
--noriko
7 years, 10 months
Clarification on docs
by William Brown
Hi,
Reading our docs, I see something ambiguous:
https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/10...
ver_Configuration_Reference.html#cnchangelog5
3.1.2.2. nsslapd-changelogmaxage (Max Changelog Age)
In the scenario where we have a replica that is offline, how does the changelog handle this?
Do we:
A) Trim the changelog, and expect the offline master to be re-initialised
B) Do we keep the event in the changelog even though it's expired maxage.
I think it would be good to clarify this behaviour in our documentation, but I wanted to know how it behaves first.
Thanks,
--
Sincerely,
William Brown
Software Engineer
Red Hat, Brisbane
7 years, 10 months