>I don't know exactly the variables I should free. I think I also should >free "e", but when I do it and I run the application, the program is >aborted and this error occurs: Free result, not e, with ldap_msgfree(). This post is probably off-topic for openldap-devel. -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com