[Fedora-directory-users] Re: dumping the data base

Scott Boggs sboggs at trustedcs.com
Fri Feb 24 19:33:40 UTC 2006


Richard Megginson <rmeggins <at> redhat.com> writes:

>
> >  
> >
> You first have to find out what the subschemasubentry suffix is:
> ldapsearch -x -s base -b "" subschemasubentry
> dn:
> subschemasubentry: cn=schema
> 
> Then, you can query cn=schema:
> ldapsearch -x -s base -b "cn=schema" attributeTypes objectClasses
> 


I must really be screwing something up, when I type:
"ldapsearch -x -s base -b "" subschemasubentry" I get the following error:

ldap search: Bad search filter

When I perform the following search, I get the same error:

"ldapsearch -x -s base -b "cn=schema" attributeTypes objectClasses

ldap search: Bad search filter

This FDS is pretty much a basic build, so I have not really changed anything.  

I am runnning the ldapsearch command from within the /opt/fedora-ds/shared/bin
directory, if that makes any difference.  

thanks much for your advice, I am just trying to pull the definitions for the
attributes, I believe this would be the correct method..




More information about the 389-users mailing list