1 import ./make-test-python.nix ({ ... }: {
4 nodes.machine = { pkgs, ... }: {
9 ldap_base_dn = "dc=example,dc=com";
12 environment.systemPackages = [ pkgs.openldap ];
16 machine.wait_for_unit("lldap.service")
17 machine.wait_for_open_port(3890)
18 machine.wait_for_open_port(17170)
20 machine.succeed("curl --location --fail http://localhost:17170/")
23 machine.succeed('ldapsearch -H ldap://localhost:3890 -D uid=admin,ou=people,dc=example,dc=com -b "ou=people,dc=example,dc=com" -w password')