summaryrefslogtreecommitdiffstats
path: root/src/providers/proxy/proxy_id.c
Commit message (Collapse)AuthorAgeFilesLines
* LDAP: Only convert direct parents' ghost attribute to memberJakub Hrozek2012-11-211-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.
* Unify usage of sysdb transactionsMichal Zidek2012-08-231-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).
* Backward GOTOs rewritten into do-while loops.Ondrej Kos2012-08-091-156/+175
|
* Removed unused variable assignmentOndrej Kos2012-08-061-2/+0
| | | | https://fedorahosted.org/sssd/ticket/1453
* Ghost members - support in proxy providerJan Zeleny2012-05-311-6/+8
|
* Potential NULL dereference in proxy providerAriel Barria2012-05-141-1/+1
|
* PROXY: return correct return codesJakub Hrozek2012-05-031-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.
* proxy: new option proxy_fast_aliasJakub Hrozek2012-04-201-43/+118
|
* proxy: Canonicalize user and group namesJakub Hrozek2012-04-201-312/+354
| | | | https://fedorahosted.org/sssd/ticket/1249
* PROXY: Create fake user entries for group lookupsStephen Gallagher2012-03-091-3/+85
|
* Fix uninitialized value error in proxy providerStephen Gallagher2012-02-131-1/+1
| | | | Coverity #12467
* NSS: Add individual timeouts for entry typesStephen Gallagher2012-02-041-7/+7
| | | | https://fedorahosted.org/sssd/ticket/1016
* PROXY: add support for enumerating servicesStephen Gallagher2012-01-271-0/+7
|
* PROXY: add support for service lookups (non-enumeration)Stephen Gallagher2012-01-271-0/+28
|
* Use the case sensitivity flag in the proxy providerJakub Hrozek2011-12-161-150/+144
|
* Cleanup: Remove unused parametersJakub Hrozek2011-11-221-1/+1
|
* Fixed empty loginShell in proxy providerJan Zeleny2011-11-071-4/+32
| | | | https://fedorahosted.org/sssd/ticket/892
* SysDB commands that save lastUpdate allows this value to be passed inPavel Březina2011-10-131-10/+20
| | | | https://fedorahosted.org/sssd/ticket/836
* Use explicit base 10 for converting strings to integersJakub Hrozek2011-10-031-2/+2
| | | | https://fedorahosted.org/sssd/ticket/1013
* New DEBUG facility - conversionPavel Březina2011-08-251-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)
* sysdb refactoring: memory context deletedJan Zeleny2011-08-151-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.
* sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny2011-08-151-9/+9
| | | | | The patch also updates code using modified functions. Tests have also been adjusted.
* Fix proxy provider return code for secondary missing groupsSumit Bose2011-06-151-1/+3
|
* Delete attributes that are removed from LDAPStephen Gallagher2011-01-211-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
* Add a special filter type to handle enumerationsSumit Bose2010-12-021-32/+16
|
* Fix const cast issue with sysdb_attrs_users_from_str_listStephen Gallagher2010-11-151-9/+9
|
* Always use uint32_t for UID/GID numbersJakub Hrozek2010-10-261-4/+3
|
* Implement netgroups for proxy providerSumit Bose2010-10-251-2/+2
|
* Add netgroups infrastructure to proxy providerSumit Bose2010-10-251-0/+14
|
* Use unsigned long for conversion to id_tJakub Hrozek2010-10-181-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.
* Dead assignments cleanup in providers codeJan Zeleny2010-09-081-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
* Fixed uninialized value in proxy_id providerJan Zeleny2010-09-021-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
* Split proxy.c into smaller filesStephen Gallagher2010-06-301-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