0 votes

Hello,

I followed this tutorial (http://adaxes.com/tutorials_Simplifying ... gUsers.htm) to create service accounts that:
- Cannot change the password
- Password never expires

But, when I create the user the "Password never expires" is correctly set, but "Cannot change the password" is not set on the AD user.

Is this normal?

by (750 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

This is a known issue. The thing is that the User cannot change password Account Option exists, but it is ignored by Microsoft AD. The option is set via native permissions in AD.

To set the User cannot change password option for new users, you need to add one more property to the Property Pattern that you've created. The property name is User Cannot Change Password. You need to set it to True. To do this:

  1. Launch Adaxes Administration Console.
  2. Locate the Property Pattern the you've created following the instructions in the tutorial and select it.
  3. Click Add at the top of the Result Pane (located on the right).
  4. Select the Show all properties option.
  5. Select the User Cannot Change Password property.
  6. Select True in the Default value drop-down list.
  7. Save the Property Pattern.

As to the tutorial, we'll fix it in the nearest future.

0

Thanks, it works great that way

Related questions

0 votes
0 answers

Hello The "Send mail"-Function is not working if i use the %mail%-Parameter. If i want to send an information like "Your password will expire in 7 Days" via mail but it ... if i put a specified recipient in the "To"-Field the recipient will get the message.

asked Apr 30 by Baul (110 points)
0 votes
2 answers

I've had a couple custom commands configured since 6/2023 and they've been working just fine up until recently (sometime within the past few weeks or so). Here's a general ... something obvious here. But I can't make sense of why this is suddenly an issue.

asked Mar 20 by msinger (110 points)
0 votes
1 answer

Hi all, We currently have a bunch of dial plans that we assign to new users via Adaxes. We updated Adaxes to the latest version, and moved it to a new server before ... value - perhaps this value has been removed/broken in new versions of adaxes? Cheers all.

asked Jan 22 by TheLexicon (200 points)
0 votes
0 answers

Ever since upgrading to 3.16.21906.0 the script here no longer works: https://www.adaxes.com/script-repository/move-mailbox-tofrom-microsoft-365-s579.htm Not sure what the issue is as I can't find any errors in the log.

asked Nov 16, 2023 by curtisa (210 points)
0 votes
1 answer

Hi I'm trying to add your report from here but whenever I run it, I get 2 errors for each user which seem to correspond to the following 2 lines in the ... "user" $Context.DirectorySearcher.AddCriteria($criteria) But I still get the same error's. Thanks Matt

asked Oct 16, 2023 by chappers77 (2.0k points)
3,374 questions
3,073 answers
7,817 comments
545,386 users