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

Richard Megginson rmeggins at redhat.com
Fri Feb 24 21:29:11 UTC 2006


Scott Boggs wrote:

>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.  
>  
>
Oh, sorry.  From your previous email, it looked like you had set up some 
sort of default search filter.  You need to use "objectclass=*" for your 
search filter.

>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..
>
>--
>Fedora-directory-users mailing list
>Fedora-directory-users at redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-directory-users
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20060224/661b794b/attachment.bin>


More information about the Fedora-directory-users mailing list