[RFC] Add basic support for CI test execution
by Nikolai Kondrashov
Hi everyone,
I would like to collect feedback about the attached patch adding support for
basic CI test runs.
Please ask any questions, give any suggestions and voice any objections you
think are appropriate.
Thank you.
Nick
9 years, 9 months
[PATCH] nested groups: do not fail if we get one entry twice
by Pavel Březina
I wasn't able to reproduce it without the plugin/server that is able to
expand the nested member attributes on its own - although I think it
should be reproducible even without it, since we use only one hash user
and group table per the whole request.
Nevertheless, the patch is simple and safe.
9 years, 9 months
[PATCH] TESTS: Fix format string in check macros
by Lukas Slebodnik
ehlo,
While I was writting patch for parse_args I noticed some format string
problems in fail_if macros from libcheck. Unfortunatelly, cunction in libcheck
is written in way that it is impossible to check it in compile time.
On the other side, messages are printed only in case of filed assertion.
LS
9 years, 9 months
[PATCH] SYSDB: Remove useless NULL test.
by Lukas Slebodnik
ehlo,
There is a test for NULL after calling talloc_strndup
and variable version was used a few times in strcmp before debug message.
Simple patch is attached.
LS
9 years, 9 months
[PATCH v2 0/5] NFSv4 rpc.idmapd plugin
by Noam Meltzer
Hello sssd-devel & linux-nfs,
This is v2 of the patch set. It is now sent to linux-nfs as weel, following
Steve Dickson request.
The code in the next 5 patches implements the design document:
https://fedorahosted.org/sssd/wiki/DesignDocs/rpc.idmapd%20plugin
The changes in the code (compared to v1) are following the review done in
sssd-devel.
I believe that there are still two items in dispute (no final verdict was given
in the sssd mailing list) but this new patch set will give a chance to have a
cleaner look on things.
--
Noam Meltzer
Linux Software Engineer
PRIMARY DATA
P.O. Box 12650, Herzliya Pituach 4673300
9 Hamenofim St. Akerstein Towers, Tower A, 5th fl. Herzliya
Office: +972-77-8981888 | Fax: +972-3-7617140 | Mobile: +972-54-5873843
Email: noam(a)primarydata.com
--
Noam Meltzer (5):
NEW CLIENT: plugin for NFSv4 rpc.idmapd
NFSv4 client: (private) headers from libnfsidmap
NFSv4 client: add to build system
NFSv4 client: man page
NFSv4 client: add to RPM spec
Makefile.am | 19 ++
configure.ac | 10 +
contrib/sssd.spec.in | 8 +
src/conf_macros.m4 | 30 ++
src/external/libnfsidmap.m4 | 17 +
src/man/Makefile.am | 4 +-
src/man/include/seealso.xml | 4 +
src/man/sss_rpcidmapd.5.xml | 97 ++++++
src/sss_client/common.c | 5 +
src/sss_client/nfs/nfsidmap_internal.h | 78 +++++
src/sss_client/nfs/sss_nfs_client.c | 569 +++++++++++++++++++++++++++++++++
src/sss_client/sss_cli.h | 2 +
12 files changed, 842 insertions(+), 1 deletion(-)
create mode 100644 src/external/libnfsidmap.m4
create mode 100644 src/man/sss_rpcidmapd.5.xml
create mode 100644 src/sss_client/nfs/nfsidmap_internal.h
create mode 100644 src/sss_client/nfs/sss_nfs_client.c
--
1.8.5.3
9 years, 9 months
[PATCH] CONFIGURE: Prefer python2
by Lukas Slebodnik
ehlo,
The configure script failed with python3
checking for python... /usr/bin/python
checking for python version... 3.3
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.3/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.3/site-packages
checking for headers required to compile python extensions... File "<string>", line 1
import sys; print sys.prefix
^
SyntaxError: invalid syntax
File "<string>", line 1
import sys; print sys.exec_prefix
^
SyntaxError: invalid syntax
not found
configure: error: Could not find python headers
checking for python... /usr/bin/python
checking for working python... File "<string>", line 1
from distutils import sysconfig; print '-I' + sysconfig.get_python_inc() + ' -I' + sysconfig.get_python_inc(plat_specific=True) + ' ' + sysconfig.get_config_var('BASECFLAGS')
^
SyntaxError: invalid syntax
File "<string>", line 1
from distutils import sysconfig; print " ".join(sysconfig.get_config_var('LIBS').split() + sysconfig.get_config_var('SYSLIBS').split()) + ' -lpython' + sysconfig.get_config_var('VERSION') + ' -L' + sysconfig.get_config_var('LIBDIR')
^
SyntaxError: invalid syntax
yes
checking for Py_ssize_t... yes
checking for PySet_New... no
checking for PySet_Add... no
How to test?
* use distribution with default python >=3
* test on fedora 20
- python, python3 packages should be installed
- cd /usr/bin/
- unlink python
- ln -s python3 python
Do not forget to change symling after testing :-)
Patch is attached.
LS
9 years, 9 months
[PATCHES] SYSDB: memory leaks
by Pavel Reichl
Hello,
I noticed 2 little memory leaks in SYSDB, I believe they aren't serious
as they are probably handled on higher level, but I believe they should
be fixed anyway.
1st patch adds check on memory leaks to one of SYSDB test. This test
will fail unless 2nd and 3rd patch are applied.
Regards,
Pavel Reiclh
9 years, 9 months