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

Barry kliu at alumni.warwick.ac.uk
Wed Aug 13 07:51:32 UTC 2014


Hi:

Yes there are some log show user but seem it log the user who directly
login ldap using their uid.
i integrate the buzilla using an uid=ldap ..then otther user can login
freely ...it seem it logged ldap not inside users using the buzilla.


2014-08-13 14:36 GMT+08:00 Alexander Bokovoy <abokovoy at redhat.com>:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140813/86eebc15/attachment.htm>


More information about the Freeipa-users mailing list