Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I'm trying to write a script to email each LDAP user when their password is getting ready to expire. This is on a CentOS 5 server. I am trying ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    24

    LDAP no pwdChangedTime


    Hi,

    I'm trying to write a script to email each LDAP user when their password is getting ready to expire. This is on a CentOS 5 server. I am trying to run ldapsearch but can't seem to get the pwdchangedtime to show up.

    The command I am running is

    ldapsearch -x pwdChangedTime

    All that is displayed is the dn user name and Account that it is under. Am I running the correct command without the proper attributes?

    Thanks

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    That syntax looks right. Have you configured the LDAP Password Policy Overlay? If you query an LDAP user to get all attributes, if you don't see pwd* attributes listed, then you probably have not done this. See here for procedures on that.

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    24
    Thanks. This looks like it is it. I'll look into setting this up and let you know. Thanks for the link as well.

    Nick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •