Eric Bus | 1 Aug 2005 12:22
Picon

[LDAP] "LDAP no entries to process."

Hi,

I am currently implementing the LDAP driver into our main DNS system.
Everything works flawlessly, but I'm seeing the following message in the
log files over and over again:

"LDAP no entries to process."

It happens everything I request a non-existing record. I suspect
something is wrong, because this type of queries happen a lot :) Maybe
the function shouldn't be called at all when there are no results?

It also happens when I request a non-existing record for a domain that
has a wildcard-record. All in all, it kind of adds up in the logfiles ;)

Any ideas?

Kind regards,
Eric

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Eric Bus | 1 Aug 2005 14:22
Picon

Re: [LDAP] "LDAP no entries to process."

Eric Bus wrote:
> Any ideas?

To reply to my own post... :)

I suspect line 400 in dlz_ldap_driver.c should read:

	DNS_LOGMODULE_DLZ, ISC_LOG_DEBUG(1),

Instead of:

	DNS_LOGMODULE_DLZ, ISC_LOG_INFO,

I don't think "LDAP no entries to process." should be a normal INFO
message, because it happens to often. DEBUG(1) (or some other level)
would be a better place for it.

Just my 2 cents ;)

Eric

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Rob Butler | 1 Aug 2005 14:37
Picon
Favicon

Re: Re: [LDAP] "LDAP no entries to process."

Eric,

Feel free to change that in your local source.  I will
try and remember to make that change for the next
release of DLZ.

Rob

--- Eric Bus <mail <at> ilovelinda.nl> wrote:

> Eric Bus wrote:
> > Any ideas?
> 
> To reply to my own post... :)
> 
> I suspect line 400 in dlz_ldap_driver.c should read:
> 
> 	DNS_LOGMODULE_DLZ, ISC_LOG_DEBUG(1),
> 
> Instead of:
> 
> 	DNS_LOGMODULE_DLZ, ISC_LOG_INFO,
> 
> I don't think "LDAP no entries to process." should
> be a normal INFO
> message, because it happens to often. DEBUG(1) (or
> some other level)
> would be a better place for it.
> 
> Just my 2 cents ;)
(Continue reading)

Eric Bus | 1 Aug 2005 14:52
Picon

Re: [LDAP] "LDAP no entries to process."

Rob Butler wrote:
> Feel free to change that in your local source.  I will
> try and remember to make that change for the next
> release of DLZ.

Great, thanks.

It works much cleaner now ;)

Eric

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

Gmane