[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
UFN Calls
Hi All,
Has anyone experience with the UFN calls (pref. in C)? My routine looks
like this:
int process_ldap()
{
int retcode=0;
int attrsonly=0; /* Both attr-types and -values
*/
char *attrs[2] = { AUTH_DEFAULT_ATTR, NULL };
LDAPMessage **res;
open_ldap_server();
retcode =
ldap_ufn_search_s(ld,chpw.username,attrs,attrsonly,res);
close_ldap_server();
return(retcode);
}
But all I get is a coredump on the ldap_ufn_search_call. The
chpw.username by the way is a char[9].
Help is very much appriciated.
Richard.
begin:vcard
n:van Denzel;Richard
tel;cell:+31 6 558 76 927
tel;fax:+31 35 6888 699
tel;work:+31 35 6888 310
x-mozilla-html:TRUE
url:http://www.interaccess.nl
org:Inter Access B.V.
version:2.1
email;internet:richardd@interaccess.nl
title:ICT Support Coordinator
adr;quoted-printable:;;P.O. Box 840=0D=0A;Hilversum;;1200 AV;Netherlands
fn:Richard van Denzel
end:vcard