summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_initgroups.c
Commit message (Collapse)AuthorAgeFilesLines
* LDAP: remove dead assignmentJakub Hrozek2012-12-141-1/+0
|
* LDAP: Continue adjusting group membership even if there is nothing to add1.9.2-37Jakub Hrozek2012-12-071-2/+1
| | | | https://fedorahosted.org/sssd/ticket/1695
* sdap_add_incomplete_groups(): fix ret may be uninitialized warningPavel Březina2012-09-241-1/+1
|
* AD: Optimize initgroups lookups with tokenGroupsStephen Gallagher2012-09-241-4/+20
| | | | https://fedorahosted.org/sssd/ticket/1355
* Unify usage of sysdb transactionsMichal Zidek2012-08-231-27/+47
| | | | | | Removing bad examples of usage of sysdb_transaction_start/commit/end functions and making it more consistent (all files except of src/db/sysdb_*.c).
* Remove compilation warning: ret may be uninitializedPavel Březina2012-08-211-0/+2
|
* Process all groups from a single nesting levelJakub Hrozek2012-08-211-4/+14
| | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=846664 If the first group was cached when processing the nested group membership, we would call tevent_req_done, effectivelly marking the whole nesting level as done.
* When ldap_group_nesting_level was reached, the LDAP provider tried to link ↵Michal Zidek2012-08-101-1/+45
| | | | | | group members with groups outside nesting limit. https://fedorahosted.org/sssd/ticket/1194
* LDAP: Auto-detect support for the ldap match ruleStephen Gallagher2012-06-131-1/+3
| | | | | | | | This patch extends the RootDSE lookup so that we will perform a second request to test whether the match rule syntax can be used. If both groups and initgroups are disabled in the configuration, this lookup request can be skipped.
* LDAP: Add support for AD chain matching extension in initgroupsStephen Gallagher2012-06-131-9/+20
|
* LDAP: Make sdap_initgr_common_store() non-staticStephen Gallagher2012-06-121-7/+7
| | | | | Move it to a private header so it can be reused by other initgroups C files.
* LDAP: Add helper function to get list of a user's groups from sysdbStephen Gallagher2012-06-121-33/+64
|
* LDAP: Fix incorrect switch statement in sdap_get_initgr_done()Stephen Gallagher2012-06-121-1/+1
| | | | | | | SDAP_SCHEMA_AD needs to be calling sdap_initgr_rfc2307bis_recv(), not sdap_initgr_nested_recv(). By coincidence both recv functions happened to be identical, but if one or the other changed, this would break unexpectedly.
* Utilize attribute exclusion in LDAP initgroupsJan Zeleny2012-05-311-3/+33
| | | | | | | | | | Previous patch added the possibility to exclude some attributes from a map when building an attribute list to be sent to server. The original reason for this functionality is the code handling LDAP initgroups. In this code, there is no need to fetch members of groups in question. This can save some performance since the list of members can be pretty long in some cases. This case apllies only to RFC2307 and generic RFC2307bis, it doesn't apply for IPA schema.
* Add support for filtering atributesJan Zeleny2012-05-311-10/+10
| | | | | This patch adds support for filtering attributes when constructing attribute list from a map for LDAP query.
* Ghost members - removed sdap_check_aliases()Jan Zeleny2012-05-311-7/+0
| | | | | | | This function is no longer necessary because we don't have fake user entries any more. The original purpose of this function was to check if there are fake user entries for particular user and, if yes, to update its membership.
* LDAP: Add attr_count return value to build_attrs_from_map()Stephen Gallagher2012-05-101-5/+5
| | | | | | | This is necessary because in several places in the code, we are appending to the attrs returned from this value, and if we relied on the map size macro, we would be appending after the NULL terminator if one or more attributes were defined as NULL.
* LDAP: Treat groups with unmappable SIDs as non-POSIX groupsStephen Gallagher2012-05-031-9/+12
|
* LDAP: Add helper function to map IDsStephen Gallagher2012-05-031-16/+5
| | | | | This function will also auto-create a new ID map if the domain has not been seen previously.
* LDAP: Add helper routine to convert LDAP blob to SID stringStephen Gallagher2012-05-031-28/+144
|
* Fix nested groups processingJakub Hrozek2012-03-081-26/+60
| | | | | | | Instead of keeping the number of parent groups in "state" and having to reset the count when moving to another group on the same level, keep track of the all groups on a particular level along with their parents and parent count.
* Use proper errno codeJakub Hrozek2012-03-051-1/+1
|
* Modifications to simplify list_missing_attrsJan Zeleny2012-02-241-1/+1
|
* LDAP: Only use paging control on requests for multiple entriesStephen Gallagher2012-02-241-6/+12
| | | | | | | | | | The paging control can cause issues on servers that put limits on how many paging controls can be active at one time (on some servers, it is limited to one per connection). We need to reduce our usage so that we only activate the paging control when making a request that may return an arbitrary number of results. https://fedorahosted.org/sssd/ticket/1202 phase one
* LDAP: Properly assign orig_dnStephen Gallagher2012-02-231-0/+1
| | | | This was only used for properly identifying debug messages.
* Fix memory hierarchy when processing nested group membershipsJakub Hrozek2012-02-141-6/+8
| | | | https://fedorahosted.org/sssd/ticket/1186
* LDAP: Fix incorrect search timeoutsStephen Gallagher2012-02-041-1/+1
|
* LDAP: Do not fail if RootDSE check cannot determine search basesStephen Gallagher2012-02-041-1/+34
| | | | https://fedorahosted.org/sssd/ticket/1152
* Use the case sensitivity flag in the LDAP providerJakub Hrozek2011-12-161-4/+13
|
* Use dereference during IPA provider initgroupsJakub Hrozek2011-11-301-40/+149
| | | | https://fedorahosted.org/sssd/ticket/1099
* Cleanup: Remove unused parametersJakub Hrozek2011-11-221-16/+7
|
* Squash transactions in sdap_initgr_common_storeJakub Hrozek2011-11-111-6/+25
| | | | https://fedorahosted.org/sssd/ticket/1053
* Use correct state struct in sdap_initgr_rfc2307bis_next_baseJakub Hrozek2011-11-071-2/+3
|
* Fix segfault in sdap_get_initgr_userJakub Hrozek2011-11-071-1/+2
|
* LDAP: Add multiple search bases for initgroups (RFC2307bis groups)Stephen Gallagher2011-11-021-77/+225
|
* LDAP: Add multiple search bases for initgroups (RFC2307 groups)Stephen Gallagher2011-11-021-17/+99
|
* LDAP: Add multiple search bases for initgroups (users)Stephen Gallagher2011-11-021-30/+72
|
* Steal result onto mem_ctx in sdap_initgr_nested_get_direct_parentsJakub Hrozek2011-10-311-2/+1
|
* RFC2307bis initgroups: fix nested groups processingJakub Hrozek2011-10-311-20/+33
| | | | | Due to incorrectly written loop, SSSD would go into infitite loop if it processed the same group on two different levels of membership.
* Plug memory leaks in LDAP providerJakub Hrozek2011-10-251-0/+3
|
* Cancel transactions correctly during initgroupsJakub Hrozek2011-10-171-13/+31
|
* Use fewer transactions during IPA initgroupsJakub Hrozek2011-10-171-171/+273
|
* Use fewer transactions during RFC2307bis initgroupsJakub Hrozek2011-10-171-346/+366
|
* Utility functions for LDAP nested schema initgroupsJakub Hrozek2011-10-171-0/+119
|
* SysDB commands that save lastUpdate allows this value to be passed inPavel Březina2011-10-131-2/+4
| | | | https://fedorahosted.org/sssd/ticket/836
* Store name aliases for users, groupsJakub Hrozek2011-09-281-0/+7
| | | | | | Also checks fake users for aliases when storing a real users so that getgrnam for a RFC2307 group that references a user by his secondary name followed by getpwnam for this user by his primary name works
* Add a sysdb_get_direct_parents functionJakub Hrozek2011-09-281-57/+5
|
* Moved some functions in sdap_async_initgroupsJan Zeleny2011-08-151-345/+349
|
* sdap_async_accounts.c splitJan Zeleny2011-08-151-0/+2049
The file has been split in three: sdap_async_users.c sdap_async_groups.c sdap_async_initgroups.c https://fedorahosted.org/sssd/ticket/864