Re: Overlays : Cache - Entry - AttributeDescription

2011-10-26 Thread Johan Jakus
Hallvard B Furuseth wrote: Don't know, but try access controls to prevent user modifications, then bypass that for the mods done by the overlay with Modifications.sml_flags |= SLAP_MOD_INTERNAL; Maybe something like objectclass ( oid NAME 'jakusAddedAttrs' AUXILIARY

OpenLDAP documentation Doxygen

2011-10-26 Thread Johan Jakus
Hi everyone! While working on my overlay, I add real hard time trying to understand the structure used by OpenLDAP. To help me out, I used Doxygen that automatically generates a map of the structures (and much more) from the source code. You can check this out on my website (

New overlay, your opinion?

2011-10-26 Thread Johan Jakus
Hi everyone, I've been developing an overlay and I got to a well working solution. But,I would really appreciate your opinions about it before sending it to the contribs. You can see my source on my site: http://www.dataworld.be/johan/openldap/parsearch/parsearch.htm Since I'm a student and I

Re: New overlay, your opinion?

2011-10-26 Thread Hallvard B Furuseth
Johan Jakus writes: I've been developing an overlay and I got to a well working solution. But,I would really appreciate your opinions about it before sending it to the contribs. You can see my source on my site: http://www.dataworld.be/johan/openldap/parsearch/parsearch.htm Some notes after

slapcat -n 0 and slapadd

2011-10-26 Thread Craig White
Having migrated to dynamic config, I'm looking for a reasonable way to restore in the event of a disaster. The discussion last week got me curious and though I can slapcat -n 0 -l $SOME_FILE I can't slapadd this same file because it complains that I don't have a slapd.conf file, which of

Re: slapcat -n 0 and slapadd

2011-10-26 Thread Craig White
On Oct 26, 2011, at 12:00 PM, Howard Chu wrote: Craig White wrote: Having migrated to dynamic config, I'm looking for a reasonable way to restore in the event of a disaster. The discussion last week got me curious and though I can slapcat -n 0 -l $SOME_FILE I can't slapadd this same file

Re: slapcat -n 0 and slapadd

2011-10-26 Thread Howard Chu
Craig White wrote: On Oct 26, 2011, at 12:00 PM, Howard Chu wrote: Craig White wrote: Having migrated to dynamic config, I'm looking for a reasonable way to restore in the event of a disaster. The discussion last week got me curious and though I can slapcat -n 0 -l $SOME_FILE I can't

Re: slapcat -n 0 and slapadd

2011-10-26 Thread Craig White
On Oct 26, 2011, at 1:13 PM, Howard Chu wrote: Craig White wrote: On Oct 26, 2011, at 12:00 PM, Howard Chu wrote: Craig White wrote: Having migrated to dynamic config, I'm looking for a reasonable way to restore in the event of a disaster. The discussion last week got me curious and

Re: slapcat -n 0 and slapadd

2011-10-26 Thread Quanah Gibson-Mount
--On October 26, 2011 2:00:07 PM -0700 Craig White craig.wh...@ttiltd.com wrote: root@ubuntu:/etc/ldap# rm -fr slapd.d/* root@ubuntu:/etc/ldap# rm -fr /var/lib/ldap/* root@ubuntu:/etc/ldap# slapadd -F /etc/ldap/slapd.d -n 0 -l slapcat_config.ldif olcDbDirectory: value #0: invalid path: No

Re: slapcat -n 0 and slapadd

2011-10-26 Thread Craig White
On Oct 26, 2011, at 2:18 PM, Quanah Gibson-Mount wrote: --On October 26, 2011 2:00:07 PM -0700 Craig White craig.wh...@ttiltd.com wrote: root@ubuntu:/etc/ldap# rm -fr slapd.d/* root@ubuntu:/etc/ldap# rm -fr /var/lib/ldap/* root@ubuntu:/etc/ldap# slapadd -F /etc/ldap/slapd.d -n 0 -l

Re: slapcat -n 0 and slapadd [SOLVED]

2011-10-26 Thread Craig White
On Oct 26, 2011, at 2:18 PM, Quanah Gibson-Mount wrote: --On October 26, 2011 2:00:07 PM -0700 Craig White craig.wh...@ttiltd.com wrote: root@ubuntu:/etc/ldap# rm -fr slapd.d/* root@ubuntu:/etc/ldap# rm -fr /var/lib/ldap/* root@ubuntu:/etc/ldap# slapadd -F /etc/ldap/slapd.d -n 0 -l

Re: slapcat -n 0 and slapadd

2011-10-26 Thread Howard Chu
Craig White wrote: On Oct 26, 2011, at 1:13 PM, Howard Chu wrote: Pay attention. Even a monkey can copy text without omitting parts. slapadd -F /etc/ldap/slapd.d -n 0 -l slapcat_config.ldif sorry - I'm stupid but and am not a monkey. It seems to me the reason that something like Zytrax

Using NSS

2011-10-26 Thread Braden McDaniel
I am trying to get OpenLDAP (2.4.24) working with NSS on Fedora 15. In cn=config.ldif I have: olcTLSCACertificatePath: /etc/pki/nssdb olcTLSCertificateFile: endoframe I have used

Re: bdb version(s)

2011-10-26 Thread Quanah Gibson-Mount
--On October 25, 2011 1:08:24 PM +1000 Brett @Google brett.maxfi...@gmail.com wrote: Hello, Anybody want to comment with regards to what version of bdb they have in use what they recommend ? Personally i have in installations running 4.8 and 5.2, and both seem fine. I have 4.7 and 5.2

Re: Using NSS

2011-10-26 Thread Dan White
On 26/10/11 22:53 -0400, Braden McDaniel wrote: I am trying to get OpenLDAP (2.4.24) working with NSS on Fedora 15. In cn=config.ldif I have: olcTLSCACertificatePath: /etc/pki/nssdb olcTLSCertificateFile: endoframe I have used certutil to create a self-signed certificate:

Re: Google hits for OpenLDAP

2011-10-26 Thread Brett @Google
On Fri, Oct 21, 2011 at 7:32 PM, Sébastien Bernard s...@frankengul.orgwrote: 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