summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-12-01Add check_online method to LDAP ID providerSumit Bose4-2/+46
2010-12-01Fix offline detection in sdap_cli_connect requestSumit Bose1-0/+1
sdap_cli_connect_recv_ext() checks if the failover server is not set to determine if the backend is offline. To make this work properly if multiple servers are defined the failover server must be set to NULL if all servers are checked.
2010-12-01Run checks before resetting offline stateSumit Bose6-5/+143
Before setting the backend to online during a reset offline request the check_online method if the ID provider is called. If the check_online method returns that the ID provider is still not reachable the backend stays offline. Otherwise the backend is switched to online and the related callbacks are run. Additionally the check online test is called during the res_init request because a change in /etc/resolve.conf might also make a server reachable which was assumed offline before.
2010-12-01Daemonize by defaultSumit Bose1-0/+4
2010-12-01Allow protocol fallback for SRV queriesJakub Hrozek9-12/+53
https://fedorahosted.org/sssd/ticket/691
2010-11-24Internal DNS resolver should check /etc/hostsJakub Hrozek1-0/+2
https://fedorahosted.org/sssd/ticket/686
2010-11-24Print correct error messages for dp_err_to_string()Stephen Gallagher1-6/+6
All errnum values passed into this function throughout the code are PAM error codes, but we were passing them through strerror() to print them, which is only meaningful for ERRNO error codes. This patch changes dp_err_to_string() to use pam_strerror() and renames it to dp_pam_err_to_string() for clarity. https://fedorahosted.org/sssd/ticket/636
2010-11-24Fix a typo on setup_netlink()Sumit Bose1-1/+1
2010-11-24fix typo in get_server_status()Sumit Bose1-1/+1
2010-11-22sss_client: make code thread-safeSimo Sorce5-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
2010-11-22Add SIGUSR2 to reset offline statusSumit Bose2-0/+38
2010-11-22Add signal documentation to sssd(8)Stephen Gallagher1-0/+35
https://fedorahosted.org/sssd/ticket/665
2010-11-19Use a more efficient host search filterSumit Bose1-5/+6
2010-11-19Fix man pageSumit Bose1-2/+2
Currently sssd does not support authentication via GSSAPI. I think it is not necessary to support it, because if GSSAPI is possible Kerberos should be use for authentication.
2010-11-19Fix offline detection for LDAP auth/chpassSumit Bose1-5/+13
2010-11-18Wait for all children to exitStephen Gallagher1-2/+61
Previously, there was a race-condition where the monitor might terminate before its children.
2010-11-18Add missing error codeSumit Bose1-0/+1
2010-11-18Fix authentication queue code for proxy authStephen Gallagher1-12/+19
We weren't decrementing the count of in-progress authentication request child processes when they completed successfully. With this patch, we will now guarantee that the process count is accurate and that queued requests will be started when a slot is freed up.
2010-11-18Ensure that SSSD shuts down completely before restartingStephen Gallagher1-0/+9
2010-11-16Log startup errors to syslogStephen Gallagher1-7/+9
2010-11-15Fix incorrect type comparisonStephen Gallagher1-1/+1
https://fedorahosted.org/sssd/ticket/657
2010-11-15Fix const cast warnings in testsStephen Gallagher2-2/+2
2010-11-15Fix const cast warning in confdb_create_ldifStephen Gallagher1-4/+4
2010-11-15Fix const cast issue with sysdb_attrs_users_from_str_listStephen Gallagher3-11/+11
2010-11-15Fix const cast warning in build_attrs_from_mapStephen Gallagher1-3/+3
2010-11-15Fix const cast warning for sysdb_update_membersStephen Gallagher4-14/+14
2010-11-15Fix cast warning for pam_sss.cStephen Gallagher1-8/+11
2010-11-15Introduce pam_verbosity config optionSumit Bose7-11/+126
Currently we display all PAM messages generated by sssd to the user. But only some of them are important and others are just some useful information. This patch introduces a new option to the PAM responder which controls what kind of messages are displayed. As an example the 'Authenticated with cached credentials' message is used. This message is only displayed if pam_verbosity=1 or if there is an expire date.
2010-11-15Avoid long long in messages to PAM client use int64_tSumit Bose3-16/+16
2010-11-15Sanitize ldap attributes in the config fileStephen Gallagher1-2/+21
https://fedorahosted.org/sssd/ticket/458
2010-11-15Properly document ldap_purge_cache_timeoutStephen Gallagher2-1/+28
Also allow it to be disabled entirely
2010-11-15Sanitize search filters in LDAP providerStephen Gallagher4-7/+61
2010-11-15Add unit tests for users and groups with odd charactersStephen Gallagher1-0/+145
2010-11-15Sanitize sysdb dn for memberof lookupStephen Gallagher1-1/+11
2010-11-15Sanitize search filters in memberOf pluginStephen Gallagher1-2/+20
2010-11-15Sanitize sysdb DN helpersStephen Gallagher1-7/+83
2010-11-15Sanitize sysdb filters in the LDAP providerStephen Gallagher1-2/+11
2010-11-15Sanitize sysdb search filters in the IPA providerStephen Gallagher1-2/+17
2010-11-15Sanitize search filters for the sysdbStephen Gallagher1-6/+39
2010-11-15Add sysdb utility function for sanitizing DNStephen Gallagher2-0/+27
2010-11-15Add utility function to sanitize LDAP/LDB filtersStephen Gallagher3-0/+131
Also adds a unit test.
2010-11-05Properly check the return value from semanage_commitStephen Gallagher1-2/+2
semanage_commit() returns -1 on error, and can return a positive value on success. https://bugzilla.redhat.com/show_bug.cgi?id=649037
2010-11-05Review comments for namingContexts patchesSumit Bose3-23/+17
2010-11-05Handle errors during log reopening betterStephen Gallagher2-3/+30
2010-11-04Make ldap_search_base a non-mandatory optionSumit Bose3-39/+46
2010-11-04Use (default)namingContext to set empty search basesSumit Bose4-1/+117
2010-11-04Add defaultNamingContext to RootDSE attributesSumit Bose2-0/+3
2010-11-04Call krb5_child to check access permissionsSumit Bose2-4/+129
2010-11-04Make handle_child_* request publicSumit Bose3-325/+429
I took the opportunity to move everything related to the handling of the krb5_child into a separate file and cleaned the interfaces and related structures a bit.
2010-11-04Add krb5_kuserok() access check to krb5_childSumit Bose1-17/+73