summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-25Fix check for values of expiration limitsJakub Hrozek2-3/+3
There were inconsistencies between what sssd.conf manpage said and what the code enforces.
2010-02-25Remove a check that was left behindJakub Hrozek1-7/+1
When refactoring talloc_asprintf calls a check was left behind that cased the backend to go offline immediately.
2010-02-23Better cleanup task handlingJakub Hrozek11-39/+263
Implements a different mechanism for cleanup task. Instead of just deleting expired entries, this patch adds a new option account_cache_expiration for domains. If an entry is expired and the last login was more days in the past that account_cache_expiration, the entry is deleted. Groups are deleted if they are expired and and no user references them (no user has memberof: attribute pointing at that group). The parameter account_cache_expiration is not LDAP-specific, so that other future backends might use the same timeout setting. Fixes: #391
2010-02-23Store lastLogin attribute when authenticating onlineJakub Hrozek1-0/+5
2010-02-23Revert "Change default for enumeration to TRUE"Stephen Gallagher2-2/+2
This reverts commit 75a9f18ad8ac6e885ac34cdeebc4d8f8734713f8.
2010-02-23Include hour in 'make prerelease-rpms'Stephen Gallagher1-2/+2
2010-02-23Do not check entries during cleanup taskJakub Hrozek3-82/+60
Do not attempt to validate expired entries in cache, just delete them. Also increase the cache timeouts. Fixes: #331
2010-02-23Do not schedule enumeration after a cleanupJakub Hrozek1-2/+2
2010-02-23Handle expired passwords like other PAM modulesSumit Bose4-21/+53
So far we handled expired password during authentication. Other PAM modules typically detect expired password during account management and return PAM_NEW_AUTHTOK_REQD if the password is expired and should be changed. The PAM library then calls the change password routines. To meet these standards pam_sss is change accordingly. As a result it is now possible to update an expired password via ssh if sssd is running with PasswordAuthentication=yes. One drawback due to limitations of PAM is that the user now has to type his current password again before setting a new one.
2010-02-23Fix file permissions of config.ldbSumit Bose1-0/+4
2010-02-23Check and set permissions on SBUS socketsSumit Bose7-25/+141
2010-02-22Restrict family lookupsJakub Hrozek12-34/+172
Adds a new option that tells resolver which address family to prefer or use exclusively. Fixes: #404
2010-02-22Remove Kerberos options from confdb.hJakub Hrozek1-8/+0
Kerberos-specific options are pulled using dp_get_opts() and defined in Kerberos subtree. There is no need to keep these in confdb.
2010-02-22Remove unnecessary domain parameter from PAM requestsStephen Gallagher2-28/+5
If we're sending a message to the backend, we already know which domain the request is targeting. Carrying this information is not useful and confuses the interface.
2010-02-22Remove unnecessary "domain" parameter from DP registrationStephen Gallagher6-10/+7
This was a holdover from when the DP and the providers were unique processes. The NSS and PAM registrations do not need to send the domain, as it is not ambiguous which one they are talking to.
2010-02-19Add documentation for PAM response messagesSumit Bose4-20/+273
2010-02-19Remove unneeded items from struct pam_dataSumit Bose8-89/+71
2010-02-19Update PL translationPiotr Drąg1-5/+5
2010-02-19Disable rpath support in the linkerStephen Gallagher1-1/+2
The Fedora Package Guidelines forbid the use of rpaths
2010-02-19Send Kerberos environment after password changeSumit Bose1-1/+1
2010-02-19Fix two typosSumit Bose1-2/+2
2010-02-19Updating ES translationDomingo Becker1-11/+12
2010-02-18Fix bad mergeStephen Gallagher4-1/+3
Merging ba8937d83675c7d69808d1d3df8f823afdc5ce2a left the COPYING and COPYING.LESSER files in the now-defunct sss_client directory. This patch moves them into the right location and fixes the spec file to look for them correctly.
2010-02-18Fix licensing issues for sss_clientStephen Gallagher8-32/+914
2010-02-18Properly license libdhashStephen Gallagher4-0/+88
2010-02-18Fix licensing issues in SSSDStephen Gallagher3-0/+72
2010-02-18License libpath_utils under LGPLStephen Gallagher2-7/+38
2010-02-18Build all manpages from a single locationStephen Gallagher2-1/+1
2010-02-18Rename server/ directory to src/Stephen Gallagher243-23/+12
Also update BUILD.txt
2010-02-18Remove unneeded files from sss_clientStephen Gallagher22-4031/+0
2010-02-18Merge sss_client and sss_daemon translations togetherStephen Gallagher12-13/+1103
2010-02-18Eliminate separate build tree for sss_clientStephen Gallagher42-7/+69
2010-02-18Use macros to hide memcpy callsJakub Hrozek5-149/+71
The memcpy calls introduced in the memalign patches are ugly. This patch hides them behind a set of macros.
2010-02-18Supress warnings with -O2Jakub Hrozek5-12/+10
2010-02-16Add test for number of options in IPA and LDAP backendsJakub Hrozek4-6/+75
2010-02-16Synchronize IPA and LDAP optionsJakub Hrozek1-2/+4
2010-02-16Remove replaceSumit Bose71-14732/+3
2010-02-15Make PAM responses more compatible with D-BUS specStephen Gallagher2-34/+108
Previously, the PAM responses could contain an arbitrary number of arguments. This is not acceptable by the D-BUS protocol, as there is no way to introspect it. This patch converts the response objects to be an array of D-BUS structs. It also fixes two potential memory leaks by not unref'ing the reply object if we get an error.
2010-02-15Make attr_type an integerStephen Gallagher2-20/+14
Previously it was a string being passed and converted into an integer. It will be more efficient this way (and simpler for other implementers)
2010-02-15Add doxygen docs for ConfDBStephen Gallagher5-14/+1761
2010-02-12Add check for broken LDAP connection callbacksSumit Bose2-2/+12
2010-02-12sss_groupshow: separate member lists by commaJakub Hrozek1-3/+6
Fixes: #398
2010-02-12Remove ELAPI from the SSSD repositoryStephen Gallagher40-8421/+3
ELAPI now lives in its own project at https://fedorahosted.org/ELAPI
2010-02-12gitignore additionsJakub Hrozek1-0/+3
2010-02-12Make change password errors more transparentSumit Bose9-24/+228
2010-02-12Don't pass a variable as format to talloc_asprintf()Martin Nagy2-2/+2
This practice is not recommended and can also be dangerous.
2010-02-10sss_groupshow improvementsJakub Hrozek2-104/+698
This patch fixes the following issues: * man page issues (#395) * show info on MPGs (#396) * recursively print indirect members (#397) * the list of groupnames is comma separated (#398) * output inconsistencies (#399)
2010-02-10Make collection_queue.h and collection_stack.h into public headersStephen Gallagher2-3/+5
2010-02-10Fix other memory alignment issuesJakub Hrozek4-42/+55
Similar to George McCollister's patch to the pam code, this patch fixes other places in the code where we forced data into 32-bit alignment. Fixes: #390
2010-02-10Few misc minor man page bugsJakub Hrozek3-26/+23
* sssd.conf * sbus_timeout was used in an example but explained nowhere * enum_cache_timeout unit was not defined * same for entry_cache_timeout * store_legacy_passwords option does not exist anymore * better example than domain/LOCAL - domain/LDAP which uses krb5/ldap * sssd.conf(5) listed sssd.conf(5) in SEE ALSO section * sssd-krb5, sssd-ldap * these include each other in SEE ALSO section Fixes: #393