Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SYSDB: Add sysdb_attrs_get_uint16_t | Stephen Gallagher | 2012-01-31 | 2 | -0/+28 |
| | |||||
* | SYSDB: extend sysdb_store_service() to accept additional attributes | Stephen Gallagher | 2012-01-31 | 6 | -21/+47 |
| | |||||
* | SUDO: Provide documentation for the SUDO API | Jakub Hrozek | 2012-01-30 | 2 | -0/+1658 |
| | |||||
* | docs: Use absolute srcdir path | Jakub Hrozek | 2012-01-30 | 2 | -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. | ||||
* | Include sudo manual pages only conditionally | Jakub Hrozek | 2012-01-30 | 3 | -11/+44 |
| | |||||
* | SUDO Integration - manual page | Pavel Březina | 2012-01-30 | 2 | -1/+212 |
| | | | | https://fedorahosted.org/sssd/ticket/1109 | ||||
* | SSSDConfigAPI: Move sssd.api.* to /usr/share/sssd | Stephen Gallagher | 2012-01-30 | 1 | -4/+4 |
| | | | | https://fedorahosted.org/sssd/ticket/1158 | ||||
* | Fix sudo compilation on RHEL5 | Jakub Hrozek | 2012-01-30 | 3 | -0/+5 |
| | |||||
* | SUDO Integration - test client changed | Pavel Březina | 2012-01-27 | 1 | -78/+13 |
| | | | | | | | Without user name given it displays cn=defaults record. Client no longer display raw data. https://fedorahosted.org/sssd/ticket/1143 | ||||
* | SUDO Integration - SUDO API can request only cn=defaults record | Pavel Březina | 2012-01-27 | 3 | -26/+44 |
| | | | | https://fedorahosted.org/sssd/ticket/1143 | ||||
* | SUDO Integration - responder command for cn=defaults | Pavel Březina | 2012-01-27 | 5 | -18/+94 |
| | | | | https://fedorahosted.org/sssd/ticket/1143 | ||||
* | SUDO Integration - prepare data provider for new responder commands | Pavel Březina | 2012-01-27 | 7 | -200/+287 |
| | | | | https://fedorahosted.org/sssd/ticket/1143 | ||||
* | SUDO Integration - make sysdb_get_sudo_filter() more configurable | Pavel Březina | 2012-01-27 | 3 | -48/+73 |
| | | | | https://fedorahosted.org/sssd/ticket/1143 | ||||
* | Rename sss_dp_type to sss_dp_sudo_type | Stephen Gallagher | 2012-01-27 | 2 | -4/+4 |
| | | | | | I pushed an older version of this patch that had the incorrect name. This is the interdiff. | ||||
* | Use the new SUDO request in DP and sudo responder | Jakub Hrozek | 2012-01-27 | 4 | -235/+115 |
| | | | | | | Also remove the old request implementation https://fedorahosted.org/sssd/ticket/1115 | ||||
* | SUDO: Provide a sudo DP request based on the internal_req | Jakub Hrozek | 2012-01-27 | 3 | -0/+145 |
| | |||||
* | PROXY: add support for enumerating services | Stephen Gallagher | 2012-01-27 | 4 | -0/+226 |
| | |||||
* | NSS: Add service enumeration support to NSS provider | Stephen Gallagher | 2012-01-27 | 3 | -1/+662 |
| | |||||
* | SYSDB: add support for enumerating services | Stephen Gallagher | 2012-01-27 | 2 | -0/+55 |
| | |||||
* | NSS: Add client support for [set|get|end]servent() | Stephen Gallagher | 2012-01-27 | 1 | -4/+125 |
| | |||||
* | DP: Refactor responder_dp_req so it's reusable by other responders | Jakub Hrozek | 2012-01-27 | 3 | -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 | ||||
* | PROXY: add support for service lookups (non-enumeration) | Stephen Gallagher | 2012-01-27 | 4 | -0/+273 |
| | |||||
* | NSS: Add getservbyname and getservbyport support to the NSS Responder | Stephen Gallagher | 2012-01-27 | 3 | -0/+1209 |
| | |||||
* | NSS: Add negative cache routines for services | Stephen Gallagher | 2012-01-27 | 2 | -3/+132 |
| | |||||
* | DP: Add support for services in dp requests | Stephen Gallagher | 2012-01-27 | 3 | -0/+5 |
| | |||||
* | NSS: Add client support for services (non-enumeration) | Stephen Gallagher | 2012-01-27 | 3 | -5/+388 |
| | |||||
* | SYSDB: Add indexes for servicePort and serviceProtocol | Stephen Gallagher | 2012-01-27 | 4 | -2/+118 |
| | |||||
* | SYSDB: Add sysdb routines for manipulating service entries | Stephen Gallagher | 2012-01-27 | 3 | -0/+1131 |
| | |||||
* | DP: Handle parsing extra results in be_get_account_info | Stephen Gallagher | 2012-01-27 | 2 | -33/+70 |
| | |||||
* | PAM: Do not overwrite ret | Jakub Hrozek | 2012-01-26 | 1 | -3/+1 |
| | |||||
* | SYSDB: Move add_string and add_ulong to sysdb_private.h | Stephen Gallagher | 2012-01-23 | 2 | -4/+9 |
| | |||||
* | UTIL: Add strtouint16 | Stephen Gallagher | 2012-01-23 | 2 | -0/+20 |
| | |||||
* | Move sized_string declaration to utils | Stephen Gallagher | 2012-01-23 | 4 | -19/+19 |
| | |||||
* | LDAP: Improve debugging for sdap_parse_deref | Stephen Gallagher | 2012-01-23 | 1 | -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. | ||||
* | DP: Fix bugs in sss_dp_get_account_int | Stephen Gallagher | 2012-01-23 | 4 | -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() | ||||
* | RESPONDER: Extend sss_dp_account_send() to include extra data | Stephen Gallagher | 2012-01-21 | 5 | -14/+32 |
| | | | | | | | Some NSS maps such as 'services' require more values to be passed to the data provider than just the name or ID. In these cases, we will amend an optional component to filter value to pass to the data provider backend. | ||||
* | Fix invalid index in pidfile() | Stephen Gallagher | 2012-01-21 | 1 | -1/+3 |
| | | | | | | | If we hit the "read too much, this should never happen" line, we would write a NULL-terminator past the end of the static buffer. Coverity 12472 | ||||
* | SYSDB: Redundant check is redundant. | Stephen Gallagher | 2012-01-21 | 1 | -5/+0 |
| | | | | Coverity 12480 | ||||
* | PAM: Fix reversed logic | Jakub Hrozek | 2012-01-18 | 1 | -1/+1 |
| | |||||
* | LDAP: Add option to disable paging control | Stephen Gallagher | 2012-01-18 | 9 | -5/+40 |
| | | | | Fixes https://fedorahosted.org/sssd/ticket/967 | ||||
* | NSS: Add sss_readrep_copy_string | Stephen Gallagher | 2012-01-18 | 5 | -181/+131 |
| | | | | | | | There were many places in the client code where we were duplicating a loop to copy data in from the response buffer. This patch turns those loops into a function for easier maintenance and easier-to-read *readrep() routines. | ||||
* | Do not use sudo symbols in LDAP provider unconditionally | Jakub Hrozek | 2012-01-18 | 1 | -0/+2 |
| | |||||
* | Export libsss_sudo as a separate package | Jakub Hrozek | 2012-01-17 | 2 | -0/+27 |
| | |||||
* | Add a configure switch to specify 3rd party app libraries location | Jakub Hrozek | 2012-01-17 | 1 | -1/+18 |
| | |||||
* | SUDO Integration - periodical update of rules in data provider | Pavel Březina | 2012-01-17 | 10 | -1/+352 |
| | | | | | | | | https://fedorahosted.org/sssd/ticket/1110 Adds new configuration options: - ldap_sudo_refresh_enabled - enable/disable periodical updates - ldap_sudo_refresh_timeout - rules timeout (refresh period) | ||||
* | SUDO Integration - functions for manipulating with 'refreshed' attribute | Pavel Březina | 2012-01-17 | 2 | -0/+68 |
| | | | | https://fedorahosted.org/sssd/ticket/1110 | ||||
* | sysdb_get_bool() and sysdb_get_bool() functions | Pavel Březina | 2012-01-17 | 2 | -51/+108 |
| | |||||
* | SUDO Integration - wrap data provider with tevent_req | Pavel Březina | 2012-01-17 | 2 | -43/+138 |
| | | | | https://fedorahosted.org/sssd/ticket/1110 | ||||
* | SUDO Integration review issues | Pavel Březina | 2012-01-17 | 16 | -41/+68 |
| | |||||
* | IPA: Detect nsupdate support for the realm directive | Stephen Gallagher | 2012-01-17 | 3 | -15/+55 |
| | | | | | For older platforms, do not add the 'realm' line in the update message |