emily1997
2006-03-17 00:36:29 UTC
Hi, I am from the UNIX world. I have an environment that my HP-UX unix
machine is configured with a Windows 2003 server(single domain). Users in
ADS can logon to my unix box via pam_kerberos.
If I configure the account lockout policy in the default domain policy, say:
Account lockout duration: 30 min
Account lockout threshold: 5 invalid logon attempts
Reset accout lockout counter after: 30 min
Then an ADS user try to logon to the unix box with an invalid password for 5
times, this user's account will be locked out for 30 minutes. I verified
that this works as expected.
Now, I crated an ou=test_ou, and added a new group policy linked to this OU,
and I set the accout lockout policy in this new GPO as following:
Account lockout duration: 3 min
Account lockout threshold: 2 invalid logon attempts
Reset accout lockout counter after: 3 min
then I sould expect that a user under ou=test_ou should be locked out if
this user entered bad passwd twice in a row at logon time. But it didn't
work this way. This new group policy some how didn't get applied to this
user. So does anyone know why it didn't work?
The second question I have is: I can use ldapsearch command to find out the
settings for the default domain policy. For example, I can do the following:
./ldapsearch -s base -h HOST -p PORT -D ***@test.com -w PASSWD -b
"DC=test, DC=com" "objectclass=*"|grep -i lockout
lockoutDuration: -18000000000
lockOutObservationWindow: -18000000000
lockoutThreshold: 5
How can I use ldapsearch command to find out the settings for the new group
policy?
Thanks in advance for your help.
machine is configured with a Windows 2003 server(single domain). Users in
ADS can logon to my unix box via pam_kerberos.
If I configure the account lockout policy in the default domain policy, say:
Account lockout duration: 30 min
Account lockout threshold: 5 invalid logon attempts
Reset accout lockout counter after: 30 min
Then an ADS user try to logon to the unix box with an invalid password for 5
times, this user's account will be locked out for 30 minutes. I verified
that this works as expected.
Now, I crated an ou=test_ou, and added a new group policy linked to this OU,
and I set the accout lockout policy in this new GPO as following:
Account lockout duration: 3 min
Account lockout threshold: 2 invalid logon attempts
Reset accout lockout counter after: 3 min
then I sould expect that a user under ou=test_ou should be locked out if
this user entered bad passwd twice in a row at logon time. But it didn't
work this way. This new group policy some how didn't get applied to this
user. So does anyone know why it didn't work?
The second question I have is: I can use ldapsearch command to find out the
settings for the default domain policy. For example, I can do the following:
./ldapsearch -s base -h HOST -p PORT -D ***@test.com -w PASSWD -b
"DC=test, DC=com" "objectclass=*"|grep -i lockout
lockoutDuration: -18000000000
lockOutObservationWindow: -18000000000
lockoutThreshold: 5
How can I use ldapsearch command to find out the settings for the new group
policy?
Thanks in advance for your help.