summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-02-05Split the logic to check cache expiration into separate functionJakub Hrozek3-43/+73
2012-02-05RESPONDERS: Refactor setent_req_listJakub Hrozek6-100/+133
Makes the setent_add_ref() and setent_notify_*() functions more generic to be reusable by the autofs responder.
2012-02-05AUTOFS: Data Provider requestJakub Hrozek5-30/+317
2012-02-05AUTOFS: a command-line test clientJakub Hrozek1-0/+116
A very simply binary that can be used to test getting data from the library via SSSD in pretty much the same way SSSD would. A required positional parameter specifies the map name and the tool would print out all the key/value pairs using _sss_getautomntent_r(). You can also specify -n to query a specific key using _sss_getautomntbyname_r().
2012-02-05AUTOFS: a client libraryJakub Hrozek5-0/+451
This is the library the autofs client is using. automounter dlopen()s the library so there is no header file, no pkgconfig file and the library is in the libsss_autofs package, not in -devel. The library provides the following interface: * _sss_setautomntent() - select the map for processing * _sss_getautomntent_r() - iterates through key/value pairs in the selected map. The key is usually the mount point, the value is mount information (server:/export) * _sss_getautomntbyname_r() - returns value for a specific key. * _sss_endautomntent() deselect a map, clean up
2012-02-05AUTOFS: sysdb interfaceJakub Hrozek4-7/+520
2012-02-05SYSDB: Remove code duplication between member_add and member_delJakub Hrozek1-39/+14
2012-02-05BUILD: Introduce a --with-autofs config optionJakub Hrozek1-0/+22
This would allow to select the autofs feature during build without having to select the other features.
2012-02-04Fix configure with old autoconf versionsJakub Hrozek1-1/+0
2012-02-04Move BUILD_SUDO outside the generic LDAP source filesJakub Hrozek5-95/+127
Avoid #ifdefs in the general part of the code
2012-02-04SUDO: introduce a new config option --with-sudoJakub Hrozek1-0/+23
At the time being the option is also turned on when --enable-all-experimental-features is specified. https://fedorahosted.org/sssd/ticket/1145
2012-02-04ConfigAPI: add sudo to known servicesJakub Hrozek3-2/+14
https://fedorahosted.org/sssd/ticket/1144 Squashed patch from Jan Zeleny: Add SUDO provider to the list of available providers in SSSDConfig.py
2012-02-04Fixes for sudo_timedJakub Hrozek2-23/+53
https://fedorahosted.org/sssd/ticket/1116
2012-02-04SUDO Integration - responder 'sudo_timed' optionPavel Březina6-38/+166
https://fedorahosted.org/sssd/ticket/1116
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