+71
nixos/modules/services/databases/lldap.nix
+71
nixos/modules/services/databases/lldap.nix
···+Set this setting to `"always"` to update the admin password when `ldap_user_pass_file` changes.+Setting to `"always"` also means any password update in the UI will be overwritten next time the service restarts.+Disable warning when the admin password is set declaratively with the `ldap_user_pass_file` setting+lldap: The default admin password is declared with the setting `ldap_user_pass_file`, but `force_ldap_user_pass_reset` is set to `false`.+This means the admin password can be changed through the UI and will drift from the one defined in your nix config.+It also means changing the setting `ldap_user_pass_file` will have no effect on the admin password.+Either set `force_ldap_user_pass_reset` to `"always"` or silence this warning by setting the option `services.lldap.silenceForceUserPassResetWarning` to `true`.
+63
-9
nixos/tests/lldap.nix
+63
-9
nixos/tests/lldap.nix
······-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')+cmd = f'ldapsearch -H ldap://localhost:3890 -D uid={user},ou=people,dc=example,dc=com -b "ou=people,dc=example,dc=com" -w {password}'