Hi,


On Wed, Apr 2, 2025 at 10:04 AM Theodor Vallier via FreeIPA-users <
freeipa-users@lists.fedorahosted.org> wrote:

> Hello all,
>
> I'm trying to log more details when there are operations on users, such as
> modifications (MOD). The goal is to detect legitimate user modifications
> like login or password changes, and differentiate them from non-legitimate
> ones such as default shell modifications.
>
> I attempted to change the access log level without success; the activation
> of the audit plugin shows me the changes, but it is not usable (it's not
> syslog compliant and can't be correlated to MOD requests).
>
> Is anyone able to log which fields a MOD request changes?
>
This level of details can be seen in the audit log if you enable it.
# cat /tmp/dse.ldif
dn: cn=config
changetype: modify
replace: nsslapd-auditlog-logging-enabled
nsslapd-auditlog-logging-enabled: on
-
replace: nsslapd-auditfaillog-logging-enabled
nsslapd-auditfaillog-logging-enabled: on

# ldapmodify -D "cn=directory manager" -W -f /tmp/dse.ldif

The audit log is located in /var/log/dirsrv/slapd-XXX/audit. The audit fail
log records operations that failed.

Refer to
https://docs.redhat.com/en/documentation/red_hat_directory_server/12/html/configuration_and_schema_reference/assembly_log-files-reference_config-schema-reference-title#ref_audit-log-reference_assembly_log-files-reference
for more information.

flo


> Thank you.
>
> Best regards, Whidix
> --
> _______________________________________________
> FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
> To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
> 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/freeipa-users@lists.fedorahosted.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
-- 
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
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/freeipa-users@lists.fedorahosted.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to