Re: LDAP log???

"Jimmy S." <[email protected]> Wed, 13 Oct 2010 09:46:35 +0200
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
Shepherd Nhongo <[email protected]> escribió:

> Cool man.
>
> RedHat's rpm of the openldap server doesn't provide for a separate log
> file to track operations performed on the directory. You can manually
> set this up
>
> root# vi /etc/openldap/slapd.conf
>
> and put the following line above where the database definitions go ("#
> ldbm and/or bdb database definitions"):
>
> loglevel 256
>
>
> This will enable logging at a level that will give an adequate amount
> of detail for tracking and troubleshooting.
>
> Next,
> vi /etc/syslog.conf
>
> and add the following line:
>
>
> local4.*               /var/log/ldap.log
>
>
> This tells syslog to redirect all messages from the LOCAL4 logging
> facility to a file called /var/log/ldap.log, slapd being configured by
> default to send logging information to LOCAL4.
>
> Restart syslog, then slapd (RedHat calls the service "ldap") using
> /sbin/service and you should see the following in your new ldap.log:
>
>
> from there you can tail -f /var/log/ldap.log to check the ldap logs as
> and when the errors happen.
>
> Hope you will manage :-)
>
> Pleasant regards,
>
> Shepherd Nhongo
>
> On 10/6/10, Jimmy S. <[email protected]> wrote:
>> "Jimmy Spam at first i thought you where a spammer :-)"
>>
>> I already have changed it... :-)
>>
>> "Anyway your LDAP server is it an RPM installation or the compiled source ?"
>>
>> I installed it with yum from official RHEL repository, so it's a rpm.
>>
>> Regards
>>


Thank you very much!!!! This work!

Regards!