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

Re: problem with ldap_get_values



Marc Tardif wrote:

>     if (ldap_search_s(ld, "o=internet", LDAP_SCOPE_SUBTREE, \
>                       filter, attrs, 1, &result) != LDAP_SUCCESS) {

by setting arg 6 to 1 you're explicitly asking the server
to return no values ... Set it to 0.

Pierangelo.

--
Dr. Pierangelo Masarati               | voice: +39 02 2399 8365
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   | http://www.aero.polimi.it/~masarati