2

I have to implement some safety authentication rules on postgresql DB ( with a windows server)like: users not used for a period longer than three months will be locked or postgres enforces account lockout after a set number of failed login attempts.....

Using authentication "standard" ( md5 on pg_hba.conf) I think is not possible..but I think that with PAM I could do but PAM does not exist on win. Any ideas? Thanks a lot Gian

2
  • If you don't mind writing a bit of C code, you could probably do this with an authentication hook Commented Jan 31, 2017 at 20:13
  • I still work on it, can you share somre info...? please, help me! Commented Feb 1, 2017 at 12:28

1 Answer 1

1

This is not easy, but can be done with an LDAP interface to AD. Personally, I would load the whole mess into an Ubuntu or Centos vm

Sign up to request clarification or add additional context in comments.

1 Comment

Sorry I can not do this

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.