Howdy,
We are having an issue with our Macbooks on High Sierra that are bound to AD with a box that pops up when the user tries to log in:
Password Expiration: Your password will expire in 29 days....
Is this because we have "Create Mobile Accounts" selected in our Directory Binding? Our user password policy is set to expire passwords every 180 days. Most of our users who were enrolling their macs reset their passwords within the last few days. Also included in the password policy is that the user cannot change their password within 30 days of changing it. This 29 days doesn't make any sense. Which leads me to believe it is a mac issue and not because the machine is bound to AD.
Environment: Jamf Pro v10.6
Enrollment Setup:
I have a daisy chain of enrollment policies that go out during enrollment. Here is the summary:
1) Sync Apple Time Server: ntpdate -u time.apple.com
2) Script changing the name of the mac to the serial number
3) Bind to AD with the Directory Binding
a) Create Mobile account at login = enabled
b) Force local home directory = enabled
c) Use UNC path = enabled
d) Allow Administration by = Support Staff
3a) Execute Command = dsconfigad -group "Support Staff, teachers, administrators"
4) Set Password Expiration
a) Execute Command = defaults write /Library/Preferences/com.apple.loginwindow PasswordExpirationDays -int 179
I added this to the enrollment policies, because the mac prompted the users to immediately change their password, even though they weren't do for a password change. When the user changed their password, AD reflected the change and set the password to expire in 179 days
Any help would be appreciated. This is the first year we are doing this and frankly, I'm out of time for testing because teachers are now here enrolling their macs.
As a side note. We had this issue since May of 2018 on non-DEP macbooks that were bound to AD. Our network guy would just send the command in terminal that I have in step 4-a. Those mac users were not prompted to change their password again.
Is it possible that I need to send that command to the mac once the mobile account is created? I'm grabbing at straws now...