summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-03Rename split_service_name_filterJakub Hrozek1-16/+16
The function was used outside services code which was confusing due to its name. This patch renames it to sound more netrual.
2012-05-03Fix typo in spec fileSumit Bose1-1/+1
2012-05-03SYSDB: Handle upgrade script failures betterStephen Gallagher1-4/+13
There was a bug in finish_upgrade() where it would return EOK if it succeeded in canceling the transaction due to an error. We should instead be returning the original error.
2012-05-03AUTOFS: remove unused assignmentsJakub Hrozek2-5/+9
Also changes setautomntent_send so that is only return NULL in case the tevent_req creation fails.
2012-05-03IPA: Check return valuesJakub Hrozek2-2/+12
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-05-03SSS_DEBUGLEVEL: silence analyzer warningsJakub Hrozek1-2/+3
Errno was returned instead of ret. The other hunk removes return code from fread - it is not needed, the NULL termination of the string is ensured by initializing the buffer.
2012-05-02NSS: fix returning group from cacheJakub Hrozek1-1/+1
2012-05-02Handle endianness issues on older systemsStephen Gallagher1-0/+17
Older versions of glibc (like that on RHEL 5) do not have the le32toh() function exposed. We need this for handling the Active Directory ID-mapping, so we'll copy these macros from endian.h on a newer glibc.
2012-05-02DP: return correct error message when subdomains back end target is not ↵Jakub Hrozek1-1/+1
configured The done handler uses the value of status, not ret.
2012-05-02HBAC: Prevent NULL dereference in hbac_evaluateJakub Hrozek1-2/+4
'info' is optional parameter and can be set to NULL
2012-05-02ipa_get_config_send: remove unused assignmentJakub Hrozek1-1/+0
2012-05-02IPA netgroups: return EOK when there are no netgroups to processJakub Hrozek1-0/+1
If the code fell through the loop, ret would have been random value.
2012-05-02NSS: Check return code of sss_mmap_cache_gr_storeJakub Hrozek1-0/+5
2012-05-02PAM_SSS: report error code if write failsJakub Hrozek1-2/+2
clang had reported this as "value of ret is never used", I think it would be nice to report a meaningful error message.
2012-05-02PYHBAC: Return NULL on failureJakub Hrozek1-0/+1
The error handler would simply fall through instead of returning NULL.
2012-05-02RESPONDER: check return value from confdb_get_intJakub Hrozek1-0/+7
sss_process_init forgot to check return value of confdb_get_int
2012-05-02LDAP: check return value of sysdb_attrs_get_elJakub Hrozek1-0/+7
2012-05-02SERVER: use the correct return code of sss_atomic_write_sJakub Hrozek1-1/+1
2012-05-02SSH: return NULL on error in ssh_host_pubkeys_format_known_host_plainJakub Hrozek1-1/+2
The 'result' pointer must be initialized tin order to always return a defined value.
2012-05-02SYSDB: check return valueJakub Hrozek1-2/+2
In addition to testing the number of elements, also check the return value of sysdb_attrs_get_el.
2012-05-02SYSDB: return EOK if empty message is passed into get_rm_msgJakub Hrozek1-0/+1
If the code never entered the loop in get_rm_message, we would return arbitrary return value.
2012-05-02SUDO: Return ret, not EOKJakub Hrozek1-1/+1
This patch fixes bad refactoring - the function used to return value directly on error and EOK as the last statement. If was then converted into using goto label, but the last statement was still returning EOK instead of the value it should.
2012-05-01Allow different SID representations in libidmapSumit Bose6-15/+929
Besides as strings it is now possible to use binary SIDs or a struct containing all SID information. Functions to convert between these formats are added as well.
2012-05-01execv, excvp and exec_child never return EOKStef Walter4-18/+11
* So don't need to handle that case
2012-04-24NSS: Only return data from initgroups onceJakub Hrozek1-3/+10
Do not let nss_cmd_initgroups_search() return data itself, but let the caller return data. This is more intuitive and more consistent with the rest of the nss_cmd_*_search() functions. Also fixes a typo - nss_cmd_initgroups_cb used to call getpw_send_reply instead of initgr_send_reply.
2012-04-24Lowercase group members in case-insensitive domainsJakub Hrozek1-1/+7
https://fedorahosted.org/sssd/ticket/1312
2012-04-24murmurhash: Relax inline requirementStephen Gallagher1-2/+2
2012-04-24Two fixes in responder subdomain codeJan Zeleny2-1/+7
2012-04-24fix copy and paste error in commentPavel Březina1-1/+1
2012-04-24SSH: Add support for hashed known_hostsJan Cholasta10-40/+212
https://fedorahosted.org/sssd/ticket/1203
2012-04-24UTIL: Add HMAC-SHA-1 functionJan Cholasta5-0/+165
2012-04-24Utilize sysdb context within be_req in HBACJan Zeleny1-2/+2
2012-04-24Detect subdomain request in IPA access providerJan Zeleny1-0/+10
2012-04-24Accept be_req instead if be_ctx in LDAP access providerJan Zeleny3-15/+16
2012-04-24Carry sysdb context and domain info in be_req structureJan Zeleny2-0/+5
2012-04-24Basic support for subdomains in auth providerJan Zeleny3-3/+13
2012-04-24Send PAM requests for subdomains to the right providerJan Zeleny1-3/+41
2012-04-24Add ID operations in subdomainsJan Zeleny4-0/+277
2012-04-24Add s2n extended operationSumit Bose3-0/+668
2012-04-24Moved expand_homedir_template() from NSS responder to utility codeJan Zeleny4-108/+170
2012-04-24New config option for subdomainsJan Zeleny4-0/+29
subdomain_homedir - if set, it contains default value, can be overriden in further processing
2012-04-24Add domain name to get_account_info requestSumit Bose3-0/+11
2012-04-24IPA: Add get-domains targetSumit Bose9-0/+447
2012-04-24data provider: added subdomainsSumit Bose7-4/+197
2012-04-24Check sub-domains in nss_cmd_get{pwuid|grgid}_search()Sumit Bose1-4/+26
2012-04-24Ask for subdomains in responder in the first request after startupJan Zeleny1-0/+30
2012-04-24Retrieve subdomains if there is a request for fully qualified userJan Zeleny3-31/+192
2012-04-24Modified responder_get_domain()Jan Zeleny13-22/+51
Now it checks for subdomains as well as for the domain itself
2012-04-24Responder part of the subdomain retrieval workJan Zeleny8-1/+394