ldap_misc_solaris.c revision 2
2N/A/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2N/A * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. 2N/A * Solaris libldap does not provide the following functions which are in 2N/A * OpenLDAP. Note, Solaris Kerberos added the use_SSL to do a SSL init. Also 2N/A * added errstr to return specific error if it isn't NULL. Yes, this is ugly 2N/A * and no, the errstr should not be free()'ed. 2N/A /* For now, we don't use any DN that may be provided. And on 2N/A Solaris (based on Mozilla's LDAP client code), we need the 2N/A _nodn form to parse "ldap://host" without a trailing slash. 2N/A Also, this version won't handle an input string which contains 2N/A multiple URLs, unlike the OpenLDAP ldap_initialize. See 2N/A /* to avoid reinit and leaking handles, *ldp must be NULL */ 2N/A /* report error from ldap url parsing */ 2N/A /* convert to generic LDAP error */ 2N/A#
endif /* HAVE_LDAP_INITIALIZE */