Bernd May wrote:
hi,
while I can hardly say anything about your code, I think you should read up on how to use openssl in objective c (I guess thats what you use to write your app).
The code was pretty awful, but there's no need to call OpenSSL directly. ldap_initialize takes care of it.
As a side note, LDAPS is considered deprecated in favour of using STARTTLS on Port 389 instead, so you might want to read up on that too.
Regards,