summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-28Fix potential integer oveflowSimo Sorce1-11/+10
If mem_num is big enough then ptmem can be big enough that dlen - ptmem actually gives back a postive integer. Also tidy up the termination condition at the end of the buffer so that it is less confusing.
2009-05-28Enable enumeration in sysdb testsStephen Gallagher1-0/+8
2009-05-28Suppress "rootdse" error messages.Stephen Gallagher4-0/+41
We will trap all LDB debug messages and pipe them into our internal DEBUG() function. LDB FATAL messages will still be printed by default, WARNING and TRACE functions will be at debug level 3 and 9, respectively.
2009-05-28Make Data Provider a mandatory serviceJakub Hrozek1-0/+32
2009-05-28Build non-versioned sss_pam.so, libnss_sss.so and memberof.soStephen Gallagher3-8/+7
2009-05-28gettext cleanupsSumit Bose9-1137/+13
This patch removes a couple of files which can be created by autopoint automatically. The pot file now contains no changes compared to the output of xgettext. This should help to avoid unnecesary changes to the pot or po files during a 'make dist' or similar calls.
2009-05-28special-case NSS calls in PAM codeJakub Hrozek1-2/+2
2009-05-28Use PTR_2_INT for alignment calculationsSimo Sorce1-4/+5
This version should be pointer size agnostic. Should make this code safe on both 32bit and 64bit.
2009-05-27Fix enumerations (bug #42)Simo Sorce1-12/+76
If a backend had all its results filtered in fill_pwent or fill_grent then we would return an empty result, which means "end of results" to the client. Now we return ENOENT and let callers decide what to do. Also make sure we do not grow packets unless we are going to fill them as that's a recipe for killing the client as the size passed to sss_packet_grow is used to determine the size of the final packet.
2009-05-26Initial gettext framework for sss_clientsStephen Gallagher15-6/+1233
2009-05-26fix a wrong timeoutSumit Bose1-3/+4
The timeout of the data provider call (in ms) got overwritten by a cache timeout (in s).
2009-05-26Adjust sysdb tests to the new confdb interface and improve sysdb test coverageJakub Hrozek1-39/+771
2009-05-26Silence warningsSimo Sorce10-22/+29
2009-05-26Do not fire up backend search when the data provider is localJakub Hrozek3-17/+21
2009-05-26Fix release.shJakub Hrozek1-3/+24
Fix version extraction in release script Use make dist-gzip inside of git-archived directory
2009-05-26Stop overwriting the stackSimo Sorce1-2/+2
Actually use the buffer not it's location on the stack.
2009-05-26Link proxy backend against internal crypto libraryStephen Gallagher1-2/+4
2009-05-26Move useradd defaults to confdbJakub Hrozek1-3/+25
Previously, sss_useradd defaults were hardcoded with no way to change user's default shell or base for home directory. This patch moves them into config/user_defaults
2009-05-26Clean up automake build to work on older versions of libtoolStephen Gallagher13-57/+53
LT_INIT is supported only on Libtool >= 2.0, so I reverted it to using AC_PROG_LIBTOOL. Also reorganized how the common libraries were being built. Now they are treated as libtool convenience libraries instead of installable libraries (the --with-singlelib configure flag can still be used to generate a combined, installable DSO) I cleaned up the set of files being installed by automake, so the list of things we need to remove before packaging the RPM is now only the .la files associated with our own plugins.
2009-05-26Fix manual UID assignment in sysdbJakub Hrozek1-11/+15
If it's an MPG domain, set them equal. If it's a non-MPG domain, get the next available GID and use that.
2009-05-26Fix infopipe packagingJakub Hrozek1-0/+4
2009-05-26Add some more InfoPipe testsJakub Hrozek2-1/+627
2009-05-26Fix typos in the Introspection XML fileJakub Hrozek1-3/+5
2009-05-26more autotools cleanupSumit Bose7-14/+15
2009-05-26Fix initscript return codesJakub Hrozek1-6/+6
2009-05-26Read the config before startup, fail if cannot be readJakub Hrozek1-0/+26
2009-05-19Fix spec fileSimo Sorce1-2/+11
Dist must be optional Make sure to mark sssd.conf config_noreplace Set appropriate permissions on database and pipes directories
2009-05-19Fix RPM generation issues with sssdStephen Gallagher7-28/+16
Ensures that the common libraries build statically. Also ensures that the sssd.spec creates the SYSV init script with the appropriate permissions. Cleans up the useless rpmdist target that was obsolete. Adds the *.so.N.0.0 files to the RPM, as the .so and .so.N files were dangling symlinks.
2009-05-19Use freeipa-devel@redhat.com for bug reportsStephen Gallagher6-7/+7
2009-05-19Convert top-level of SSSD to automake.Stephen Gallagher5-94/+119
Also update RPM spec and build procedures.
2009-05-19Enable automake builds for sss_clientStephen Gallagher4-98/+58
2009-05-19Enable automake builds for sssd serverStephen Gallagher13-3791/+467
2009-05-19Enable automake builds for libreplaceStephen Gallagher4-73/+57
2009-05-19Enable parallel builds for the common librariesStephen Gallagher5-8/+103
2009-05-19call tevent_add_fd only onceSumit Bose1-27/+11
2009-05-19added prototype for sysdb_set_cached_passwordSumit Bose1-0/+6
2009-05-18Implement approximate offline detection in proxySimo Sorce1-5/+98
This will blackout any request to the backend for 15 seconds, then will allow again to retry.
2009-05-18Move actual password caching into sysdbSimo Sorce12-156/+286
Convert auth modules to do the caching themselves
2009-05-18Split ldap backend into auth and identity filesSimo Sorce3-20/+800
2009-05-18Move ldap_be.c into ldap/ldap_auth.cSimo Sorce1-0/+0
2009-05-18Prevent accepting blank passwordsSimo Sorce1-0/+7
2009-05-18Fix crypt functions to not use static buffers.Simo Sorce4-338/+334
Also fix style, clarify, and simplify some logic.
2009-05-17Build fixesSimo Sorce2-0/+22
Comment out unused function in pam_sss Add missing configure.ac to common/ini
2009-05-15Treat the local provider as a special caseStephen Gallagher2-1/+17
The local provider needs no backend, so we'll create a special provider entry for it called "local" that will not attempt to retrieve provider configuration but will remain in the service list so it can be updated when the config file changes.
2009-05-15added new pam client protocolSumit Bose3-4/+282
2009-05-15added more flexible handling of client protocolSumit Bose6-7/+83
- allow different protocol versions for PAM and NSS - support more than one protocol version in the responder
2009-05-14Manpage generationJakub Hrozek8-3/+243
Provides a set of make rules for generating UNIX manual pages from DocBook 4.5 source as well as sample manpage for sss_useradd. Automatic generation of manual pages during "make" process is tunable with config parameter "--with-manpages". To rebuild the man pages separately, use the "make doc" target. Before building, the manpages are validated using a DTD schema.
2009-05-14Enable building a single libsssd_utils.so from commonStephen Gallagher3-6/+38
2009-05-14Enable modular build of common SSSD librariesStephen Gallagher14-10/+55
Allow configuration and build of individual SSSD utility libraries from their own subdirectories. Building all utilities is still possible recursively from the common root.
2009-05-14Update configure rules for LDB and POPTStephen Gallagher2-4/+9
We need to ensure that configure fails with an error if the popt development libraries are not present or if ldb module support is not available.