1097a61a8d4a892e126d14631c1b80fc1a5ce976 |
|
16-Jan-2017 |
Lukas Slebodnik <lslebodn@redhat.com> |
intg: Use bytes for value of attributes in ldif
Python3 version of ldap module require string for name of attribute
but bytes for value of attribute. It was not a problem in python2
due to unicode changes in python3
Reviewed-by: Martin Basti <mbasti@redhat.com> |
1cba321946084231c220e9561487555671b944c3 |
|
24-Aug-2016 |
Petr Cech <pcech@redhat.com> |
INTG: Adding support for netgroups to ldap_ent
Resolves:
https://fedorahosted.org/sssd/ticket/2841
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
c65de71bc38753320b9fd6f6fe1386244a2ff54a |
|
09-Oct-2015 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
intg: Fix RFC2307bis group member creation
Fix creation of mixed user/group "member" attribute for RFC2307bis
group entries in ldap_ent.py.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
c423ad75a56b199083463a2714c8fbfd6e8edcc8 |
|
09-Oct-2015 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
intg: Add support for specifying all user attrs
Support passing all user attributes to ldap_ent.py's user-creation
functions, in integration tests.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
60713f738cedb6e4239604baf6619a0ca986fa49 |
|
03-Sep-2015 |
Michal Židek <mzidek@redhat.com> |
intg: Fix some PEP 8 violations
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
9d453f1e8b28983b363b44c49b7cd701a994fd97 |
|
28-May-2015 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
Add integration tests
Add "intgcheck" make target. Update CI to use it.
The "intgcheck" target configures and builds sssd in a sub-directory,
installs it into a prefix in another sub-directory, and then makes the
"intgcheck-installed" target from within src/tests/intg in that separate
build.
The "intgcheck-installed" target in src/tests/intg runs py.test for all
tests it can find in that directory, under fakeroot and
nss_wrapper/uid_wrapper environments emulating running under root.
It also adds the value of INTGCHECK_PYTEST_ARGS environment/make
variable to the py.test command line. You can use it to pass additional
py.test options, such as specifying a subset of tests to run. See
"py.test --help" output.
There are only two test suites in src/tests/intg at the moment:
ent_test.py and ldap_test.py.
The ent_test.py runs tests on ent.py - a module of assertion functions
for checking entries in NSS database (passwd and group), for use in
actual tests. The ent_test.py suite can be used as ent.py usage
reference.
The ldap_test.py suite sets up and starts a slapd instance, adds a few
user and group entries, configures and starts sssd and verifies that
those users and groups are retrieved correctly using various NSS
functions. The tests are very basic at the moment.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Michal Židek <mzidek@redhat.com> |