Lines Matching defs:ld
73 LDAP *ld = NULL;
92 ld = tool_conn_setup( 0, 0 );
94 tool_bind( ld );
100 tool_server_controls( ld, NULL, 0 );
102 rc = ldap_whoami( ld, NULL, NULL, &id );
125 rc = ldap_cancel( ld, cancelid, NULL, NULL, &id );
155 tool_server_controls( ld, NULL, 0 );
157 rc = ldap_refresh( ld, &dn, ttl, NULL, NULL, &id );
198 tool_server_controls( ld, NULL, 0 );
200 rc = ldap_extended_operation( ld, argv[ 0 ], p ? &reqdata : NULL, NULL, NULL, &id );
215 if ( tool_check_abandon( ld, id ) ) {
216 tool_exit( ld, LDAP_CANCELLED );
222 rc = ldap_result( ld, LDAP_RES_ANY, LDAP_MSG_ALL, &tv, &res );
234 rc = ldap_parse_result( ld, res,
250 rc = ldap_parse_extended_result( ld, res, &retoid, &retdata, 0 );
279 rc = ldap_parse_refresh( ld, res, &newttl );
297 rc = ldap_parse_extended_result( ld, res, &retoid, &retdata, 0 );
342 tool_print_ctrls( ld, ctrls );
354 tool_exit( ld, code == LDAP_SUCCESS ? EXIT_SUCCESS : EXIT_FAILURE );