forked from lix-project/hydra
ldap-legacy.t: specify the root password manually
This commit is contained in:
parent
0bd4a75918
commit
848fb3b265
|
@ -7,7 +7,9 @@ use Catalyst::Test ();
|
||||||
use HTTP::Request::Common;
|
use HTTP::Request::Common;
|
||||||
use JSON::MaybeXS;
|
use JSON::MaybeXS;
|
||||||
|
|
||||||
my $ldap = LDAPContext->new();
|
my $ldap = LDAPContext->new(
|
||||||
|
root_password => "the-root-password",
|
||||||
|
);
|
||||||
my $users = {
|
my $users = {
|
||||||
unrelated => $ldap->add_user("unrelated_user"),
|
unrelated => $ldap->add_user("unrelated_user"),
|
||||||
admin => $ldap->add_user("admin_user"),
|
admin => $ldap->add_user("admin_user"),
|
||||||
|
@ -36,7 +38,7 @@ store:
|
||||||
timeout: 30
|
timeout: 30
|
||||||
debug: 0
|
debug: 0
|
||||||
binddn: "cn=root,dc=example"
|
binddn: "cn=root,dc=example"
|
||||||
bindpw: notapassword
|
bindpw: the-root-password
|
||||||
start_tls: 0
|
start_tls: 0
|
||||||
start_tls_options:
|
start_tls_options:
|
||||||
verify: none
|
verify: none
|
||||||
|
|
Loading…
Reference in a new issue