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

Re: Coding help



Cópia "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>:

> At 04:18 PM 2/16/01 -0200, Alexandre Hautequest wrote:
> >Hi all.
> >
> >I still with my little password problem between two different versions
> here.
> >
> >The site:
> >OpenLDAP server v1.2
> >OpenLDAP client v2.0
> >
> >using v1.2 tools:
> ># ldapsearch [blablabla]
> >userpassword={crypt}abouyZjZlf.iA
> >
> >using v2.0 tools:
> ># ldapsearch [blablabla]
> >userpassword:: e2NyeXB0fWFib3V5WmpabGYuaUE=
> 
> Use -L with both and be prepared to parse LDIF, including
> base64 encoding of values, continuation lines, etc..
> 
> Or don't use the LDAP API and avoid the intermediate format.

Sure, but I need to use the LDAP API. Or how do I query a LDAP server using C 
programming? The command-line is not necessary for now, but the C code is.

> 
> Kurt
> 



--
Alexandre Hautequest
hquest at fesppr.br

"Globalização: Um paraguaio dirigindo pelas estradas brasileiras um carro 
francês fabricado na Argentina utilizando gasolina iraquiana, ouvindo música
americana num som japonês."

-------------------------------------------------
Esta mensagem foi enviada pelo WebMail da FESP.
Conheça a FESP: http://www.fesppr.br/