Red Hat Bugzilla – Bug 599732
Root node in directory browser shows DN syntax error
Last modified: 2015-12-07 12:17:47 EST
With 389 1.2.6.a4 and it's associated Console packages, selecting the top-level node in the tree on the left side of the "Directory" tab of the Directory Console results in an invalid DN syntax error being displayed in the right side panel.
The ns-slapd access log shows that console is sending a search like this when the root node is selected:
[03/Jun/2010:08:21:05 -0700] conn=10 op=21 SRCH dn="no LDAP connection", invalid dn
[03/Jun/2010:08:21:05 -0700] conn=10 op=21 RESULT err=34 tag=101 nentries=0 etime=0
Created attachment 419510 [details]
Clicking on the root node in the directory browser in DS console
shows a DN syntax error. The root node is created with a bogus
DN of "no LDAP connection". This was being used as a search base
in an attempt to find child entries to display in the right hand
panel of the directory browser.
The fix is to avoid searching for child entries of the root node
since the root node itself doesn't actually represent an LDAP
Pushed to master. Thanks to Noriko for her review!
Counting objects: 17, done.
Delta compression using 2 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (9/9), 1011 bytes, done.
Total 9 (delta 4), reused 0 (delta 0)
bf23aae..01ddc9c master -> master