summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a few additional extensions to .gitignoreStephen Gallagher2010-02-051-0/+3
|
* Document when LDAP referral chasing is availableSumit Bose2010-02-052-0/+17
|
* Reactivate old fd handling conditionallySumit Bose2010-02-055-1/+82
| | | | | | | Older versions of openLDAP do not provide a connection callback. This patch adds a configure check to see if the callback is available and activates the old way of handling the file description of the LDAP connection. This also means that it is not possible to follow referrals.
* Add mandatory flag to SSSD config schemaStephen Gallagher2010-02-058-207/+455
| | | | | | | | | Also add list_mandatory_options() to both SSSDService and SSSDDomain objects. There is a new list_options_with_mandatory() function that will return a longer tuple than list_options(), including the mandatory flag directly.
* Remove unnecessary explicit defaults from SSSDConfig APIStephen Gallagher2010-02-052-10/+10
|
* Add missing includeJakub Hrozek2010-02-051-0/+1
|
* Added option to use libcrypto instead of NSS.George McCollister2010-02-057-11/+416
| | | | | | | | | | | | crypto_sha512crypt.c is a clone of nss_sha512crypt.c with the exception that all usage of NSS and related libraries has been switched to libcrypto. I renamed nss_sha512crypt.h to sha512crypt.h since it is common to both crypto_sha512crypt.c and nss_sha512crypt.c. Note that the random number generator is not seeded manually and thus relies on seeding done automatically by libcrypto. On some systems without /dev/urandom seeding may not be performed. See http://www.openssl.org/docs/crypto/RAND_add.html. Signed-off-by: George McCollister <georgem@novatech-llc.com>
* Internationalize the command-line help messageStephen Gallagher2010-02-055-15/+15
|
* Enable debug_timestamps by defaultStephen Gallagher2010-02-057-11/+11
| | | | | It can be overridden in the sssd.conf or on the commandline with --debug-timestamps=0
* Make krb5 and open checks work if forking is disabledSumit Bose2010-02-032-1/+6
| | | | | | | | | | | | | | | | When CK_FORK is set to 'no' the fixtures are executed for every new test inside of the same process. Global variables must be set to the expected values by the fixtures. check_and_open-tests.c: the filename template for mkstemp() was a globally defined character string. After the first call to mkstemp() the trailing XXXXXX are substituted by random values, a second call to mkstemp() with this character string fails. This patch initialize the filename template before mkstemp() is called with the help of strdup() and the memory is freed in the teardown fixture. krb5_utils-tests.c: this patch sets the just freed global talloc context to NULL to make a consistency check in the setup fixture pass.
* Make resolve and failover test work with CK_FORK=noSumit Bose2010-02-034-6/+11
| | | | | | | | | | | | | | | The leak checking code which is used by the resolve and failover tests frees talloc's autofree context which is not recommended. As a consequence the initialization of tevent failed when it was called by the second test and CF_FORK=no, because it holds some data in the autofree context. This patch introduces a global talloc context which should be uses by the test as the root of their memory hierarchy instead of NULL. This global context is used in the leak checking routines. Not all types of memory leaks can be detected by the new version , it is recommended to use valgrind or similar tools additionally.
* Package libref_array and libref_array-develStephen Gallagher2010-02-031-0/+39
|
* Split refarray off into a shared libraryStephen Gallagher2010-02-034-10/+13
|
* Add license files for refarrayStephen Gallagher2010-02-032-0/+839
|
* Package libini_config and libini_config-develStephen Gallagher2010-02-031-0/+42
|
* Split off libini_config into a shared libraryStephen Gallagher2010-02-037-12/+42
|
* Fix array index errorStephen Gallagher2010-02-031-1/+1
| | | | | | The null-terminator would have been written one byte past the end of the array (and there may have been an extra garbage character in the index before it)
* Add license files for ini_configStephen Gallagher2010-02-032-0/+839
|
* Package libcollection and libcollection-develStephen Gallagher2010-02-031-0/+42
|
* Split off libcollection into a shared libraryStephen Gallagher2010-02-036-13/+37
|
* Remove private header requirements from collection_tools.hStephen Gallagher2010-02-031-1/+0
|
* Add license files for collectionStephen Gallagher2010-02-032-0/+839
|
* Package libpath_utils and libpath_utils-develStephen Gallagher2010-02-031-0/+37
|
* Split off libpath_utils into a shared libraryStephen Gallagher2010-02-033-8/+11
|
* License libpath_utils under LGPLStephen Gallagher2010-02-033-0/+846
|
* Warn the user if authentication happens offlineSumit Bose2010-02-026-13/+219
|
* Add offline failed login counterSumit Bose2010-02-029-17/+631
|
* Update suse sssd.specSergey V. Kovylov2010-02-021-3/+65
|
* Add new option ldap_referralsSumit Bose2010-02-027-1/+30
|
* Use ldap connection callbacks to get file descriptorsSumit Bose2010-02-024-43/+121
|
* Check cache_credentials in sysdb_cache_auth_send()Sumit Bose2010-02-022-0/+14
|
* COLLECTION: Fixing queue collection and unit tests.Dmitri Pal2010-02-014-298/+478
| | | | | | | | | | This patch includes following functionality: 1) Fixed the invalid handling of the pointers in the collection when last element is removed from the collection. 2) Added unit test to verify the fix. 3) Modified the three unit test to be verbose on demand. 4) Switched the main of the unit test to use array of functions rather than big if statement.
* Force offline operation with SIGUSR1Stephen Gallagher2010-02-013-0/+69
| | | | | | If the monitor receives SIGUSR1, it will instruct all providers to enter offline operation. If any individual provider receives SIGUSR1, it alone will enter offline operation.
* Improve logging of pam_sssSumit Bose2010-02-011-9/+46
| | | | | | | | | | To avoid unnecessary messages in the log files of the system we only send log messages for PAM modules type which are explicitly handled by sssd. Furthermore only the authentication modules sends a log message when the operation was successful. All other modules only sends a message if an error occurs. This patch should fix bz556534.
* Avoid 'PAM' at the beginning of define and enum namesSumit Bose2010-02-017-69/+71
|
* Rename PAM_USER_INFO to PAM_SYSTEM_INFOSumit Bose2010-02-014-6/+6
|
* Fix size error on 64-bit systemsStephen Gallagher2010-01-251-1/+1
|
* Handle IPv6 addresses with the async resolverStephen Gallagher2010-01-224-13/+65
|
* Fix release script to use version.m4Stephen Gallagher2010-01-221-1/+1
|
* Pointers to non 32 bit aligned data were being cast to uint32_t *George McCollister2010-01-223-36/+49
| | | | | | | | uint32_t pointers must point to 32 bit aligned data on ARM. Instead of padding the data to force it into alignment I altered the code to memcpy the data to an aligned location. I'd appreciate any and all feedback especially on whether I took the best approach. pam_test_client auth and pam_test_client acct now work on my armeb-xscale-linux-gnueabi target. Signed-off-by: George McCollister <georgem@opteron.novatech-llc.com>
* Fix async resolver integration with teventStephen Gallagher2010-01-221-7/+19
| | | | | | | We weren't properly setting read/write flags on the tevent fd events, so c-ares was unable to perform bidirectional communication for TCP DNS (in situations where the response is too large to send by UDP)
* REFARRAY: New referenced array objectDmitri Pal2010-01-219-2/+802
| | | | | | | | | | | | | | | | | | | This object allows creation the arrays with the reference count. Usefull when there are many instances of some object have to reference dynamically allocated array which is common for all these instances. In case of ELAPI the event object keeps a referecne to the common array of the sinks in the fail over order. We decided that it will be a common object not specific only to ELAPI. All the review concerns related to this object have been addressed in this patch. It also has been moved to the common area.
* INI: Added method to get string list with empty valuesDmitri Pal2010-01-213-54/+117
| | | | | | | | | | | The original implementation was compressing the list, throwing away empty strings. The function that did that was pretty brain damaging. I cleaned it up and adjusted so that it could return list with empty values and without them. The old function was turned into a wrapper and a new high level function was intorduced to provide ability to get both empty and non empty strings.
* Add missing link for KerberosStephen Gallagher2010-01-211-1/+2
|
* Add 'prerelease-rpms' target to MakefileStephen Gallagher2010-01-211-0/+8
| | | | | | | This target is available only if building from a git checkout. It will automatically populate the PRERELEASE_VERSION in version.m4 with the current datestamp and git commit id for creating an RPM.
* Add 'prerelease-srpms' target to MakefileStephen Gallagher2010-01-212-0/+10
| | | | | | | This target is available only if building from a git checkout. It will automatically populate the PRERELEASE_VERSION in version.m4 with the current datestamp and git commit id for creating an SRPM.
* Use version.m4 for setting the SSSD versionStephen Gallagher2010-01-217-14/+23
| | | | | | | | This is the preferred way of setting the version in a file, as autotools will properly monitor this file for changes and rerun autoconf/configure when necessary to update the version. This means that we don't need to manually perform an autoreconf in order to build a new RPM
* Update the url in the spec filesSumit Bose2010-01-202-2/+2
|
* Split off libdhash into a shared libraryStephen Gallagher2010-01-209-15/+94
| | | | | | | | Right now, the pkg-config checks for the system version of libdhash are forcibly disabled, requiring the SSSD to build it from its own tree. In the future, when we split the libraries off from the SSSD, it will be easy to switch this check to the external library.
* License libdhash under the LGPLStephen Gallagher2010-01-203-0/+844
|