Lines Matching defs:conn
2361 struct smbldap_state *conn = ldap_state->smbldap_state;
2388 rc = smbldap_search(conn, lp_ldap_group_suffix(),
2397 count = ldap_count_entries(conn->ldap_struct, result);
2411 entry = ldap_first_entry(conn->ldap_struct, result);
2422 values = ldap_get_values(conn->ldap_struct, entry, "memberUid");
2457 rc = smbldap_search(conn, lp_ldap_user_suffix(),
2464 count = ldap_count_entries(conn->ldap_struct, result);
2469 for (entry = ldap_first_entry(conn->ldap_struct, result);
2471 entry = ldap_next_entry(conn->ldap_struct, entry))
2477 sidstr = smbldap_talloc_single_attribute(conn->ldap_struct,
2513 rc = smbldap_search(conn, lp_ldap_user_suffix(),
2522 for (entry = ldap_first_entry(conn->ldap_struct, result);
2524 entry = ldap_next_entry(conn->ldap_struct, entry))
2528 if (!ldapsam_extract_rid_from_entry(conn->ldap_struct,
2564 struct smbldap_state *conn = ldap_state->smbldap_state;
2597 rc = smbldap_search(conn, lp_ldap_user_suffix(),
2637 rc = smbldap_search(conn, lp_ldap_group_suffix(),
2665 for (entry = ldap_first_entry(conn->ldap_struct, result);
2667 entry = ldap_next_entry(conn->ldap_struct, entry))
2674 if (!smbldap_get_single_attribute(conn->ldap_struct,
2682 if (!smbldap_get_single_attribute(conn->ldap_struct,