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

Re: "LDAP * ld" in ldap_x_attribute

At 05:40 AM 2002-06-07, samuel.osouf wrote:
>Could anyone explain why ldap_xxx_attribute()
>[and others] functions need an LDAP structure
>parameter ?

Because, generally, the routine needs access to
parameters of the LDAP session.  In some cases,
it may be only required for symmetry.

>i planned to implement an ldap_client() function
>that would return entries, use it in a main()
>function, and then in main() write entries' 
>but this doesn't seem right, as 
>seem to need info about the LDAP session...
>Thanks for help
>Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 ?/mn) ; tél : 08 92 68 13 50 (0,34?/mn)"