Home
last modified time | relevance | path

Searched refs:lderr (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dadd.c86 int i, rc, lderr; in ldap_add_ext() local
112 lderr = LDAP_PARAM_ERROR; in ldap_add_ext()
114 return( lderr ); in ldap_add_ext()
140 return( lderr ); in ldap_add_ext()
145 lderr = LDAP_ENCODING_ERROR; in ldap_add_ext()
148 return( lderr ); in ldap_add_ext()
161 lderr = LDAP_ENCODING_ERROR; in ldap_add_ext()
164 return( lderr ); in ldap_add_ext()
169 lderr = LDAP_ENCODING_ERROR; in ldap_add_ext()
172 return( lderr ); in ldap_add_ext()
[all …]
H A Dmodify.c79 int i, rc, lderr; in ldap_modify_ext() local
111 lderr = LDAP_PARAM_ERROR; in ldap_modify_ext()
113 return( lderr ); in ldap_modify_ext()
138 return( lderr ); in ldap_modify_ext()
143 lderr = LDAP_ENCODING_ERROR; in ldap_modify_ext()
146 return( lderr ); in ldap_modify_ext()
161 lderr = LDAP_ENCODING_ERROR; in ldap_modify_ext()
164 return( lderr ); in ldap_modify_ext()
169 lderr = LDAP_ENCODING_ERROR; in ldap_modify_ext()
172 return( lderr ); in ldap_modify_ext()
[all …]
H A Dcompare.c75 int rc, lderr; in ldap_compare_ext() local
95 lderr = LDAP_PARAM_ERROR; in ldap_compare_ext()
96 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL ); in ldap_compare_ext()
97 return( lderr ); in ldap_compare_ext()
121 if (( lderr = nsldapi_alloc_ber_with_options( ld, &ber )) in ldap_compare_ext()
123 return( lderr ); in ldap_compare_ext()
129 lderr = LDAP_ENCODING_ERROR; in ldap_compare_ext()
130 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL ); in ldap_compare_ext()
132 return( lderr ); in ldap_compare_ext()
135 if (( lderr = nsldapi_put_controls( ld, serverctrls, 1, ber )) in ldap_compare_ext()
[all …]
H A Dabandon.c113 int i, bererr, lderr, sendabandon; in do_abandon() local
125 lderr = LDAP_SUCCESS; in do_abandon()
144 lderr = LDAP_PARAM_ERROR; in do_abandon()
181 lderr = LDAP_PARAM_ERROR; in do_abandon()
215 ( lderr = nsldapi_put_controls( ld, serverctrls, in do_abandon()
217 lderr = LDAP_ENCODING_ERROR; in do_abandon()
228 lderr = LDAP_SERVER_DOWN; in do_abandon()
249 lderr = LDAP_NO_MEMORY; in do_abandon()
259 lderr = LDAP_NO_MEMORY; in do_abandon()
269 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL ); in do_abandon()
[all …]
H A Ddelete.c66 int rc, lderr; in ldap_delete_ext() local
105 if (( lderr = nsldapi_alloc_ber_with_options( ld, &ber )) in ldap_delete_ext()
107 return( lderr ); in ldap_delete_ext()
112 lderr = LDAP_ENCODING_ERROR; in ldap_delete_ext()
113 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL ); in ldap_delete_ext()
115 return( lderr ); in ldap_delete_ext()
118 if (( lderr = nsldapi_put_controls( ld, serverctrls, 1, ber )) in ldap_delete_ext()
121 return( lderr ); in ldap_delete_ext()
H A Dtmplout.c1036 int err = LDAP_SUCCESS, lderr, i, count, html; in searchaction() local
1097 lderr = cldap_search_s( ld, base, LDAP_SCOPE_SUBTREE, filter, retattrs, in searchaction()
1101 lderr = ldap_search_st( ld, base, LDAP_SCOPE_SUBTREE, filter, in searchaction()
1104 if ( lderr == LDAP_SUCCESS || NONFATAL_LDAP_ERR( lderr )) { in searchaction()
1134 return(( err == LDAP_SUCCESS ) ? lderr : err ); in searchaction()
H A Derror.c407 int lderr_parse, lderr; in ldap_result2error() local
409 lderr_parse = ldap_parse_result( ld, r, &lderr, NULL, NULL, NULL, in ldap_result2error()
416 return( lderr ); in ldap_result2error()
H A Drequest.c464 int err, lderr, freepasswd, authmethod; in nsldapi_new_connection() local
474 if (( lderr = (*ld->ld_rebind_fn)( ld, &binddn, &passwd, in nsldapi_new_connection()
479 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL ); in nsldapi_new_connection()
496 if (( lderr = ldap_bind_s( ld, binddn, passwd, in nsldapi_new_connection()
503 || lderr != LDAP_PROTOCOL_ERROR ) { in nsldapi_new_connection()
H A Dresult.c501 int terrno, lderr, foundit = 0; local
625 lr->lr_res_msgtype, ber, &lderr, NULL,
627 && LDAP_SUCCESS == lderr ) {
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_op.c2048 int lderr; in ldapModifyObjectClass() local
2167 stat = lderr; in ldapModifyObjectClass()
2201 stat = lderr; in ldapModifyObjectClass()
2230 int lderr; in ldapModify() local
2261 stat = lderr; in ldapModify()
2332 stat = lderr; in ldapModify()
2525 int lderr; in ldapAdd() local
2565 stat = lderr; in ldapAdd()
2593 stat = lderr; in ldapAdd()
2625 int lderr; in ldapChangeDN() local
[all …]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dfileurl.h73 int ldaptool_fileurlerr2ldaperr( int lderr );
H A Dfileurl.c329 ldaptool_fileurlerr2ldaperr( int lderr ) in ldaptool_fileurlerr2ldaperr() argument
333 switch( lderr ) { in ldaptool_fileurlerr2ldaperr()
H A Dcommon.c1336 int lderr = ldap_get_lderrno( ld, NULL, NULL ); local
1342 || ( lderr == LDAP_SERVER_DOWN )) {
1351 return( lderr );
1608 int rc, lderr, errno; local
1613 if (( rc = ldap_parse_result( ld, res, &lderr, NULL, NULL, &refs,
1686 if ( LDAPTOOL_RESULT_IS_AN_ERROR( lderr )) {
1695 return( lderr );