Limit reversible password storage to SGU accounts
This commit is contained in:
1 parent
843a1956d6
commit
80baae1b54
13 files changed
+139
-34
No files matched your search
@@ -32,7 +32,7 @@ Describe 'SGU Auth Broker password authority' {
|
||||
$userPolicy | Should Match '(?s)-ValueName \$disableChangePasswordValueName.*-Type DWord.*-Value 1'
|
||||
}
|
||||
|
||||
It 'scopes exact SGO passwords to all three SGU role groups without changing the domain default' {
|
||||
It 'scopes exact SGU passwords to all three SGU role groups without changing the domain default' {
|
||||
foreach ($role in @('Alumnos', 'Administrativos', 'Docentes')) {
|
||||
$passwordPolicy | Should Match "CN=SGU-$role,OU=$role,OU=Usuarios-SGU"
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ public sealed class BrokerClientTests
|
||||
|
||||
BrokerDecision decision = await client.AuthenticateAsync(
|
||||
"AL250792",
|
||||
"SGOAccepted",
|
||||
"SGUAccepted",
|
||||
TestContext.Current.CancellationToken);
|
||||
|
||||
Assert.Equal(BrokerDecisionKind.Unavailable, decision.Kind);
|
||||
|
||||
Reference in new issue
Block a user