Re: access to LDAP log/access file to non admin users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

If your developers are willing to work with logs sent to a syslog server
that they have access to, you can do something like the:

vi /etc/rsyslog.conf

Add the following line near the top of the file:

$ModLoad imfile

Add the following lines towards the bottom of the file:

# LDAP Logging
local4.*                                                    
/var/log/slapd.log

$InputFileName /var/log/dirsrv/slapd-<hostname>/access
$InputFileTag 389ds-access
$InputFileStateFile state-389ds-access
$InputFileSeverity info
$InputFileFacility local4
$InputRunFileMonitor

$InputFileName /var/log/dirsrv/slapd-<hostname>/errors
$InputFileTag 389ds-errors
$InputFileStateFile state-389ds-errors
$InputFileSeverity info
$InputFileFacility local4
$InputRunFileMonitor

$InputFileName /var/log/dirsrv/slapd-<hostname>/audit
$InputFileTag 389ds-audit
$InputFileStateFile state-389ds-audit
$InputFileSeverity info
$InputFileFacility local4
$InputRunFileMonitor

Once this is done, restart the rsyslog service so that the new
configuration is running.

Hope this helps you or someone else on the list.

Kevin
 

On 08/12/2015 12:56 PM, ghiureai wrote:
> Hi List,
> I need a nice , clean solution to give access to LDAP error log and
> access file to developers team on our prod ldap , mentioned  I  they
> will not be allowed to log in the actual LDAP host, at present  time
> dev's are using Appache Studio
> Thank you for all your input
>
> -- 
> 389 users mailing list
> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/389-users


--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux