Re: [PATCH] don't log "No such object" errors when a user is not found
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: [PATCH] don't log "No such object" errors when a user is not found
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: Patrick McLean <chutzpah [at] gentoo.org>
- Cc: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: [PATCH] don't log "No such object" errors when a user is not found
- Date: Sun, 21 Sep 2014 16:45:33 +0200
On Thu, 2014-08-28 at 17:49 -0700, Patrick McLean wrote:
> We have noticed that nss-pam-ldapd tends to log "No such object" errors
> at the ERROR log level whenever trying to look up a user that does not
> exist. Given looking up users that don't exist is something that can
> happen quite a lot, this can create a large amount of log spam.
>
> Attached is a patch that makes this logging this particular error happen
> at the DEBUG log level rather than ERROR.
Sorry for not responding sooner.
I do not see this message in logs of systems I manage. I only get this
if basedn is not known to the LDAP server. On normal searches that do
not return any responses I get just that: a success message with 0
returned entries.
Is this happening on a particular LDAP server?
Thanks,
--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org/ --
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/