summaryrefslogtreecommitdiffstats
path: root/src/sss_client
Commit message (Collapse)AuthorAgeFilesLines
* Fix SSH compilation on RHEL5Jakub Hrozek2012-02-071-1/+3
|
* Make sudo installation path configurable, install into libdir by defaultJakub Hrozek2012-02-071-1/+1
|
* SSH: OpenSSH known_hosts clientJan Cholasta2012-02-071-0/+401
|
* SSH: OpenSSH authorized_keys clientJan Cholasta2012-02-071-0/+130
|
* SSH: Common client codeJan Cholasta2012-02-074-0/+372
|
* SSH: ResponderJan Cholasta2012-02-071-0/+4
|
* SELinux support in PAM moduleJan Zeleny2012-02-061-1/+60
|
* SELinux support in PAM responderJan Zeleny2012-02-061-0/+4
|
* AUTOFS: a command-line test clientJakub Hrozek2012-02-051-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().
* AUTOFS: a client libraryJakub Hrozek2012-02-055-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
* SUDO: Provide documentation for the SUDO APIJakub Hrozek2012-01-302-0/+1658
|
* Fix sudo compilation on RHEL5Jakub Hrozek2012-01-302-0/+3
|
* SUDO Integration - test client changedPavel Březina2012-01-271-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 recordPavel Březina2012-01-273-26/+44
| | | | https://fedorahosted.org/sssd/ticket/1143
* SUDO Integration - responder command for cn=defaultsPavel Březina2012-01-271-0/+1
| | | | https://fedorahosted.org/sssd/ticket/1143
* NSS: Add client support for [set|get|end]servent()Stephen Gallagher2012-01-271-4/+125
|
* NSS: Add client support for services (non-enumeration)Stephen Gallagher2012-01-273-5/+388
|
* NSS: Add sss_readrep_copy_stringStephen Gallagher2012-01-185-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.
* Export libsss_sudo as a separate packageJakub Hrozek2012-01-172-0/+27
|
* SUDO Integration review issuesPavel Březina2012-01-174-7/+8
|
* NSS: Validate input string lengthsStephen Gallagher2012-01-144-9/+32
| | | | | | | Also fixes a return value bug where we were returning errno error codes instead of nss_status codes. Fixes https://fedorahosted.org/sssd/ticket/1135
* SUDO Integration - pseudo client for testingPavel Březina2011-12-161-0/+167
|
* SUDO Integration - API for sudoPavel Březina2011-12-164-0/+553
|
* SUDO Integration - responderPavel Březina2011-12-161-0/+3
|
* SUDO integration - client common interfacePavel Březina2011-12-162-0/+24
|
* Fixed incorrect return code in PAM clientJan Zeleny2011-12-081-1/+1
| | | | | | | The original return code when SSSD was not running was system_err, now it is authinfo_unavail. https://fedorahosted.org/sssd/ticket/1011
* sss_cli.h - fix: function declaration after the header guardPavel Březina2011-11-281-2/+2
|
* Cleanup: Remove unused parametersJakub Hrozek2011-11-221-8/+2
|
* Added quiet option to pam_sssPavel Březina2011-09-201-5/+25
| | | | https://fedorahosted.org/sssd/ticket/894
* Fixed implicit declaration of function 'time' in src/sss_client/common.c.Pavel Březina2011-08-081-0/+1
|
* sss_client: avoid leaking file descriptorsSimo Sorce2011-07-291-0/+3
| | | | | | | | | | If a pam or nss module is dlcolse()d and unloaded we were leaking the file descriptor used to communicate to sssd in the process. Make sure the fucntion used to close the socket file descriptor is called on dlclose() Silence autoconf 2.28 warnings (Patch by Jakub Hrozek)
* Import config.h earlierStephen Gallagher2011-05-231-1/+1
| | | | | | On RHEL 5 and other older platforms, failing to set _GNU_SOURCE early would cause some functions - such as strndup() - to be unavailable.
* Include string.h in sss_cli.hSumit Bose2011-05-231-0/+1
| | | | Since memcpy() is used in sss_cli.h it should be declared here, too.
* Set _GNU_SOURCE globallySumit Bose2011-05-232-7/+1
|
* clients: use poll instead of selectSimo Sorce2011-05-031-9/+6
| | | | | | | select is limited to fd numbers up to 1024, we need to use poll() here to avoid causing memory corruption in the calling process. Fixes: https://fedorahosted.org/sssd/ticket/861
* Use neutral name for functions used by both pam and nssSimo Sorce2011-02-113-49/+64
|
* Check that the socket is really ours before attempting to close it.Simo Sorce2011-02-081-13/+42
| | | | Fixes: https://fedorahosted.org/sssd/ticket/790
* Fix wrong test in pam_sssSimo Sorce2010-12-171-1/+1
|
* Fix segfault for PAM_TEXT_INFO conversationsStephen Gallagher2010-12-161-1/+1
|
* Fix another possible memory leak in sss_nss_recv_rep()Sumit Bose2010-12-151-8/+19
| | | | https://fedorahosted.org/sssd/ticket/723
* Fix possible memory leak in do_pam_conversationSumit Bose2010-12-151-16/+28
| | | | https://fedorahosted.org/sssd/ticket/731
* Fix possible memory leak in sss_nss_recv_rep()Sumit Bose2010-12-141-8/+13
| | | | https://fedorahosted.org/sssd/ticket/723
* Fix improper bit manipulation in pam_sssSumit Bose2010-12-141-1/+1
| | | | https://fedorahosted.org/sssd/ticket/715
* Add a renew task to krb5_childSumit Bose2010-12-031-1/+7
|
* sss_client: make code thread-safeSimo Sorce2010-11-225-58/+219
| | | | | | | | | | Add mutexes around nss operations and serialize them. This is necessary because nss operations may have global state. For pam it is sufficient to protect socket operations instead. As pam functions use only the provided pam handler. Fixes: https://fedorahosted.org/sssd/ticket/640
* Fix incorrect type comparisonStephen Gallagher2010-11-151-1/+1
| | | | https://fedorahosted.org/sssd/ticket/657
* Fix cast warning for pam_sss.cStephen Gallagher2010-11-151-8/+11
|
* Avoid long long in messages to PAM client use int64_tSumit Bose2010-11-152-9/+9
|
* Avoid a global variable in netgroup client.Sumit Bose2010-10-132-38/+26
| | | | | The structure which is used to store the result also provides elements to store a context for the netgroup enumeration call.
* Add handling of nested netgroups to nss clientSumit Bose2010-10-132-68/+109
|