[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapsearch Problem



Quoting Florence Lai <flor_lai@yahoo.com>:

> Objectclasses ::
> ASDGAWEGDGSHFADGASVSDGAEGAEGAGDAGASDGAGDADGAGD....
> Attributetypes ::
> ASDGAWEGDGSHFADGASVSDGAEGAEGAGDAGASDGAGDADGAGD...
> cn:
> cn: subschema
> 
> 1. Why do I get the unreadable string? 

They are base64 encoded. 

perl -MMIME::Base64 -e 'print decode_base64("ASDGAWEGDGSHFADGASVSDGAEGAEGAGDAGASDGAGDADGAGD....")'

> 2. How do I write the correct commend to get the clear
> text value like 
> objectClasses::( 2.5.6.0 NAME 'top' ABSTRACT MUST
> objectClass  )  ????

Hu? Say again?

> 3. I also use other tool to get the schema info such
> as MS LDAP API and ActiveXClient from
> polonia-online.com. I can get the clear Text attribute
> and objectclass info. Anyone know why LDAPSearch from
> Openldap cannot view the clear text ? 

The code have not been implemented. The OpenLDAP tools
are made for seeing/modifying the database 'as-is', no
frills...