>ldap_simple_bind(3) is problematic because it takes char*. ldap_simple_bind() is also problematic because it does not let you send controls on bind. -- Luke