Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
nixos/openldap: fix assertion #64387
Motivation for this change
Prior to that, rootpw's type was
However, these options aren't used if the configDir option is set, so as written this assertion breaks valid configurations, including the configuration used by nixos/tests/ldap.nix.
So this patch fixes the assertion so that it doesn't fire if configDir is set.