[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Two questions



At 12:28 AM 2001-09-25, Mikael Grehn wrote:
>Hello,
>I have some problem with my LDAP Server (with my own built-in
>backend).
>
>1. When trying to get the rootDSE using Netscape SDK 4.0 LDAP
>API my LDAP Server hangs up using 100% CPU. I am using
>openLDAP2.0.9 (will upgrade when I get the time). What could
>be the cause of this?...and is this fixed in later versions of
>openLdap?...or could I fix it myself?

Haven't a clue what could be causing this.  Suggest you
use a debugger to track down what each thread is up to...

>2. I include some attributes called creatorsName,
>createTimestamp, modifiersName and modifyTimestamp when
>returning an Entry but they never appear in my LDAP klient. I
>have written my own LDAP client based on the same Netscape 4.0
>SDK LDAP support and it receives every(?) attribute sent by
>the openLdap server.
>This might mean that the LDAP Server automatically removes
>these attributes before sending result entry. The question is:
>why are these attributes removed? Could it be that I havent
>includes the corresponding objectclasses for these
>attributes(what is the objectclass(es))?...or could it be that
>these attributes cannot be included by the backend?

Operational attributes shall only be returned to client when
the client has explicitly requested them, per RFC 2251.
This is implemented in slapd/result.c.