[Freeipa-users] check access log of when a user login integrated system

Alexander Bokovoy abokovoy at redhat.com
Wed Aug 13 06:36:50 UTC 2014


On Wed, 13 Aug 2014, barrykfl at gmail.com wrote:
>Hi all:
>
>I have a buzilla intgrated with ldap ,,,is it poosible to check
>when the user login through the access log of ldap free ipa server ..
>
>What sentence should it look like ?
For example, following will return you date and uid of the user login.

# cat /var/log/dirsrv/slapd-EXAMPLE-COM/access|awk '/RESULT.*dn="uid=/ { split($10, a, /[=,]/); print $1,$2,a[3] }'
[12/Aug/2014:20:27:57 +0200] abbra
[12/Aug/2014:20:28:23 +0200] abbra
[12/Aug/2014:20:30:33 +0200] abbra
[13/Aug/2014:08:06:48 +0200] admin


-- 
/ Alexander Bokovoy




More information about the Freeipa-users mailing list