• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/libads/

Lines Matching defs:ld

80 static int ldap_search_with_timeout(LDAP *ld,
104 result = ldap_search_ext_s(ld, base, scope, filter, attrs,
377 ads->ld = NULL;
430 if ( (ads->ld = ldap_open_with_timeout(ads->config.ldap_server_name,
442 ldap_set_option(ads->ld, LDAP_OPT_PROTOCOL_VERSION, &version);
444 status = ADS_ERROR(smb_ldap_start_tls(ads->ld, version));
459 return ADS_ERROR(ldap_simple_bind_s( ads->ld, NULL, NULL));
463 return ADS_ERROR(ldap_simple_bind_s( ads->ld, ads->auth.user_name, ads->auth.password));
609 ldap_get_option(ads->ld, LDAP_OPT_PROTOCOL_VERSION, &version);
684 ldap_set_option(ads->ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF);
686 rc = ldap_search_with_timeout(ads->ld, utf8_path, scope, utf8_expr,
700 rc = ldap_parse_result(ads->ld, *res, NULL, NULL, NULL,
904 ldap_set_option(ads->ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF);
906 rc = ldap_search_with_timeout(ads->ld, utf8_path, scope, utf8_expr,
983 utf8_dn = ldap_get_dn(ads->ld, msg);
1213 ret = ldap_modify_ext_s(ads->ld, utf8_dn,
1241 ret = ldap_add_s(ads->ld, utf8_dn, (LDAPMod**)mods);
1261 ret = ldap_delete_s(ads->ld, utf8_dn);
1855 for (utf8_field=ldap_first_attribute(ads->ld,
1858 utf8_field=ldap_next_attribute(ads->ld,
1869 utf8_vals = ldap_get_values(ads->ld,
1876 ber_vals = ldap_get_values_len(ads->ld,
1900 return ldap_count_entries(ads->ld, (LDAPMessage *)res);
1911 return ldap_first_entry(ads->ld, res);
1922 return ldap_next_entry(ads->ld, res);
1941 values = ldap_get_values(ads->ld, msg, field);
1972 values = ldap_get_values(ads->ld, msg, field);
2035 for (attr = ldap_first_attribute(ads->ld, (LDAPMessage *)msg, &ptr);
2037 attr = ldap_next_attribute(ads->ld, (LDAPMessage *)msg, ptr)) {
2137 values = ldap_get_values(ads->ld, msg, field);
2162 values = ldap_get_values(ads->ld, msg, "objectGUID");
2192 values = ldap_get_values_len(ads->ld, msg, field);
2220 values = ldap_get_values_len(ads->ld, msg, field);
2267 values = ldap_get_values_len(ads->ld, msg, field);
2384 if ( !ads->ld ) {
2445 if ( !ads->ld ) {
2998 rc = ldap_delete_ext_s(ads->ld, hostnameDN, pldap_control, NULL);