[Date Prev][Date Next]
First off, thanks for all of the help everyone has already given with my
Just to double check. Could someone confirm that my following assumptions
The definitions or below.
ld needs to be freed with ldap_unbind(ld);
result needs to be freed with ldap_msgfree(result);
e does *not* need to be freed!
attr does *not* need to be freed!
vals needs to be freed with ldap_value_free(vals);
ber needs to be freed with ber_free(ber);
LDAP *ld =(LDAP*)NULL; /* ldap handle */
LDAPMessage *result =(LDAPMessage*)NULL; /* set by ldap_search_st()
LDAPMessage *e =(LDAPMessage*)NULL; /* returned from
char *attr =(char*)NULL; /* returned from
char **vals =(char**)NULL; /* returned from
BerElement *ber =(BerElement*)NULL; /* set by
Thanks in advance,
Ashley Neal Hornbeck
Splitrock Services, Inc.