Lines Matching defs:rc

292     int		rc, i, hostnum;
352 if (( rc = ldap_get_option( NULL, LDAP_OPT_API_INFO, &ldai )) != 0 ) {
675 rc = ldaptool_berval_from_ldif_value( ctrl_value,
680 if ((rc = ldaptool_fileurlerr2ldaperr( rc )) != LDAP_SUCCESS) {
691 if ((rc = saslSetParam(optarg)) == -1) {
1032 int port, rc, user_port;
1063 &&(rc = ldapssl_pkcs_init( &local_pkcs_fns)) < 0) {
1066 rc = PORT_GetError();
1069 rc, ldapssl_err2string( rc ));
1083 &&(rc = ldapssl_client_init( ssl_certdbpath, NULL )) < 0) {
1086 rc = PORT_GetError();
1089 rc, ldapssl_err2string( rc ));
1178 int rc;
1231 rc = ldap_set_option( ld, LDAP_OPT_X_SASL_SECPROPS,
1234 if ( rc != LDAP_SUCCESS ) {
1247 rc = ldap_sasl_interactive_bind_s( ld, binddn, sasl_mech, NULL, NULL,
1250 if (rc != LDAP_SUCCESS ) {
1260 rc = ldaptool_sasl_bind_s( ld, NULL, LDAP_SASL_EXTERNAL, NULL,
1264 rc = ldaptool_simple_bind_s( ld, conv, passwd, bindctrls, NULL,
1268 if ( rc == LDAP_SUCCESS ) {
1278 if ( rc == LDAP_PROTOCOL_ERROR && ldversion > LDAP_VERSION2 ) {
1289 if (( rc = ldaptool_simple_bind_s( ld, conv, passwd,
1308 exit( rc );
1419 int rc, msgid;
1425 if (( rc = ldap_sasl_bind( ld, dn, mechanism, cred, serverctrls,
1429 rc = wait4result( ld, msgid, servercredp, msg );
1432 return( rc );
1461 int rc, msgid;
1463 if (( rc = ldap_add_ext( ld, dn, attrs, serverctrls, clientctrls, &msgid ))
1469 * rc = wait4result( ld, msgid, NULL, msg );
1473 rc = wait4result( ld, LDAP_RES_ANY, NULL, msg );
1476 return( rc );
1488 int rc, msgid;
1490 if (( rc = ldap_modify_ext( ld, dn, mods, serverctrls, clientctrls,
1494 rc = wait4result( ld, msgid, NULL, msg );
1497 return( rc );
1509 int rc, msgid;
1511 if (( rc = ldap_delete_ext( ld, dn, serverctrls, clientctrls, &msgid ))
1515 rc = wait4result( ld, msgid, NULL, msg );
1518 return( rc );
1530 int rc, msgid;
1532 if (( rc = ldap_compare_ext( ld, dn, attrtype, bvalue, serverctrls,
1536 rc = wait4result( ld, msgid, NULL, msg );
1539 return( rc );
1552 int rc, msgid;
1554 if (( rc = ldap_rename( ld, dn, newrdn, newparent, deleteoldrdn,
1558 rc = wait4result( ld, msgid, NULL, msg );
1561 return( rc );
1574 int rc, received_only_unsolicited = 1;
1578 if (( rc = ldap_result( ld, msgid, 1, (struct timeval *)NULL, &res ))
1589 if ( rc == LDAP_RES_EXTENDED
1591 rc = ldaptool_print_extended_response( ld, res,
1594 rc = parse_result( ld, res, servercredp, msg, 1 );
1599 return( rc );
1607 int rc, lderr, errno;
1612 if (( rc = ldap_parse_result( ld, res, &lderr, NULL, NULL, &refs,
1616 return( rc );
1674 if ( servercredp != NULL && ( rc = ldap_parse_sasl_bind_result( ld, res,
1678 return( rc );
1729 int rc;
1736 rc = ldap_create_proxiedauth_control( ld, proxyauth_id, &ctl);
1738 rc = ldap_create_proxyauth_control( ld, proxyauth_id, 1, &ctl);
1740 if ( rc != LDAP_SUCCESS)
1755 int rc;
1757 rc = ldap_create_geteffectiveRights_control( ld, authzid, attrlist, 1,
1760 if ( rc != LDAP_SUCCESS)
2360 int rc, errcode;
2367 if (( rc = FortezzaConfigureServer( ldaptool_fortezza_getpin, fortezza_cardmask,