0

Command ipa user-show $user -all doesn't show what I have described in title. Do you have any ideas?

petec
  • 1

1 Answers1

1

There doesn't appear to be a way to obtain the account creation date using the API (which is what the ipa CLI tool uses), but it is available directly via LDAP as an operational attribute called createTimestamp.

ldapsearch -b 'cn=users,cn=accounts,dc=SUB,dc=DOM' [options] "uid=$user" createTimestamp

dn: uid=$user,cn=users,cn=accounts,dc=SUB,dc=DOM
createTimestamp: YYYYmmddHHMMSSZ
James Sneeringer
  • 6,755
  • 23
  • 27