summaryrefslogtreecommitdiff
path: root/sss_client
AgeCommit message (Collapse)AuthorFilesLines
2009-08-11Make socket paths a compile-time optionStephen Gallagher3-7/+25
Previously, we had hardcoded the paths for the NSS, PAM and private PAM sockets to /var/lib/sss/pipes. With this patch, we will specify the sockets with --with-pipe-path.
2009-07-22cleanup of pam_sssSumit Bose1-250/+241
- make pam_sss work with pam_cracklib and similar pam modules - clean up the if-&&-else-|| jungle to make clear what is happening
2009-07-13Build all SSSD components with warnings enabledStephen Gallagher2-0/+7
Previously, only the SSSD server components were being built with compile-time warnings enabled. This patch will ensure that all components in common and sss_client are also built the same way.
2009-07-08Add dumb way to clean up .X filesSimo Sorce1-0/+2
2009-07-03Cleanup warnings in client and server codeSimo Sorce1-2/+2
2009-07-02added kerberos backend with tevent_req event handlingSumit Bose1-1/+1
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-18Do not treat warnings as errorsStephen Gallagher1-3/+0
2009-06-16Control sss_client exportsStephen Gallagher3-2/+11
2009-06-16Add --with-aux-info config option to SSS clientStephen Gallagher2-0/+13
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-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-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-28Build non-versioned sss_pam.so, libnss_sss.so and memberof.soStephen Gallagher1-2/+5
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-26Initial gettext framework for sss_clientsStephen Gallagher13-3/+1231
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-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.
2009-05-19Use freeipa-devel@redhat.com for bug reportsStephen Gallagher1-1/+1
2009-05-19Enable automake builds for sss_clientStephen Gallagher4-98/+58
2009-05-17Build fixesSimo Sorce1-0/+2
Comment out unused function in pam_sss Add missing configure.ac to common/ini
2009-05-15added new pam client protocolSumit Bose2-3/+150
2009-05-15added more flexible handling of client protocolSumit Bose2-5/+20
- allow different protocol versions for PAM and NSS - support more than one protocol version in the responder
2009-05-08added syslog support to pam_sssSumit Bose1-5/+40
2009-05-08cleanup and fixes for pam_sssSumit Bose1-190/+352
- if PAM_USER==root return PAM_USER_UNKNOWN - pam_sss now can handle to following options: - use_first_pass: forces the module to use a previous stacked modules password and will never prompt the user - use_authtok: when password changing enforce the module to set the new password to the one provided by a previously stacked password module - forward_pass: store the passwords collected by the module as pam items for modules called later in the stack
2009-04-29Fix IndentationSimo Sorce1-88/+89
2009-04-29reuse authtok which is already in the pam stackSumit Bose1-2/+22
2009-04-27Update sss_client configure.ac tooSimo Sorce1-1/+1
2009-04-23allow to forward the authtok to other pam modulesSumit Bose1-0/+16
Other pam modules which are called after pam_sss might want to reuse the given password so that the user is not bothered with multiple password prompt. When pam_sss is configured with the option 'forward_pass' it will use pam_set_item to safe the password for other pam modules.
2009-04-20sssd 0.3.2Jakub Hrozek1-1/+1
2009-04-13Bump up to 0.3.1Simo Sorce1-1/+1
2009-03-25Fix compilation error due to implicit castStephen Gallagher1-2/+2
2009-03-20added response type PAM_ENV_ITEM and integrated response data into dbus messagesSumit Bose2-0/+35
2009-03-13append CFLAGS environment variable to Makefiles CFLAGSSumit Bose1-2/+2
2009-03-10Remove unexisting left over headerSimo Sorce2-2/+1
Also bump up the version as this error prevented a successful build of 0.2.0
2009-03-10Bump up to version 0.2.0Simo Sorce1-1/+1
Change version after changes in protocol and MPG behavior.
2009-03-10added generic PAM return messages and a false login delaySumit Bose2-15/+64
2009-03-10Treat uids and gids as 32 bit numbers not 64Simo Sorce3-28/+28
In the nss communication protocol we were treating uids and gids as 64 bit values, but uids and gids are really u32 values, change the protocol to reflect the real size.
2009-03-10Fix bugs in functions dealing with groupsSimo Sorce1-1/+1
Fix infinite loop within initgr functions. Fix min length check copy&paste error, was filtering valid groups if the name was short enough and the group had no members.
2009-03-09NSS libs do not use versioned shared objectsSimo Sorce1-1/+1
Afaik glibc uses just .so/.so.2, and all other nss libs I can see in the system are the same.
2009-03-05added sss_client to spec fileSumit Bose1-3/+5
2009-03-05added password reset by rootSumit Bose1-9/+33
2009-03-05Fix sss_client install targetSimo Sorce1-4/+5
With this fix configure must be passed the right libdir argument depending on the platform you are building on. For example on Linux x86_64: ./configure --libdir=/lib64
2009-03-05added a privileged pipeSumit Bose2-7/+24
2009-03-02first version of LOCAL pam backendSumit Bose1-0/+6
2009-02-24Add PAM clientSumit Bose15-0/+5588
Also rename nss_client to sss_client and reuse the same pipe protocol for both the NSS and PAM client libraries. Signed-off-by: Simo Sorce <ssorce@redhat.com>