I''m replacing an ldap server with Fedora Directory. The old one allows searches with the base dn empty. Is there a way to allow searches with a blank base dn in Fedora Directory?
Glenn W. Bach wrote:> I''m replacing an ldap server with Fedora Directory. The old one allows > searches with the base dn empty. Is there a way to allow searches with a > blank base dn in Fedora Directory?It works for me, I do it all the time. You may need to set the search scope to "base" or you won''t find anything. $ ldapsearch -x -b '''' -s base vendorVersion # extended LDIF # # LDAPv3 # base <> with scope base # filter: (objectclass=*) # requesting: vendorVersion # # dn: vendorVersion: Fedora-Directory/1.0.1 B2005.342.165 This is using, just as an example, the ldapsearch command line tool from the openldap-clients RPM. Which LDAP client are you using? Another useful search with a blank base DN is for namingContexts, eg: ldapsearch -x -b '''' -s base namingContexts -- Del
Richard Megginson
2006-Feb-10 02:58 UTC
Re: [Fedora-directory-users] Search w/ empty base dn
Glenn W. Bach wrote:>I''m replacing an ldap server with Fedora Directory. The old one allows >searches with the base dn empty. Is there a way to allow searches with a >blank base dn in Fedora Directory? > >I''m assuming you mean the ability to perform a subtree search with a base dn of "". No, you cannot do this with Fedora DS. What is your old directory server? Does it do this by default or do you have to configure it to do so?>-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >