summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-30Add pam_sss_macros.h to "make dist"Stephen Gallagher1-1/+2
When I added the new header, I forgot to add it to Makefile.am, so it was not included by automake when generating a tarball using make dist-gzip.
2009-06-25Implement _pam_overwrite_n(n,x) for older systemsStephen Gallagher2-0/+31
OSes based on older versions of the PAM development libraries lack the _pam_overwrite_n(n,x) macro. This patch copies the Fedora 11 pam-devel-1.0.91-6 implementation into an SSSD private header. This affects RHEL5 and SUSE10.
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-18Do not treat warnings as errorsStephen Gallagher1-3/+0
2009-06-17Create gettext framework for SSSD daemonStephen Gallagher19-15/+158
2009-06-16Control sss_client exportsStephen Gallagher3-2/+11
2009-06-16Control sssd_be exported functionsStephen Gallagher2-2/+9
2009-06-16Add --with-aux-info config option to SSS clientStephen Gallagher2-0/+13
2009-06-16Add --with-aux-info config option to SSSD daemonStephen Gallagher2-0/+11
2009-06-16Make SysV script install executableStephen Gallagher2-2/+2
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-08Remove unnecessary .la cleanup from sssd.spec.inStephen Gallagher1-8/+0
2009-06-08Fix invalid pointer error in ldb_debug_messagesStephen Gallagher1-2/+19
2009-06-08Update version to 0.4.1Stephen Gallagher1-1/+1
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-03Add the man(5) pages to the spec fileStephen Gallagher1-0/+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 Gallagher6-0/+18
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-02Fix nasty bug in rendering the password fieldSimo Sorce1-2/+1
An error introduced with the last tidyup patches would skip the first char of the password field.
2009-06-02Don't mix strdup and static stringsSimo Sorce1-1/+1
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-28Ignore po files, patches and other build stuffSimo Sorce1-6/+17
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-28Standardize style and fix potential lenght checkSimo Sorce1-28/+47
We were not subtracting the initial 8 bytes from slen. This could cause us to run past the source buffer in case we received a bad packet.
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