gssproxy icon indicating copy to clipboard operation
gssproxy copied to clipboard

Migrate test suite to 389ds

Open frozencemetery opened this issue 5 years ago • 4 comments
trafficstars

Currently the test suite uses openldap as a server. However, we'd like to be able to run it in RHEL/CentOS, which means that it ought to be done with 389ds.

n.b.: While it's tempting to use freeipa rather than doing this by hand, there are two large problems with that. First, freeipa takes forever to download and install because it's setting up so much else that we don't need (we just need a KDC). Second, freeipa's server isn't usable in distros that aren't Fedora-like, while gssproxy is; within reason, I'd like to keep parity between where we can run our code and our tests.

frozencemetery avatar Aug 24 '20 20:08 frozencemetery

You may want to look into this to see what it takes to run 389ds the same way we do openldap server: https://pagure.io/slapi-nis/blob/master/f/tests/slapd.sh.in

simo5 avatar Aug 25 '20 14:08 simo5

That's really unfortunate. Nice use of cwrap, but not something I'm about to replicate for us I think.

Do you know if there's a 389ds ticket for this, or should I file one?

frozencemetery avatar Aug 25 '20 16:08 frozencemetery

You may want to file a ticket with the 389ds project to provide something simpler.

simo5 avatar Aug 25 '20 17:08 simo5

Filed: https://bugzilla.redhat.com/show_bug.cgi?id=1872451

frozencemetery avatar Aug 25 '20 18:08 frozencemetery