summaryrefslogtreecommitdiff
path: root/src/sss_client
AgeCommit message (Collapse)AuthorFilesLines
2012-06-29sudo responder: change protocol version to 1Pavel Březina1-1/+1
2012-06-29sudo api: send uid, username and domainnamePavel Březina5-66/+158
https://fedorahosted.org/sssd/ticket/1239 Test client was changed accordingly. The new usage is: sss_sudo_cli username [uid] If uid is not set, getpwnam(username) is called. It will retrieve both default options and rules.
2012-06-29sudo api: remove EOKPavel Březina2-13/+10
2012-06-21PAC client: add krb5 authdata pluginSumit Bose2-0/+467
2012-06-21PAC client: add basic support in common client codeSumit Bose2-0/+38
2012-06-21PAC responder: add the core functionalitySumit Bose1-0/+4
This adds support for parsing PAC and storing information contained within. In particular the user and all his memberships are stored. In case it is necessary, getgrgid() requests are sent to provider for group resolution.
2012-06-21Add close on exec support for old platformsSimo Sorce1-1/+16
Older platfroms like RHEL5 do not have support for O_CLOEXC and need an explicit fcntl after the fd is created. Add it conditionally so it can be clearly removed once we declared those platfroms obsolete and unsupported.
2012-06-21Do not leak file descriptors in client libs.Simo Sorce1-1/+1
We need to make sure the mc socket is not leaked otherwise child processes will pile up leaked file descriptors. Add O_CLOEXEC when opening the cache.
2012-06-18Do not send SIGPIPE on disconnectionShantanu Goel1-6/+21
Note we set MSG_NOSIGNAL to avoid having to fiddle with signal masks but also do not want to die in case SIGPIPE gets raised and the application does not handle it.
2012-06-18Set return errno to the value prior to calling close().Shantanu Goel1-2/+2
2012-06-15SSS_CLIENT: Fix uninitialized value errorStephen Gallagher1-1/+1
This would cause a crash if we jump to the done: label before it has been allocated.
2012-06-14Provide "service filter" for SELinux contextJan Zeleny1-0/+20
At this moment we will support only asterisk, designating "all services". https://fedorahosted.org/sssd/ticket/1360
2012-05-31SSH: Don't abort connection in sss_ssh_knownhostsproxy when DNS records are ↵Jan Cholasta1-36/+49
missing https://fedorahosted.org/sssd/ticket/1356
2012-05-31SSH: Supress error message output in sss_ssh_knownhostsproxyJan Cholasta2-15/+8
2012-05-29Revert the client packet length, too, after reverting the packet protocolJakub Hrozek1-1/+1
2012-05-25NSS: Restore original protocol for getservbyportStephen Gallagher1-2/+3
When fixing an endianness bug, we changed the protocol unnecessarily.
2012-05-25Send 16bit protocol numbers from the sss_clientJakub Hrozek1-6/+7
https://fedorahosted.org/sssd/ticket/1348
2012-05-22Always use positional arguments in translatable stringsStephen Gallagher1-2/+2
https://fedorahosted.org/sssd/ticket/1336
2012-05-03AUTOFS: remove unused assignmentsJakub Hrozek1-1/+0
Also changes setautomntent_send so that is only return NULL in case the tevent_req creation fails.
2012-05-02PAM_SSS: report error code if write failsJakub Hrozek1-2/+2
clang had reported this as "value of ret is never used", I think it would be nice to report a meaningful error message.
2012-04-24SSH: Add support for hashed known_hostsJan Cholasta1-1/+1
https://fedorahosted.org/sssd/ticket/1203
2012-04-20Convert read and write operations to sss_atomic_readJakub Hrozek2-27/+27
https://fedorahosted.org/sssd/ticket/1209
2012-04-18autofs: Raise the maximum key length to PATH_MAXJakub Hrozek1-2/+4
https://fedorahosted.org/sssd/ticket/1300
2012-04-18sudo api: check sss_status instead of errnop in sss_sudo_send_recv_generic()Pavel Březina1-2/+4
2012-04-18pam_sss: improve error handling in SELinux codeJakub Hrozek1-3/+5
2012-04-05Use HTML_TIMESTAMP instead of HTML_FOOTER_DESCRIPTIONJakub Hrozek1-3/+4
https://fedorahosted.org/sssd/ticket/1271
2012-03-28Silence Coverity warning in the autofs test toolJakub Hrozek1-8/+22
https://fedorahosted.org/sssd/ticket/1237
2012-03-26AUTOFS: fix copy-and-paste bug in the autofs clientJakub Hrozek1-1/+1
2012-03-20SSH: Fix infinite loop in sss_ssh_knownhostsproxyJan Cholasta1-6/+9
https://fedorahosted.org/sssd/ticket/1268
2012-03-19sss_client: shared memory cache group map supportSimo Sorce3-0/+268
2012-03-19sss_client: shared memory cache passwd map supportSimo Sorce3-0/+262
2012-03-19sss_client: Add common shared memory cache utilsSimo Sorce2-0/+334
2012-03-15SSH: Canonicalize host name and do reverse DNS lookup in sss_ssh_knownhostsproxyJan Cholasta1-26/+38
https://fedorahosted.org/sssd/ticket/1245
2012-03-15SSH: Allow clients to explicitly specify host aliasJan Cholasta4-6/+25
This change removes the need to canonicalize host names on the responder side - the relevant code was removed.
2012-03-09Fixed resource leak in ssh client codeJan Zeleny1-0/+1
2012-03-09Fixed uninitialized pointer in SSH authorized keys clientJan Zeleny1-1/+1
2012-03-09Fixed uninitialized pointer in SSH known host proxyJan Zeleny1-1/+1
2012-03-09Use of unininitialized value in sss_sudo_parse_responsePavel Březina1-0/+2
https://fedorahosted.org/sssd/ticket/1231
2012-03-09Two memory leaks in sss_sudo_get_valuesPavel Březina1-1/+4
https://fedorahosted.org/sssd/ticket/1235
2012-03-08Only free returned values on successJakub Hrozek1-3/+3
https://fedorahosted.org/sssd/ticket/1237
2012-03-08Autofs: operate on contents of double-pointer, not addressJakub Hrozek1-3/+3
https://fedorahosted.org/sssd/ticket/1234
2012-02-27SSH: Remove unused --file option of sss_ssh_knownhostsproxyJan Cholasta1-5/+0
2012-02-27SSH: Add more debugging messagesJan Cholasta2-4/+18
2012-02-27AUTOFS: speed up the client by requesting multiple entries at onceJakub Hrozek1-44/+160
https://fedorahosted.org/sssd/ticket/1166
2012-02-26SSH: Manage global known_hosts file in the responderJan Cholasta1-78/+2
https://fedorahosted.org/sssd/ticket/1193
2012-02-26SSH: Continue connecting to SSH server even when SSSD is not running in ↵Jan Cholasta1-112/+85
sss_ssh_knownhostsproxy Additionally, don't drop the connection when the sss_ssh_knownhostsproxy process receives a signal. https://fedorahosted.org/sssd/ticket/1179 https://fedorahosted.org/sssd/ticket/1184
2012-02-26SSH: Refactor responder and client common codeJan Cholasta4-177/+72
2012-02-23pam_sss: keep selinux optionalSimo Sorce1-0/+6
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2012-02-23nss_group: Cache the result from sssd when the glibc provided buffer is too ↵Simo Sorce1-8/+145
small.
2012-02-14Refactor sss_result into sss_sudo_resultPavel Březina5-36/+38
https://fedorahosted.org/sssd/ticket/1159