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 <aboko...@redhat.com>: > On Wed, 13 Aug 2014, barry...@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 >
-- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go To http://freeipa.org for more info on the project