Lines Matching defs:ldap_state
33 static NTSTATUS add_new_domain_account_policies(struct smbldap_state *ldap_state,
79 rc = smbldap_modify(ldap_state, dn, mods);
83 ldap_get_option(ldap_state->ldap_struct, LDAP_OPT_ERROR_STRING, &ld_error);
105 static NTSTATUS add_new_domain_info(struct smbldap_state *ldap_state,
132 rc = smbldap_search_suffix(ldap_state, filter, attr_list, &result);
139 num_result = ldap_count_entries(ldap_state->ldap_struct, result);
208 rc = smbldap_add(ldap_state, dn, mods);
212 ldap_get_option(ldap_state->ldap_struct,
232 NTSTATUS smbldap_search_domain_info(struct smbldap_state *ldap_state,
259 rc = smbldap_search_suffix(ldap_state, filter, attr_list , result);
268 count = ldap_count_entries(ldap_state->ldap_struct, *result);
283 status = add_new_domain_info(ldap_state, domain_name);
290 status = add_new_domain_account_policies(ldap_state, domain_name);
297 return smbldap_search_domain_info(ldap_state, result, domain_name, False);