Thanks, Russel, I missed that, but you have to do it in a "for each user" loop. The single ldapquery would be easier. ______________________________________________________________________________________________
Daniel E. White mailto:[email protected] NICS Linux Engineer NASA Goddard Space Flight Center 8800 Greenbelt Road Building 14, Room E175 Greenbelt, MD 20771 Office: (301) 286-6919 Mobile: (240) 513-5290 From: Russell Long <[email protected]> Date: Friday, July 10, 2020 at 09:58 To: FreeIPA-Users <[email protected]> Cc: Daniel White <[email protected]> Subject: [EXTERNAL] Re: [Freeipa-users] It ain't easy to dig a user's last login time info out of IdM/FreeIPA I use this: ipa user-show $USER --all --raw | grep krbLastSuccessful | awk '{print $2}' _______________________________________________ FreeIPA-users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected]
