Hi everyone,
I've worked on Samba integration tests for a while and here is where I got
thus far. I'll need to resume my work on Session Recording [1] for now and
will be happy if someone took the Samba work over. If not I'll return to it
some time in the future.
The attached patches add very rudimentary Samba AD DC instance setup and
teardown, and a very basic test, plus the requisite changes. They require
Samba built with AD DC support, which is missing from RHEL/Fedora repos, but
can conveniently be acquired from Lukas's COPR repo (Thanks, Lukas!):
https://rhcopr-devel.lab.eng.brq.redhat.com/coprs/lslebodn/samba4/
The patches were confirmed working on Fedora 22 and Debian Testing. The latter
had resolv_wrapper installed manually, since it's not in Debian repos yet.
Among the things we still have to do are:
* Make Samba packages with AD DC support available for developers on
Fedora/RHEL. Add instructions for getting them to contrib/ci/README.md and
maybe somewhere else as well, if that's different from the already existing
COPR repo.
* Add support for disabling SSSD netlink use, perhaps with an environment
variable which can then be set in src/tests/intg/Makefile.am.
See
https://fedorahosted.org/sssd/ticket/2860
* Deliver resolv_wrapper to Debian package repos.
* Write the actual tests.
Thanks everyone who helped me get this far!
Hope we get this working and merged eventually :)
Nick
[1]
http://spbnick.github.io/2015/10/26/open-source-session-recording.html