GP-AD user password expiry

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

GP-AD user password expiry

L0 Member

When setting up a Global policy object for a Paloalto globalprotect user/group , the maxpwdage attribute does not match the, the password expiry date sent for Paloalto user, This can be confusing to know when the password actually going to expire for the GP user.
Panos 7.0.6
Gp 3.0.3
AD server 2012r2

Max password age was set on 14.05.17

pwdpilicy.PNG

 

Tailing the authd logs whilst connecting with a GP user
>>tail follow yes mp-logs authd
It shows that there are only 64 days left before the password expires, however the default domain policy is set to 75 days

 

 

pwdexpiry.jpg

This difference is due to the attirbutes maxpwdage an pwdlastset were set on differnet date.
run the below command on windows shell


get-aduser -filter * -properties passwordlastset, passwordneverexpires |ft Name, passwordlastset, Passwordneverexpires

The output below suggests that passwordlast set for the user on 04.05.17

 

pwdlastset1.jpg

 


There is a difference of 11 days between attributes  maxpwdage and pwdlastset
maxpwdage-passwordlast set= password expiry
75 -11 =64 days

Best regards,

 

Kash

1 REPLY 1

L4 Transporter

Hello

 

Correct way to check password policy in AD is to run secpol.msc and show:

2017-05-16_083812.png

 

Please show this information.

 

Regards

Slawek

  • 1975 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!