Forum

ldap_bind warning i...
 
Notifications
Clear all

ldap_bind warning instead of error ?

2 Posts
2 Users
0 Reactions
4,189 Views
 Dan
(@caccia)
Posts: 340
Contributor
Topic starter
 
[#1714]

Hi,

In my Projeqtor I regularly have errors from users who fail authentication :
** ERROR ** cause = ldap_bind() [function.ldap-bind]: Unable to bind to server: Invalid credentials

I wanted to see quickly if there are any "real" errors in my logs, but any grep is polluted by these ldap_bind errors.

Is it possible to set these as a warning, or trace ? Then it would make it easy to see immediately if there are actual errors begin raised.

Note: an extra option would then be to have an automatic email to the site administrator whenever there is an error logged... Would that be possible ?


 
Posted : 24 Mar 2014 18H22
(@babynus)
Posts: 14952
Member Admin
 

In my Projeqtor I regularly have errors from users who fail authentication :
** ERROR ** cause = ldap_bind() [function.ldap-bind]: Unable to bind to server: Invalid credentials

I wanted to see quickly if there are any "real" errors in my logs, but any grep is polluted by these ldap_bind errors.

Is it possible to set these as a warning, or trace ? Then it would make it easy to see immediately if there are actual errors begin raised.

Ticket #1343 recorded.

Note: an extra option would then be to have an automatic email to the site administrator whenever there is an error logged... Would that be possible ?

Not sure it is a ggod idea, as you may have some recurrent errors that will spam admin.
If you reammy nedd such a functionality, a syslog listening to the log file could do the jiob.


 
Posted : 26 Mar 2014 13H58
Share:

Scroll to Top