summaryrefslogtreecommitdiff
path: root/src/providers/proxy
AgeCommit message (Collapse)AuthorFilesLines
2013-09-11Fix formating of variables with type: gid_tLukas Slebodnik1-10/+11
2013-09-11Fix formating of variables with type: uid_tLukas Slebodnik1-4/+7
2013-09-11Fix formating of variables with type: id_tLukas Slebodnik1-0/+2
2013-09-11Fix formating of variables with type defined in stdint.hLukas Slebodnik2-3/+4
2013-09-11Fix formating of variables with type: unsigned longLukas Slebodnik1-1/+1
2013-09-03PROXY: Handle empty GECOSJakub Hrozek1-1/+8
If the user's GECOS as returned by the proxied module is an empty string (as opposed to NULL), the ldb transaction would error out.
2013-08-22proxy: Allow initgroup to return NOTFOUNDSimo Sorce1-0/+16
When the user is only member of its own primary group, initgroups_dyn may return NOTFOUND as, at least for the 'files' nss provider the code skips the passed in group. Resolves: https://fedorahosted.org/sssd/ticket/2051
2013-08-19Remove include recursionLukas Slebodnik1-1/+0
Header file proxy.h included itself.
2013-08-19proxy: Alocate auth tokens in struct authtok_convLukas Slebodnik1-0/+20
Struct sss_auth_token became opaque in commit 9acfb09f7969a69f58bd45c856b01700541853ca. All ocasions of "struct sss_auth_token" was replaced with pointer to this struct, but proper initialization of auth_tokens was missing in struct authtok_conv. Resolves: https://fedorahosted.org/sssd/ticket/2046
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-04-03Check for correct variable nameJakub Hrozek1-1/+1
https://fedorahosted.org/sssd/ticket/1864
2013-04-02Making the authtok structure really opaque.Lukas Slebodnik3-14/+10
Definition of structure sss_auth_token was removed from header file authtok.h and there left only declaration of this structure. Therefore only way how to use this structure is to use accessory function from same header file. To creating new empty authotok can only be used newly created function sss_authtok_new(). TALLOC context was removed from copy and setter functions, because pointer to stuct sss_auth_token is used as a memory context. All declaration of struct sss_auth_token variables was replaced with pointer to this structure and related changes was made in source code. Function copy_pam_data can copy from argument src which was dynamically allocated with function create_pam_data() or zero initialized struct pam_data allocated on stack. https://fedorahosted.org/sssd/ticket/1830
2013-01-21Add be_req_get_data() helper funciton.Simo Sorce2-3/+3
In preparation for making struct be_req opaque.
2013-01-21Add be_req_get_be_ctx() helper.Simo Sorce3-16/+17
In preparation for making be_req opaque
2013-01-21Introduce be_req_terminate() helperSimo Sorce5-60/+25
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 Sorce2-2/+2
The sysdb context is already available through the 'domain' structure.
2013-01-16Remove outdated code.Simo Sorce1-10/+0
This code should not be necessary anymore since June 2010 with commit: 90acbcf20b5f896ca8f631923afe946c90d90de7
2013-01-15Add domain arguments to sysdb services functionsSimo Sorce1-2/+2
also fix sysdb_svc_add declarations
2013-01-15Add domain argument to sysdb_remove_attrs()Simo Sorce1-4/+5
2013-01-15Add domain arg to sysdb_search/delete_netgroup()Simo Sorce1-6/+6
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_cache_password()Simo Sorce1-0/+1
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 arguments to sysdb_add_inetgroup fns.Simo Sorce1-2/+4
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
2013-01-10Change pam data auth tokens.Simo Sorce3-33/+39
Use the new authtok abstraction and interfaces throught the code.
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-10-29Include talloc log in our debug facilityMichal Zidek1-1/+1
https://fedorahosted.org/sssd/ticket/1495
2012-08-23Unify usage of sysdb transactionsMichal Zidek2-5/+35
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 Kos2-245/+271
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 Hrozek3-43/+123
2012-04-20proxy: Canonicalize user and group namesJakub Hrozek1-312/+354
https://fedorahosted.org/sssd/ticket/1249
2012-03-29Proxy services: Save lowercased protocol names and aliases in ↵Jakub Hrozek1-57/+17
case-insensitive domains
2012-03-09Handle empty elements in proxy netgroups:Jakub Hrozek1-3/+6
2012-03-09Fix netgroup error handlingJakub Hrozek1-17/+59
https://fedorahosted.org/sssd/ticket/1242
2012-03-09PROXY: Create fake user entries for group lookupsStephen Gallagher1-3/+85
2012-02-24Delete missing attributes from netgroups to be storedJan Zeleny1-1/+1
https://fedorahosted.org/sssd/ticket/1136
2012-02-13Fix uninitialized value error in proxy providerStephen Gallagher1-1/+1
Coverity #12467
2012-02-04NSS: Add individual timeouts for entry typesStephen Gallagher5-17/+12
https://fedorahosted.org/sssd/ticket/1016
2012-01-31SYSDB: extend sysdb_store_service() to accept additional attributesStephen Gallagher1-0/+2