summaryrefslogtreecommitdiff
path: root/src/providers/proxy/proxy_id.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-02Add secid filter to responder-dp protocolSumit Bose1-0/+6
This patch add a new filter type to the data-provider interface which can be used for SID-based lookups.
2013-01-21Add be_req_get_data() helper funciton.Simo Sorce1-1/+1
In preparation for making struct be_req opaque.
2013-01-21Add be_req_get_be_ctx() helper.Simo Sorce1-5/+6
In preparation for making be_req opaque
2013-01-21Introduce be_req_terminate() helperSimo Sorce1-17/+17
Call it everywhere instead of directly dereferencing be_req->fn This is in preparation of making be_req opaque.
2013-01-21Remove sysdb as a be context structure memberSimo Sorce1-1/+1
The sysdb context is already available through the 'domain' structure.
2013-01-15Add domain argument to sysdb_delete_group()Simo Sorce1-2/+2
Also remove sysdb_delete_domgroup()
2013-01-15Add domain argument to sysdb_delete_user()Simo Sorce1-8/+12
Also remove sysdb_delete_domuser()
2013-01-15Add domain argument to sysdb_store_group()Simo Sorce1-1/+1
Also remove sysdb_store_domgroup()
2013-01-15Add domain argument to sysdb_store_user()Simo Sorce1-9/+9
Also remove sysdb_store_domuser()
2013-01-15Add domain to sysdb_search_user_by_name()Simo Sorce1-3/+5
Also remove unused sysdb_search_domuser_by_name()
2013-01-15Pass domain to sysdb_get<pwu/grg><id() functionsSimo Sorce1-3/+3
2012-12-17PROXY: fix groups cachingOndrej Kos1-0/+6
https://fedorahosted.org/sssd/ticket/1685 Properly react on deleting group which was not found in sysdb.
2012-12-10PROXY: fix negative cacheOndrej Kos1-20/+24
https://fedorahosted.org/sssd/ticket/1685 The PROXY provider wasn't storing credentials to negative cache due to bad return value. This was delegated from attempt to delete these credentials from local cache. Therefore ENOENT is replaced as EOK.
2012-12-04Use an entry type mask macro to filter entry typesSimo Sorce1-1/+1
Avoids hardcoding magic numbers everywhere and self documents why a mask is being applied.
2012-11-20LDAP: Only convert direct parents' ghost attribute to memberJakub Hrozek1-0/+1
https://fedorahosted.org/sssd/ticket/1612 This patch changes the handling of ghost attributes when saving the actual user entry. Instead of always linking all groups that contained the ghost attribute with the new user entry, the original member attributes are now saved in the group object and the user entry is only linked with its direct parents. As the member attribute is compared against the originalDN of the user, if either the originalDN or the originalMember attributes are missing, the user object is linked with all the groups as a fallback. The original member attributes are only saved if the LDAP schema supports nesting.
2012-08-23Unify usage of sysdb transactionsMichal Zidek1-4/+30
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).
2012-08-09Backward GOTOs rewritten into do-while loops.Ondrej Kos1-156/+175
2012-08-06Removed unused variable assignmentOndrej Kos1-2/+0
https://fedorahosted.org/sssd/ticket/1453
2012-05-31Ghost members - support in proxy providerJan Zeleny1-6/+8
2012-05-14Potential NULL dereference in proxy providerAriel Barria1-1/+1
2012-05-03PROXY: return correct return codesJakub Hrozek1-7/+9
We were reporting on the value of "status" instead of "ret'. We also didn't set ret to EOK in cases group contained no members.
2012-04-20proxy: new option proxy_fast_aliasJakub Hrozek1-43/+118
2012-04-20proxy: Canonicalize user and group namesJakub Hrozek1-312/+354
https://fedorahosted.org/sssd/ticket/1249
2012-03-09PROXY: Create fake user entries for group lookupsStephen Gallagher1-3/+85
2012-02-13Fix uninitialized value error in proxy providerStephen Gallagher1-1/+1
Coverity #12467
2012-02-04NSS: Add individual timeouts for entry typesStephen Gallagher1-7/+7
https://fedorahosted.org/sssd/ticket/1016
2012-01-27PROXY: add support for enumerating servicesStephen Gallagher1-0/+7
2012-01-27PROXY: add support for service lookups (non-enumeration)Stephen Gallagher1-0/+28
2011-12-16Use the case sensitivity flag in the proxy providerJakub Hrozek1-150/+144
2011-11-22Cleanup: Remove unused parametersJakub Hrozek1-1/+1
2011-11-07Fixed empty loginShell in proxy providerJan Zeleny1-4/+32
https://fedorahosted.org/sssd/ticket/892
2011-10-13SysDB commands that save lastUpdate allows this value to be passed inPavel Březina1-10/+20
https://fedorahosted.org/sssd/ticket/836
2011-10-03Use explicit base 10 for converting strings to integersJakub Hrozek1-2/+2
https://fedorahosted.org/sssd/ticket/1013
2011-08-25New DEBUG facility - conversionPavel Březina1-1/+1
https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
2011-08-15sysdb refactoring: memory context deletedJan Zeleny1-9/+9
This patch deletes memory context parameter in those places in sysdb where it is not necessary. The code using modified functions has been updated. Tests updated as well.
2011-08-15sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny1-9/+9
The patch also updates code using modified functions. Tests have also been adjusted.
2011-06-15Fix proxy provider return code for secondary missing groupsSumit Bose1-1/+3
2011-01-21Delete attributes that are removed from LDAPStephen Gallagher1-4/+8
Sometimes, a value in LDAP will cease to exist (the classic example being shadowExpire). We need to make sure we purge that value from SSSD's sysdb as well. https://fedorahosted.org/sssd/ticket/750
2010-12-02Add a special filter type to handle enumerationsSumit Bose1-32/+16
2010-11-15Fix const cast issue with sysdb_attrs_users_from_str_listStephen Gallagher1-9/+9
2010-10-26Always use uint32_t for UID/GID numbersJakub Hrozek1-4/+3
2010-10-25Implement netgroups for proxy providerSumit Bose1-2/+2
2010-10-25Add netgroups infrastructure to proxy providerSumit Bose1-0/+14
2010-10-18Use unsigned long for conversion to id_tJakub Hrozek1-2/+2
We used strtol() on a number of places to convert into uid_t or gid_t from a string representation such as LDAP attribute, but on some platforms, unsigned long might be necessary to store big id_t values. This patch converts to using strtoul() instead.
2010-09-08Dead assignments cleanup in providers codeJan Zeleny1-2/+0
Dead assignments were deleted. Also prototype of function sdap_access_decide_offline() has been changed, since its return code was never used. Ticket: #586
2010-09-02Fixed uninialized value in proxy_id providerJan Zeleny1-0/+2
In function get_pw_name when allocation of memory fails, there were two codepaths which could cause printing of undefined value. This patch fixes both cases. Ticket: #580
2010-06-30Split proxy.c into smaller filesStephen Gallagher1-0/+1155
proxy.c was growing too large to manage (and some graphical development tools could no longer open it because of memory limitations). This patch splits proxy.c into the following files: proxy_init.c: Setup routines for the plugin proxy_id.c: Functions to handle user and group lookups proxy_auth.c: Functions to handle PAM interactions proxy_common.c: Common utility routines