Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
29b5ed5d
Commit
29b5ed5d
authored
Dec 03, 2019
by
Francesc Guasch
Browse files
test(auth): check stored PDKDF2
issue #1208
parent
5d05ca7f
Changes
1
Show whitespace changes
Inline
Side-by-side
t/65_user_ldap.t
View file @
29b5ed5d
...
...
@@ -251,6 +251,8 @@ sub test_user_bind {
is
(
$mcnulty
->
{
_auth
},
'
bind
');
test_uid_cn
(
$user
,
$with_posix_group
);
unlink
$file_config_bind
;
$ravada
=
Ravada
->
new
(
config
=>
$file_config
...
...
@@ -490,7 +492,7 @@ sub test_pass_storage($with_posix_group) {
$name
=
'
test_pbk
';
$new_user
=
test_user
(
$name
,
$with_posix_group
,
$$
,
'
PBKDF2
');
like
(
$new_user
->
{
_ldap_entry
}
->
get_value
('
userPassword
'),
qr/^{PBKDF2
}
/
);
like
(
$new_user
->
{
_ldap_entry
}
->
get_value
('
userPassword
'),
qr/^{PBKDF2/
);
_remove_user_ldap
(
$name
);
}
...
...
@@ -536,8 +538,6 @@ SKIP: {
test_user_bind
(
$user
,
$fly_config
,
$with_posix_group
);
test_uid_cn
(
$user
,
$with_posix_group
);
remove_users
();
};
unlink
(
$fly_config
)
if
-
e
$fly_config
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment