Lines Matching refs:ludpp
123 ldap_url_parse( const char *url, LDAPURLDesc **ludpp )
130 if (( rc = nsldapi_url_parse( url, ludpp, 1 )) == 0 ) {
131 if ( (*ludpp)->lud_scope == -1 ) {
132 (*ludpp)->lud_scope = LDAP_SCOPE_BASE;
134 if ( (*ludpp)->lud_filter == NULL ) {
135 (*ludpp)->lud_filter = "(objectclass=*)";
137 if ( *((*ludpp)->lud_dn) == '\0' ) {
138 (*ludpp)->lud_dn = NULL;
148 ldap_url_parse_nodn(const char *url, LDAPURLDesc **ludpp)
155 if ((rc = nsldapi_url_parse(url, ludpp, 0)) == 0) {
156 if ((*ludpp)->lud_scope == -1) {
157 (*ludpp)->lud_scope = LDAP_SCOPE_BASE;
159 if ((*ludpp)->lud_filter == NULL) {
160 (*ludpp)->lud_filter = "(objectclass=*)";
162 if ((*ludpp)->lud_dn && *((*ludpp)->lud_dn) == '\0') {
163 (*ludpp)->lud_dn = NULL;
181 nsldapi_url_parse( const char *url, LDAPURLDesc **ludpp, int dn_required )
190 if ( url == NULL || ludpp == NULL ) {
194 *ludpp = NULL; /* pessimistic */
381 *ludpp = ludp;