summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-02-04SUDO Integration - in-memory cache in responderPavel Březina7-9/+455
New sudo responder option: cache_timeout https://fedorahosted.org/sssd/ticket/1111
2012-02-04NSS: Add individual timeouts for entry typesStephen Gallagher23-43/+164
https://fedorahosted.org/sssd/ticket/1016
2012-02-04LDAP: Fix incorrect search timeoutsStephen Gallagher2-2/+2
2012-02-04LDAP: Do not fail if RootDSE check cannot determine search basesStephen Gallagher9-5/+95
https://fedorahosted.org/sssd/ticket/1152
2012-02-04NSS: Use sss_hash_create instead of destructorJakub Hrozek2-13/+2
2012-02-02RESPONDERS: Provide a common sss_cmd_send_error functionJakub Hrozek3-13/+19
The common function could be reused in new responders
2012-02-01Use profiling Docbook XSLT only if available, fall back to normalJakub Hrozek2-10/+12
2012-02-01Fixed wrong position of ldap_service_search_baseJan Zeleny1-1/+1
The wrong position in configuration directive array caused problems in IPA provider, which tried to fetch another value instead of the services lookup base.
2012-01-31Refactor nss_cmd_send_emptyJakub Hrozek6-41/+46
2012-01-31SYSDB: index sudoUserJakub Hrozek3-1/+99
Most of the the searches in the Sudo responder include the sudoUser attribute. Indexing it will make the responder faster.
2012-01-31KRB5: Add syslog messages for Kerberos failuresStephen Gallagher2-0/+9
https://fedorahosted.org/sssd/ticket/1137
2012-01-31LDAP: Add new options for service mapsStephen Gallagher4-1/+89
Adds the new service map options to the SSSDConfig API and the manpages.
2012-01-31IPA: Add support for services lookups (non-enum)Stephen Gallagher3-1/+42
2012-01-31LDAP: Add enumeration support for servicesStephen Gallagher7-3/+215
2012-01-31LDAP: Add support for service lookups (non-enum)Stephen Gallagher8-0/+891
2012-01-31SYSDB: Add sysdb_attrs_get_uint16_tStephen Gallagher2-0/+28
2012-01-31SYSDB: extend sysdb_store_service() to accept additional attributesStephen Gallagher6-21/+47
2012-01-30SUDO: Provide documentation for the SUDO APIJakub Hrozek2-0/+1658
2012-01-30docs: Use absolute srcdir pathJakub Hrozek2-4/+4
Building docs only worked in parallel builds. This patch uses abs_top_srcdir to make building documentation work in both parallel and in-tree builds.
2012-01-30Include sudo manual pages only conditionallyJakub Hrozek3-11/+44
2012-01-30SUDO Integration - manual pagePavel Březina2-1/+212
https://fedorahosted.org/sssd/ticket/1109
2012-01-30SSSDConfigAPI: Move sssd.api.* to /usr/share/sssdStephen Gallagher1-4/+4
https://fedorahosted.org/sssd/ticket/1158
2012-01-30Fix sudo compilation on RHEL5Jakub Hrozek3-0/+5
2012-01-27SUDO Integration - test client changedPavel Březina1-78/+13
Without user name given it displays cn=defaults record. Client no longer display raw data. https://fedorahosted.org/sssd/ticket/1143
2012-01-27SUDO Integration - SUDO API can request only cn=defaults recordPavel Březina3-26/+44
https://fedorahosted.org/sssd/ticket/1143
2012-01-27SUDO Integration - responder command for cn=defaultsPavel Březina5-18/+94
https://fedorahosted.org/sssd/ticket/1143
2012-01-27SUDO Integration - prepare data provider for new responder commandsPavel Březina7-200/+287
https://fedorahosted.org/sssd/ticket/1143
2012-01-27SUDO Integration - make sysdb_get_sudo_filter() more configurablePavel Březina3-48/+73
https://fedorahosted.org/sssd/ticket/1143
2012-01-27Rename sss_dp_type to sss_dp_sudo_typeStephen Gallagher2-4/+4
I pushed an older version of this patch that had the incorrect name. This is the interdiff.
2012-01-27Use the new SUDO request in DP and sudo responderJakub Hrozek4-235/+115
Also remove the old request implementation https://fedorahosted.org/sssd/ticket/1115
2012-01-27SUDO: Provide a sudo DP request based on the internal_reqJakub Hrozek3-0/+145
2012-01-27PROXY: add support for enumerating servicesStephen Gallagher4-0/+226
2012-01-27NSS: Add service enumeration support to NSS providerStephen Gallagher3-1/+662
2012-01-27SYSDB: add support for enumerating servicesStephen Gallagher2-0/+55
2012-01-27NSS: Add client support for [set|get|end]servent()Stephen Gallagher1-4/+125
2012-01-27DP: Refactor responder_dp_req so it's reusable by other respondersJakub Hrozek3-240/+349
* the internal request is now more generic and is decoupled from account-specific data. There is a new sss_dp_issue_request() wrapper that issues a BE request or registers a callback * the public requests all use struct sss_dp_req_state as the tevent_req state data. This allows to report back data from the internal request even if the caller is just a callback notifier * each specific request now uses an _info structure that contains all the data necessary to construct a DBusMessage passed to provider * each specific request now defines a sss_dp_get_$data_msg callback that is called from the sss_dp_issue_request() common wraper. The purpose of the wrapper is to construct a DBusMessage and bind it to a DBus method so the message can be just sent over to back end The miscellanous changes include: * change SSS_DP_ constants to an enum. This way, a switch() would error if a value is not handled. * rename sss_dp_get_account_int_send() to sss_dp_internal_get_send() request because the internal request is going to handle more than just account data * the DBus return values were renamed from err_maj, err_min to dp_err and dp_ret respectively
2012-01-27PROXY: add support for service lookups (non-enumeration)Stephen Gallagher4-0/+273
2012-01-27NSS: Add getservbyname and getservbyport support to the NSS ResponderStephen Gallagher3-0/+1209
2012-01-27NSS: Add negative cache routines for servicesStephen Gallagher2-3/+132
2012-01-27DP: Add support for services in dp requestsStephen Gallagher3-0/+5
2012-01-27NSS: Add client support for services (non-enumeration)Stephen Gallagher3-5/+388
2012-01-27SYSDB: Add indexes for servicePort and serviceProtocolStephen Gallagher4-2/+118
2012-01-27SYSDB: Add sysdb routines for manipulating service entriesStephen Gallagher3-0/+1131
2012-01-27DP: Handle parsing extra results in be_get_account_infoStephen Gallagher2-33/+70
2012-01-26PAM: Do not overwrite retJakub Hrozek1-3/+1
2012-01-23SYSDB: Move add_string and add_ulong to sysdb_private.hStephen Gallagher2-4/+9
2012-01-23UTIL: Add strtouint16Stephen Gallagher2-0/+20
2012-01-23Move sized_string declaration to utilsStephen Gallagher4-19/+19
2012-01-23LDAP: Improve debugging for sdap_parse_derefStephen Gallagher1-4/+7
Move the debug statement identifying the DN to an earlier line, so if we get a reply with no attributes, we know which entry is at fault.
2012-01-23DP: Fix bugs in sss_dp_get_account_intStephen Gallagher4-66/+47
The conversion to the tevent_req style introduced numerous bugs related to memory management of the various client requests. In some circumstances, this could cause memory corruption and segmentation faults in the NSS responder. This patch makes the following changes: 1) Rename the internal lookup from subreq to sidereq, to indicate that it is not a sub-request of the current lookup (and therefore is not cancelled if the current request is). 2) Change the handling of the callback loops since they call tevent_req_[done|error], which results in them being freed (and therefore removed from the cb_list. This was the source of the memory corruption that would occasionally result in dereferencing an unreadable request. 3) Remove the unnecessary sss_dp_get_account_int_recv() function and change sss_dp_get_account_done() so that it only frees the sidereq. All of the waiting processes have already been signaled with the final results from sss_dp_get_account_int_done()