Home
last modified time | relevance | path

Searched refs:LDAP_SUCCESS (Results 1 – 25 of 94) sorted by relevance

1234

/titanic_41/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-public.c57 if ( prldap_install_routines( ld, shared ) != LDAP_SUCCESS ) { in prldap_init()
93 return( LDAP_SUCCESS ); in prldap_install_routines()
112 int rc = LDAP_SUCCESS; /* optimistic */ in prldap_set_session_option()
117 if ( LDAP_SUCCESS != in prldap_set_session_option()
154 int rc = LDAP_SUCCESS; /* optimistic */ in prldap_get_session_option()
159 if ( LDAP_SUCCESS != in prldap_get_session_option()
200 if ( LDAP_SUCCESS != in prldap_set_session_info()
212 return( LDAP_SUCCESS ); in prldap_set_session_info()
236 if ( LDAP_SUCCESS != in prldap_get_session_info()
248 return( LDAP_SUCCESS ); in prldap_get_session_info()
[all …]
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c322 &((*cachep)->ldmemc_resTmp)) != LDAP_SUCCESS) { in ldap_memcache_init()
333 NULL, &((*cachep)->ldmemc_resLookup)) != LDAP_SUCCESS) { in ldap_memcache_init()
343 MEMCACHE_SIZE_ADD) != LDAP_SUCCESS) { in ldap_memcache_init()
352 return( LDAP_SUCCESS ); in ldap_memcache_init()
360 int nRes = LDAP_SUCCESS; in ldap_memcache_set()
412 return( LDAP_SUCCESS ); in ldap_memcache_set()
420 MEMCACHE_SIZE_NON_ENTRIES, MEMCACHE_SIZE_ADD)) != LDAP_SUCCESS) { in ldap_memcache_set()
461 return( LDAP_SUCCESS ); in ldap_memcache_get()
607 if (nRes != LDAP_SUCCESS) in ldap_memcache_createkey()
681 return LDAP_SUCCESS; in ldap_memcache_createkey()
[all …]
H A Ddelete.c53 if ( ldap_delete_ext( ld, dn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) { in ldap_delete()
99 return( LDAP_SUCCESS ); in ldap_delete_ext()
106 != LDAP_SUCCESS ) { in ldap_delete_ext()
119 != LDAP_SUCCESS ) { in ldap_delete_ext()
128 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS ); in ldap_delete_ext()
147 &msgid )) != LDAP_SUCCESS ) { in ldap_delete_ext_s()
H A Drename.c124 return( LDAP_SUCCESS ); in ldap_rename()
134 return( LDAP_SUCCESS ); in ldap_rename()
143 != LDAP_SUCCESS ) { in ldap_rename()
171 != LDAP_SUCCESS ) { in ldap_rename()
180 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS ); in ldap_rename()
189 if ( ldap_rename( ld, dn, newrdn, NULL, deleteoldrdn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) { in ldap_modrdn2()
218 …me( ld, dn, newrdn, newparent, deleteoldrdn, serverctrls, clientctrls, &msgid ) != LDAP_SUCCESS ) { in ldap_rename_s()
H A Dsaslbind.c105 return( LDAP_SUCCESS ); in ldap_sasl_bind()
112 != LDAP_SUCCESS ) { in ldap_sasl_bind()
149 != LDAP_SUCCESS ) { in ldap_sasl_bind()
158 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS ); in ldap_sasl_bind()
196 clientctrls, &msgid )) != LDAP_SUCCESS ) in ldap_sasl_bind_s()
203 if (err != LDAP_SUCCESS && err != LDAP_SASL_BIND_IN_PROGRESS) { in ldap_sasl_bind_s()
284 return( LDAP_SUCCESS ); in ldap_parse_sasl_bind_result()
H A Dcompare.c61 == LDAP_SUCCESS ) { in ldap_compare()
115 return( LDAP_SUCCESS ); in ldap_compare_ext()
122 != LDAP_SUCCESS ) { in ldap_compare_ext()
136 != LDAP_SUCCESS ) { in ldap_compare_ext()
145 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS ); in ldap_compare_ext()
171 clientctrls, &msgid )) != LDAP_SUCCESS ) { in ldap_compare_ext_s()
H A Dadd.c68 == LDAP_SUCCESS ) { in ldap_add()
132 return( LDAP_SUCCESS ); in ldap_add_ext()
139 != LDAP_SUCCESS ) { in ldap_add_ext()
176 != LDAP_SUCCESS ) { in ldap_add_ext()
185 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS ); in ldap_add_ext()
203 &msgid )) != LDAP_SUCCESS ) { in ldap_add_ext_s()
H A Dmodify.c66 == LDAP_SUCCESS ) { in ldap_modify()
130 return( LDAP_SUCCESS ); in ldap_modify_ext()
137 != LDAP_SUCCESS ) { in ldap_modify_ext()
176 != LDAP_SUCCESS ) { in ldap_modify_ext()
185 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS ); in ldap_modify_ext()
204 &msgid )) != LDAP_SUCCESS ) { in ldap_modify_ext_s()
H A Dextendop.c99 != LDAP_SUCCESS ) { in ldap_extended_operation()
114 != LDAP_SUCCESS ) { in ldap_extended_operation()
123 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS ); in ldap_extended_operation()
155 serverctrls, clientctrls, &msgid )) != LDAP_SUCCESS ) { in ldap_extended_operation_s()
165 0 )) != LDAP_SUCCESS ) { in ldap_extended_operation_s()
244 return( LDAP_SUCCESS ); in ldap_parse_extended_result()
H A Dgetattr.c77 if ( nsldapi_alloc_ber_with_options( ld, ber ) != LDAP_SUCCESS ) { in ldap_first_attribute()
100 err = LDAP_SUCCESS; in ldap_first_attribute()
105 if ( attr == NULL || err != LDAP_SUCCESS ) { in ldap_first_attribute()
137 err = LDAP_SUCCESS; in ldap_next_attribute()
H A Dsearch.c101 NULL, NULL, -1, &msgid ) == LDAP_SUCCESS ) { in ldap_search()
199 attrs, attrsonly, serverctrls, clientctrls, &key)) == LDAP_SUCCESS in nsldapi_search()
200 && ldap_memcache_result( ld, *msgidp, key ) == LDAP_SUCCESS ) { in nsldapi_search()
201 return LDAP_SUCCESS; in nsldapi_search()
211 return( LDAP_SUCCESS ); in nsldapi_search()
219 *msgidp, &ber )) != LDAP_SUCCESS ) { in nsldapi_search()
230 if ( (rc_key == LDAP_SUCCESS) && (rc >= 0) ) { in nsldapi_search()
235 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS ); in nsldapi_search()
314 != LDAP_SUCCESS ) { in nsldapi_build_search_req()
372 != LDAP_SUCCESS ) { in nsldapi_build_search_req()
[all …]
H A Drequest.c69 err = LDAP_SUCCESS; in nsldapi_alloc_ber_with_options()
254 lr->lr_res_errno = LDAP_SUCCESS; /* optimistic */ in nsldapi_send_server_request()
313 LDAP_SET_LDERRNO( ld, LDAP_SUCCESS, NULL, NULL ); in nsldapi_send_server_request()
476 == LDAP_SUCCESS ) { in nsldapi_new_connection()
497 authmethod )) == LDAP_SUCCESS ) { in nsldapi_new_connection()
828 return( LDAP_SUCCESS ); in nsldapi_chase_v2_referrals()
842 return( LDAP_SUCCESS ); in nsldapi_chase_v2_referrals()
859 rc = LDAP_SUCCESS; in nsldapi_chase_v2_referrals()
862 for ( ref = p; rc == LDAP_SUCCESS && ref != NULL; ref = p ) { in nsldapi_chase_v2_referrals()
874 if ( rc != LDAP_SUCCESS || unknown ) { in nsldapi_chase_v2_referrals()
[all …]
H A Dcontrol.c114 return( LDAP_SUCCESS ); in nsldapi_put_controls()
163 return( LDAP_SUCCESS ); /* no controls */ in nsldapi_get_controls()
180 return( LDAP_SUCCESS ); in nsldapi_get_controls()
248 return( LDAP_SUCCESS ); in nsldapi_get_controls()
391 if ( ldap_control_copy_contents( rctrl, ctrl ) != LDAP_SUCCESS ) { in ldap_control_dup()
436 return ( LDAP_SUCCESS ); in ldap_control_copy_contents()
491 return( LDAP_SUCCESS ); in nsldapi_build_control()
H A Dsasl.c517 return( LDAP_SUCCESS ); in nsldapi_sasl_install()
527 rc = LDAP_SUCCESS; in nsldapi_sasl_cvterrno()
618 return( LDAP_SUCCESS ); in nsldapi_sasl_open()
644 return( LDAP_SUCCESS ); in nsldapi_sasl_close()
682 if ((rc = nsldapi_sasl_open(ld)) != LDAP_SUCCESS) { in nsldapi_sasl_do_bind()
717 (callback)(ld, flags, defaults, prompts) != LDAP_SUCCESS ) { in nsldapi_sasl_do_bind()
748 if ( rc != LDAP_SUCCESS && rc != LDAP_SASL_BIND_IN_PROGRESS ) { in nsldapi_sasl_do_bind()
753 if( rc == LDAP_SUCCESS && saslrc == SASL_OK ) { in nsldapi_sasl_do_bind()
791 != LDAP_SUCCESS ) { in nsldapi_sasl_do_bind()
804 if ( rc != LDAP_SUCCESS ) { in nsldapi_sasl_do_bind()
[all …]
H A Dabandon.c61 if ( ldap_abandon_ext( ld, msgid, NULL, NULL ) == LDAP_SUCCESS ) { in ldap_abandon()
125 lderr = LDAP_SUCCESS; in do_abandon()
198 LDAP_SUCCESS ) { in do_abandon()
216 1, ber )) != LDAP_SUCCESS ) { in do_abandon()
/titanic_41/usr/src/lib/libnisdb/
H A Ddb_mindex2.cc165 int lstat = LDAP_SUCCESS; in updateMappingObj()
204 } else if (lstat != LDAP_SUCCESS) { in updateMappingObj()
253 int stat = LDAP_SUCCESS; in selectMapping()
266 *statP = LDAP_SUCCESS; in selectMapping()
534 stat = LDAP_SUCCESS; in updateTableEntry()
543 return (LDAP_SUCCESS); in updateTableEntry()
550 stat = LDAP_SUCCESS; in updateTableEntry()
557 if (stat == LDAP_SUCCESS) { in updateTableEntry()
741 return (LDAP_SUCCESS); in queryLDAP()
748 return (LDAP_SUCCESS); in queryLDAP()
[all …]
H A Dldap_op.c560 ret = LDAP_SUCCESS; in ldapBind()
603 if (ret != LDAP_SUCCESS) { in ldapBind()
658 return (LDAP_SUCCESS); in disconnectCon()
678 if (stat == LDAP_SUCCESS) { in disconnectCon()
727 if (stat != LDAP_SUCCESS) { in controlSupported()
796 return (LDAP_SUCCESS); in connectCon()
819 if (stat != LDAP_SUCCESS) in connectCon()
824 return (lc->ld != 0) ? LDAP_SUCCESS : in connectCon()
844 if (lc->status == LDAP_SUCCESS) { in connectCon()
881 LDAP_SUCCESS) in findCon()
[all …]
H A Ddb_mindex3.cc156 stat = LDAP_SUCCESS; in entriesFromLDAP()
239 stat = LDAP_SUCCESS; in entriesFromLDAP()
337 int ret, stat = LDAP_SUCCESS, stat2, stat3; in entriesFromLDAPreal()
402 myself, res, stat, stat == LDAP_SUCCESS ? "" : in entriesFromLDAPreal()
593 stat = LDAP_SUCCESS; in entriesFromLDAPreal()
773 if (stat == LDAP_SUCCESS) { in entriesFromLDAPreal()
776 stat = LDAP_SUCCESS; in entriesFromLDAPreal()
811 if (st == LDAP_SUCCESS) { in entriesFromLDAPreal()
818 if (stat == LDAP_SUCCESS) in entriesFromLDAPreal()
822 if (stat == LDAP_SUCCESS) { in entriesFromLDAPreal()
[all …]
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_rights.c370 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
401 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
444 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
471 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
499 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
538 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
568 if (st != LDAP_SUCCESS && st !=LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
598 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
728 if (st != LDAP_SUCCESS && st != LDAP_NO_SUCH_ATTRIBUTE) {
755 if (st != LDAP_SUCCESS && st != LDAP_NO_SUCH_ATTRIBUTE) {
[all …]
H A Dkdb_ldap_conn.c217 server_info->server_name, SSL_ON, &errstr)) != LDAP_SUCCESS) {
356 if (st == LDAP_SUCCESS) in krb5_ldap_db_single_init()
369 if (st == LDAP_SUCCESS) in krb5_ldap_db_single_init()
394 use_ssl, NULL) != LDAP_SUCCESS)
395 || (krb5_ldap_bind(ldap_context, handle) != LDAP_SUCCESS))
397 return LDAP_SUCCESS;
/titanic_41/usr/src/cmd/ldap/common/
H A Dldapdelete.c169 rc = LDAP_SUCCESS; in dodelete()
171 "ldap_delete" )) == LDAP_SUCCESS && ldaptool_verbose ) { in dodelete()
193 rc = LDAP_SUCCESS; in dodelete()
198 …(rc = ldap_search_s( ld, dn, LDAP_SCOPE_SUBTREE, my_filter, NULL, 0, &result )) != LDAP_SUCCESS ) { in dodelete()
226 …s( ld, (char *)datalist->data, serverctrls, NULL, "ldap_delete" )) == LDAP_SUCCESS && ldaptool_ver… in dodelete()
H A Dldaptool-sasl.c85 if ((rc = get_default(sasldefaults, interact)) != LDAP_SUCCESS) in ldaptool_sasl_interact()
90 if ((rc = get_new_value(interact, flags)) != LDAP_SUCCESS) in ldaptool_sasl_interact()
95 return (LDAP_SUCCESS); in ldaptool_sasl_interact()
136 return (LDAP_SUCCESS); in get_default()
208 return (LDAP_SUCCESS);
H A Dcommon.c680 if ((rc = ldaptool_fileurlerr2ldaperr( rc )) != LDAP_SUCCESS) {
1017 return LDAP_SUCCESS;
1234 if ( rc != LDAP_SUCCESS ) {
1250 if (rc != LDAP_SUCCESS ) {
1268 if ( rc == LDAP_SUCCESS ) {
1290 bindctrls, NULL, "ldap_simple_bind" )) == LDAP_SUCCESS ) {
1382 != LDAP_SUCCESS ) {
1426 clientctrls, &msgid )) != LDAP_SUCCESS ) {
1464 != LDAP_SUCCESS ) {
1491 &msgid )) != LDAP_SUCCESS ) {
[all …]
H A Dldaptest.c251 return( LDAP_SUCCESS ); in bind_prompt()
406 if (ldap_get_option(ld, LDAP_OPT_PROTOCOL_VERSION, &i) == LDAP_SUCCESS && i == LDAP_VERSION3){ in main()
407 if ((err = ldap_add_ext( ld, dn, attrs, NULL, NULL, &id )) != LDAP_SUCCESS ) in main()
500 LDAP_SUCCESS ) { in main()
512 if ( ldap_sasl_cram_md5_bind_s(ld, dn, &cred, NULL, NULL) != LDAP_SUCCESS ){ in main()
520 if (ldap_sasl_bind_s(ld, dn, mechanism, &cred, NULL, NULL, &srvcrds ) != LDAP_SUCCESS){ in main()
534 if (ldap_get_option(ld, LDAP_OPT_PROTOCOL_VERSION, &i) == LDAP_SUCCESS && i == LDAP_VERSION3){ in main()
537 if ((err = ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &id )) != LDAP_SUCCESS ) in main()
589 if (ldap_get_option(ld, LDAP_OPT_PROTOCOL_VERSION, &i) == LDAP_SUCCESS && i == LDAP_VERSION3){ in main()
590 if ((err = ldap_modify_ext( ld, dn, mods, NULL, NULL, &id )) != LDAP_SUCCESS ) in main()
[all …]
/titanic_41/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c237 if ( prldap_get_socket_info( s, socketarg, &soi ) != LDAP_SUCCESS ) { in ldapssl_close()
295 if ( prldap_get_session_info( NULL, sessionarg, &sei ) != LDAP_SUCCESS ) { in do_ldapssl_connect()
373 if ( prldap_get_socket_info( intfd, *socketargp, &soi ) != LDAP_SUCCESS ) { in do_ldapssl_connect()
405 if ( prldap_set_socket_info( intfd, *socketargp, &soi ) != LDAP_SUCCESS ) { in do_ldapssl_connect()
482 if ( prldap_get_session_info( ld, NULL, &sei ) == LDAP_SUCCESS ) { in ldapssl_disposehandle()
518 != LDAP_SUCCESS ) { in ldapssl_install_routines()
577 if ( prldap_set_session_info( ld, NULL, &sei ) != LDAP_SUCCESS ) { in ldapssl_install_routines()
614 if ( prldap_get_session_info( ld, NULL, &sei ) == LDAP_SUCCESS ) in ldapssl_set_strength()
652 if ( prldap_get_session_info( ld, NULL, &sei ) != LDAP_SUCCESS ) { in ldapssl_enable_clientauth()
950 if ( prldap_get_session_info( ld, NULL, &sei ) != LDAP_SUCCESS ) { in ldapssl_import_fd()
[all …]

1234