0 votes

Hi. I am create a Custom Commands. The Custom Commands will run a powshell by user.

Is it possible for me to require the user to verify the passwordagain when performing these Custom Commands?

by (90 points)
0

Hello,

Sorry for the confusion, but we are not sure what exactly you mean. Could you, please, describe the desired behaviour in all the possible details with live examples?

0

Hi I use Custom Commands to let users set B domain passwords. User is login Adaxes use A Domain. We do not allow users to set the same password as "A domain"

I tried to verify "A DOMAIN" by entering the password to confirm whether the password is the same

擷取.PNG

1 Answer

0 votes
by (270k points)

Hello,

Thank you for the provided details. Unfortunately, there is no possibility to validate passwords the way you need because Active Directory does not allow retrieving passwords of existing users. This behaviour is by design and is not related to Adaxes.

0

Thanks for your reply, I did it using the method below. share with everyone.

image.png

# The condition is met if $Context.ConditionIsMet is set to $True.

$UserName = '%sAMAccountName%'
$Password = '%param-P01%'
Function Test-ADAuthentication {
    param(
        $username,
        $password)

    (New-Object DirectoryServices.DirectoryEntry "",$username,$password).psbase.name -ne $null
}
$condition = Test-ADAuthentication -username $UserName -password $password
if ( $condition)
{
    $Context.ConditionIsMet = $True
}

image.png

0

Hello,

Thank you for sharing the details. We misunderstood your requirement. If the password to validate is provided (e. g. in a parameter like you did) it is certainly possible to validate the credentials.

Related questions

0 votes
1 answer

We have implentend Adaxes in our infrastructure and users who use forget their password link via Adaxes self service portal by going thorugh the registered Q&A are being prompted to ... by a specific business rule, I am unable to check this via the log

asked Mar 14, 2023 by Vish539 (310 points)
0 votes
1 answer

Hi, I'm trying to add an custom command under Actions. While I'm able to add them under UI editor, it is not visible when a user logs into self-service portal. However, other default actions are visible when I toggle them in UI editor.

asked Feb 5 by Renugopal (120 points)
0 votes
1 answer

Hi The Custom Commands edil Box Send more symbols. If type the symbols $ the will output '$ How can I fix it? Input Output

asked May 31, 2022 by will.chc.join (90 points)
0 votes
1 answer

For a custom command, I need to perform some actions, then reboot a computer, then perform some more. How can we handle the reboot so the actions continue once the computer is back up and ready? Thanks

asked May 17, 2022 by jcrook (100 points)
0 votes
1 answer

Hey Support, i hope you can help me with this and how to build it in Adaxes. I want to have a one click action, like a custom command, in the web interface that ... (static) group B Update the members dynamic groups C & D Thanks for your assistance, Markus

asked Nov 29, 2021 by roppiffm (130 points)
3,326 questions
3,026 answers
7,727 comments
544,684 users