https://bugs.openldap.org/show_bug.cgi?id=9269
Issue ID: 9269 Summary: "hidden" "subordinate" database is shown in a directory tree Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: grapvar@gmail.com Target Milestone: ---
"hidden" configuration option is ignored by slapd (not honored by "glue" overlay?) if the database it tries to hide is also a "subordinate" database. Checked for openldap 2.4.47 and current git master (f3952d9).
https://bugs.openldap.org/show_bug.cgi?id=9269
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=9272
https://bugs.openldap.org/show_bug.cgi?id=9269
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to Konstantin Andreev from comment #0)
"hidden" configuration option is ignored by slapd (not honored by "glue" overlay?) if the database it tries to hide is also a "subordinate" database. Checked for openldap 2.4.47 and current git master (f3952d9).
What is the use case for this configuration? Certainly the "hidden" option was never meant to be used in a glued DB.
https://bugs.openldap.org/show_bug.cgi?id=9269
--- Comment #2 from Konstantin Andreev grapvar@gmail.com ---
Certainly the "hidden" option was never meant to be used in a glued DB.
Formally, this intention/limitation is not documented, so I expect "hidden" option works as described for subordinate databases too: "A database that is hidden will never be selected to answer any queries". The "database" here is the database from config pov, not a "naming context" from the user pov, not to mention subordinate databases may be advertised as independent naming contexts/dits.
I see this as conflict between documentation and reality, that needs resolution. If you just document the limitation, it might be a resolution too.
What is the use case for this configuration?
I am interested in implementing a custom feature on openldap, that, in this context, similar to 'hidden' option. So, the 'hidden' option implemented properly would ease me an efforts. If not, I am on my own.
But wait, ... what is the use case for 'hidden' option for standalone databases?
https://bugs.openldap.org/show_bug.cgi?id=9269
--- Comment #3 from Howard Chu hyc@openldap.org --- (In reply to Konstantin Andreev from comment #2)
What is the use case for this configuration?
I am interested in implementing a custom feature on openldap, that, in this context, similar to 'hidden' option. So, the 'hidden' option implemented properly would ease me an efforts. If not, I am on my own.
But wait, ... what is the use case for 'hidden' option for standalone databases?
The intended use case is in test048. There are no other use cases.
https://bugs.openldap.org/show_bug.cgi?id=9269
--- Comment #4 from Konstantin Andreev grapvar@gmail.com ---
The intended use case is in test048. There are no other use cases.
Sorry, test048 is not self-explaining, in fact, neither test is self-explaining. Could you, please, tell directly what test048 implies?
In any case, could you, please, update user documentation for 'hidden' option, to clearly indicate that it does not work for subordinates?
https://bugs.openldap.org/show_bug.cgi?id=9269
--- Comment #5 from Howard Chu hyc@openldap.org --- (In reply to Konstantin Andreev from comment #4)
The intended use case is in test048. There are no other use cases.
Sorry, test048 is not self-explaining, in fact, neither test is self-explaining. Could you, please, tell directly what test048 implies?
In any case, could you, please, update user documentation for 'hidden' option, to clearly indicate that it does not work for subordinates?
This is already fully documented.
https://www.openldap.org/doc/admin24/replication.html#Syncrepl%20Proxy%20Mod...
https://bugs.openldap.org/show_bug.cgi?id=9269
--- Comment #6 from Konstantin Andreev grapvar@gmail.com ---
This is already fully documented.
https://www.openldap.org/doc/admin24/replication.html#Syncrepl%20Proxy%20Mod...
Thank you.
https://bugs.openldap.org/show_bug.cgi?id=9269
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
https://bugs.openldap.org/show_bug.cgi?id=9269
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED