Re: Overlays : Cache - Entry - AttributeDescription

2011-10-21 Thread Hallvard B Furuseth
Johan Jakus writes: To be sure, when I use entry_dub(); it makes a duplication of the entry from the server cache to somewhere in the memory. So I just need to make the pointer of the SlapReply point to my new duplicated entry, ...and dispose of the old entry according to rs-sr_flags, and

Can I use LDAP_VALID within my app/library?

2011-10-21 Thread Khaled Blah
Hello to all, I would like to ask whether there is a way which allows me to use the macro LDAP_VALID in my own code. I would like to be able to check an LDAP* handle for its validity before I use that handle on any of the LDAP operation functions. Regards, Khaled

Re: Securing cn=config and allowing micro-engineering

2011-10-21 Thread Nick Milas
On 20/10/2011 9:03 μμ, Quanah Gibson-Mount wrote: slapcat -n0 -F old/slapd.d config.ldif edit config.ldif slapadd -n0 -F new/slapd.d -l config.ldif test using new/slapd.d deploy... I would note that OpenLDAP 2.5 (when released) adds a slapmodify command per my request. It allows you to do

Re: Google hits for OpenLDAP

2011-10-21 Thread Sébastien Bernard
Le 21/10/2011 01:55, Brett @Google a écrit : I was talking about the NEED for such a document, not talking about who authored / would author it. My point (perhaps unclear) was that openldap should have such a document, or at least not 'dis those who try.. Maybe, the quick-start guide could

Re: Can I use LDAP_VALID within my app/library?

2011-10-21 Thread Hallvard B Furuseth
Khaled Blah writes: I would like to ask whether there is a way which allows me to use the macro LDAP_VALID in my own code. I would like to be able to check an LDAP* handle for its validity before I use that handle on any of the LDAP operation functions. You could call something which uses

Abwesenheit: openldap-technical Digest, Vol 47, Issue 21

2011-10-21 Thread tkircht
Ich bin vom 21.10.2011 bis einschließlich 2.11.2011 nicht in Wien. Ich werde meine Mailbox in dieser Zeit nur sporadisch abfragen können. Bitte wenden Sie sich mit Ihren Anfragen in dieser Zeit an unser Büro unter off...@ipodion.at bzw. der Telefonnummer 01/21632985-00. Vielen Dank Thomas

Re: Securing cn=config and allowing micro-engineering

2011-10-21 Thread Howard Chu
Nick Milas wrote: On 20/10/2011 9:03 μμ, Quanah Gibson-Mount wrote: slapcat -n0 -F old/slapd.d config.ldif edit config.ldif slapadd -n0 -F new/slapd.d -l config.ldif test using new/slapd.d deploy... I would note that OpenLDAP 2.5 (when released) adds a slapmodify command per my request. It

RE: Overlays : Cache - Entry - AttributeDescription

2011-10-21 Thread Hallvard B Furuseth
A correction to my last message: If you want to free the entry yourself, instead you can do rs_replace_entry(entry_dup(rs-sr_entry)); e = rs-sr_entry; send the entry, or whatever... entry_free(e); /* instead of entry_free(rs-sr_entry); */ I don't quite remember, but I