summaryrefslogtreecommitdiff
path: root/server
AgeCommit message (Collapse)AuthorFilesLines
2009-06-30Eliminate segfault on first start-upStephen Gallagher1-6/+19
There was a typo in the confdb setup portion of the monitor_process_init that was attempting to use the wrong cdb object to initialize. This patch also adds some missing talloc_free() calls on error.
2009-06-30Remove redundant libPath option from proxy providerStephen Gallagher3-17/+7
The libPath should be constructed from the libName. There is no benefit to specifying it separately.
2009-06-19Protect against segfault in service_signal_reloadStephen Gallagher1-0/+9
There is a potential race condition where the monitor may attempt to signal a reload of a child process before the communication sbus channel is available. If this happens, we will just exit this function and let the monitor kill and restart the child process.
2009-06-19Fix segfault in update_monitor_configStephen Gallagher2-8/+30
We were stealing the memory context of only the first value in the linked-list of domains (and also services). This patch adds a memory context to hold the lists so that can be stolen along with all of the entries.
2009-06-19Allow the use of custom CFLAGS on the make command lineStephen Gallagher3-3/+6
Setting CFLAGS explicitly in configure.ac means that they would be overwritten when using e.g. make CFLAGS="-O0 -g" This replaces the explicit setting of CFLAGS with an AM_CONDITIONAL to have Makefile.am set these instead. Also fixes a missing #include that was coincidentally obscured because gcc's -O2 happened to be able to locate it. Setting -O0 revealed the problem.
2009-06-18Add configure check for PCRE >= 7Stephen Gallagher1-0/+2
2009-06-17Create gettext framework for SSSD daemonStephen Gallagher17-15/+156
2009-06-16Control sssd_be exported functionsStephen Gallagher2-2/+9
2009-06-16Add --with-aux-info config option to SSSD daemonStephen Gallagher2-0/+11
2009-06-16Make SysV script install executableStephen Gallagher1-1/+1
2009-06-11Remove extra implementation of password_destructorStephen Gallagher1-11/+0
2009-06-11Add missing configure check for getpgrpStephen Gallagher1-1/+1
2009-06-10Turn sssd_mem_takeover into sssd_mem_attachSimo Sorce3-36/+51
The old function was not used anywhere, and this function uses better semantics, including not using void ** which gives strict aliasing problems. Also add a generic password destroy function
2009-06-10Fix warnings in stress-tests.cSimo Sorce1-19/+21
2009-06-10Link crypt functions only to sssd binariesSimo Sorce1-4/+2
2009-06-08Fix invalid pointer error in ldb_debug_messagesStephen Gallagher1-2/+19
2009-06-08Treat a missing provider entry as a config errorStephen Gallagher1-2/+7
2009-06-08fix detection of authentication against LOCAL domainSumit Bose1-3/+9
2009-06-08fix shadow-utils base pathJakub Hrozek1-1/+1
2009-06-03man page for LDAP domainsJakub Hrozek2-1/+233
2009-06-02added tls_reqcert option for native LDAP backendSumit Bose1-0/+32
In order to allow to access LDAP servers which do not provide SSL/TLS encryption the option tls_reqcert is added to the native LDAP backend. It accepts the same arguments as the corresponding OpenLDAP option documented in ldap.conf(5) and should preform accordingly.
2009-06-02sssd.conf(5) man pageJakub Hrozek2-1/+655
2009-06-02Enable quiet build for automake >= 1.11Stephen Gallagher1-0/+3
If automake 1.11 or higher is available, use of the configure option '--enable-silent-rules' will suppress most build messages and replace them with lines such as CC sysdb.o This affects libtool as well.
2009-06-02add utility function talloc_zfreeSimo Sorce1-0/+4
2009-06-01Do not statically link data provider pluginsStephen Gallagher1-4/+3
2009-06-01Suppress "rootdse" error messages from the confdbStephen Gallagher1-3/+4
2009-06-01Add more manpagesJakub Hrozek8-8/+591
2009-05-28Fix user enumeration bugSimo Sorce1-4/+0
The previous patch to fix an enumeration bug found with group enumeration inadvertently introduced a bug with user enumeration. Yeah, almost funny!
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 Gallagher1-1/+1
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-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-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 Gallagher2-1/+3
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-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 RPM generation issues with sssdStephen Gallagher1-1/+1
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.