summaryrefslogtreecommitdiff
path: root/src/providers
AgeCommit message (Collapse)AuthorFilesLines
2012-03-28Add terminator for dp_optionStephen Gallagher4-5/+12
2012-03-28Put dp_option maps in their own fileStephen Gallagher6-512/+610
There is no functional change due to this patch.
2012-03-26LDAP: Fix memory leaks in synchronous_tls_setupStephen Gallagher1-8/+10
We were never freeing "result" if it was allocated by ldap_result(). We were also not freeing "errmsg" if it was allocated but ldap_parse_result() returned an error. Also disambiguate error messages from ldap_parse_result() and error messages from sss_ldap_get_diagnostic_msg() since they use differing memory-management functions.
2012-03-26LDAP services: Keep the protocol aroundJakub Hrozek1-0/+1
2012-03-21LDAP: Add better error logging when ldap_result() failsStephen Gallagher1-1/+3
2012-03-21Make the string_equal() function publicJakub Hrozek1-13/+4
2012-03-16LDAP: Errors retrieving the RootDSE should not be fatalStephen Gallagher1-15/+8
If we can't reach the RootDSE, let's just proceed as if it's unavailable with reasonable defaults. If we fail later on, that's fine. Fixes https://fedorahosted.org/sssd/ticket/1257
2012-03-16Fix uninitialized variableJakub Hrozek1-1/+1
2012-03-16IPA: Allow service lookupsStephen Gallagher1-0/+1
2012-03-14LDAP: Add AD 2008r2 schemaStephen Gallagher1-2/+49
https://fedorahosted.org/sssd/ticket/1031
2012-03-12IPA: Initialize hbac_ctx to NULLStephen Gallagher1-1/+1
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-03-09Missing debug message if sdap_sudo_refresh_set_timer failsPavel Březina1-1/+5
https://fedorahosted.org/sssd/ticket/1238
2012-03-09IPA: Check nsAccountLock during PAM_ACCT_MGMTStephen Gallagher4-1/+69
https://fedorahosted.org/sssd/ticket/1227
2012-03-09LDAP: Make sdap_access_send/recv publicStephen Gallagher2-12/+17
We want to consume this in the IPA provider.
2012-03-08Fix nested groups processingJakub Hrozek1-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.
2012-03-08Detect cycle in the fail over on subsequent resolve requests onlyJakub Hrozek5-23/+28
2012-03-06krb5_child: set debugging soonerJakub Hrozek2-23/+35
2012-03-06Only do one cycle when resolving a serverJakub Hrozek7-37/+105
https://fedorahosted.org/sssd/ticket/1214
2012-03-05Use proper errno codeJakub Hrozek1-1/+1
2012-03-05DP: Reorganize memory hierarchy of requestsStephen Gallagher1-24/+108
This function alters the memory hierarchy of the be_req to ensure memory safety during shutdown. It creates a spy on the be_cli object so that it will free the be_req if the client is freed. It is generally allocated atop the private data context for the appropriate back-end against which it is being filed. https://fedorahosted.org/sssd/ticket/1226
2012-03-05IPA: Fix segfault with srchost functionality enabledStephen Gallagher1-1/+1
https://fedorahosted.org/sssd/ticket/1215
2012-03-01IPA: Set the DNS discovery domain to match ipa_domainStephen Gallagher5-8/+17
https://fedorahosted.org/sssd/ticket/1217
2012-02-29Keep sysdb context in domain info structSumit Bose1-8/+2
2012-02-27PAM: Don't send PAM_SYSTEM_INFO message if module unsetStephen Gallagher1-7/+3
We now have a session module that is only available for the IPA provider. We should not be logging noisily that other providers do not have the session provider configured. https://fedorahosted.org/sssd/ticket/1211
2012-02-26LDAP: Remove unnecessary filter sanitizeStephen Gallagher1-11/+5
The orig_dn here isn't being passed to a filter and therefore must not be santized, as the sanitization process would break DNs that contain (among other things) parentheses.
2012-02-26SSH: Save SSH host name aliasesJan Cholasta2-30/+11
2012-02-24Modifications to simplify list_missing_attrsJan Zeleny8-44/+21
2012-02-24Delete missing attributes from netgroups to be storedJan Zeleny3-3/+28
https://fedorahosted.org/sssd/ticket/1136
2012-02-24IPA hosts refactoringJan Zeleny16-154/+132
2012-02-24LDAP: Only use paging control on requests for multiple entriesStephen Gallagher16-40/+100
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
2012-02-23AUTOFS: Search all search bases for automounter map entriesJakub Hrozek1-18/+86
https://fedorahosted.org/sssd/ticket/1168
2012-02-23LDAP: Properly assign orig_dnStephen Gallagher1-0/+1
This was only used for properly identifying debug messages.
2012-02-23Save errno value before calling DEBUGJakub Hrozek1-2/+4
2012-02-23IPA: Add ipa_parse_search_base()Stephen Gallagher3-19/+72
Previously, we were using sdap_parse_search_base() for setting up the search_base objects for use in IPA. However, this was generating unfriendly log messages about unknown search base types. This patch creates a new common_parse_search_base() routine that can be used with either LDAP or IPA providers. https://fedorahosted.org/sssd/ticket/1151
2012-02-21Don't give memory context in confdb where not neededJan Zeleny4-8/+7
2012-02-21End request if ldap_parse_result failsJakub Hrozek1-0/+3
2012-02-17LDAP: Ignore group member users that do not have name attributesStephen Gallagher1-2/+2
Instead of failing the group lookup, just skip them. This was impacting some users of ActiveDirectory where not all users had the appropriate attributes. https://fedorahosted.org/sssd/ticket/1169
2012-02-17Redesign purging of the sudo cachePavel Březina1-19/+55
https://fedorahosted.org/sssd/ticket/1173
2012-02-14Fix memory hierarchy when processing nested group membershipsJakub Hrozek4-11/+14
https://fedorahosted.org/sssd/ticket/1186
2012-02-13Fix uninitialized value error in proxy providerStephen Gallagher1-1/+1
Coverity #12467
2012-02-13Fix bad failure handling in be_sudo_handler()Stephen Gallagher1-13/+13
If the dbus_message_get_args() failed, we would have been dereferencing a NULL be_req. Coverity #12490
2012-02-13Fix uninitialized in_transactionStephen Gallagher1-1/+1
Coverity #12521 and #12491
2012-02-13Add missing breaks to switch statementsStephen Gallagher2-0/+2
Coverity #12525 and #12524
2012-02-13Remove dead codeStephen Gallagher1-9/+0
Coverity #12529
2012-02-10Fixed issue with netgroup update in IPA providerJan Zeleny1-24/+34
This issue led to a netgroup with one triple (-,-,domain) when it contained no triples on the IPA server.
2012-02-10Use curly braces in pkgconfig metadata fileSumit Bose1-1/+1
2012-02-07AUTOFS: IPA providerJakub Hrozek6-28/+195