Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Mark Zealey
On 23/08/13 04:55, Howard Chu wrote: Howard Chu wrote: Yes, I see it here, and I see the problem. LMDB was not originally designed to handle transactions of unlimited size. It originally had a txn sizelimit of about 512MB. In 0.9.7 we added some code to raise this limit, and it's performing qu

Re: Openldap configuration import LDIF

2013-08-23 Thread felas
If i try slapcat -n1 i have result in a email attachment "slapcat", and if i add on the top the file LDIF ou=people,dc=university,dc=org, the error is LDAP: error code 17 - dn: attribute type undefined, for details i add a email attachment "error" 2013/8/22 Dan White > On 08/22/13 17:32 +0200,

Re: How to two-way synchronization on openldap 2.4.33 version

2013-08-23 Thread Dieter Klünter
Am Fri, 23 Aug 2013 10:10:15 +0800 schrieb "Tian Zhiying" : > Hi > > I use OpenLDAP 2.4.33 version, I want to achieve two-way > synchronization, but master --> slave ok > slave --> master not ok > > Can it support slave to master data synchronization on 2.4.33 version? Yes, it can. http:/

RE: Openldap configuration import LDIF

2013-08-23 Thread Chris Card
> Date: Fri, 23 Aug 2013 10:02:39 +0200 > Subject: Re: Openldap configuration import LDIF > From: fela...@gmail.com > To: dwh...@olp.net > CC: openldap-technical@openldap.org > > If i try slapcat -n1 i have result in a email attachment "slapcat", and > if i a

Re: Openldap configuration import LDIF

2013-08-23 Thread felas
i create a (example) Ldif in email attachment, thanks. The file is withoout add " ou=people,dc=university,dc=org" in the top 2013/8/23 Chris Card > > > Date: Fri, 23 Aug 2013 10:02:39 +0200 > > Subject: Re: Openldap configuration import LDIF > > From: fela...@g

RE: Openldap configuration import LDIF

2013-08-23 Thread Chris Card
> Date: Fri, 23 Aug 2013 11:01:52 +0200 > Subject: Re: Openldap configuration import LDIF > From: fela...@gmail.com > To: ctc...@hotmail.com > CC: openldap-technical@openldap.org > > i create a (example) Ldif in email attachment, thanks. The file is > withoou

Re: Openldap configuration import LDIF

2013-08-23 Thread felas
A ok. if you want i can post the log file from my Eclipse too. 2013/8/23 Chris Card > > > Date: Fri, 23 Aug 2013 11:01:52 +0200 > > Subject: Re: Openldap configuration import LDIF > > From: fela...@gmail.com > > To: ctc...@hotmail.com > > CC: openldap-technical@

RE: Openldap configuration import LDIF

2013-08-23 Thread Chris Card
> Date: Fri, 23 Aug 2013 11:01:52 +0200 > Subject: Re: Openldap configuration import LDIF > From: fela...@gmail.com > To: ctc...@hotmail.com > CC: openldap-technical@openldap.org > > i create a (example) Ldif in email attachment, thanks. The file is > withoou

Re: Openldap configuration import LDIF

2013-08-23 Thread felas
I try to remove and i post you the log file 2013/8/23 Chris Card > > > Date: Fri, 23 Aug 2013 11:01:52 +0200 > > Subject: Re: Openldap configuration import LDIF > > From: fela...@gmail.com > > To: ctc...@hotmail.com > > CC: openldap-technical@openldap.org > > >

RE: Openldap configuration import LDIF

2013-08-23 Thread Chris Card
> Date: Fri, 23 Aug 2013 11:25:29 +0200 > Subject: Re: Openldap configuration import LDIF > From: fela...@gmail.com > To: ctc...@hotmail.com > CC: openldap-technical@openldap.org > > I try to remove and i post you the log file  #!RESULT ERROR #!CONNECTION ldap

Re: Openldap configuration import LDIF

2013-08-23 Thread felas
a ok, and how i can define this in my schema? 2013/8/23 Chris Card > > > Date: Fri, 23 Aug 2013 11:25:29 +0200 > > Subject: Re: Openldap configuration import LDIF > > From: fela...@gmail.com > > To: ctc...@hotmail.com > > CC: openldap-technical@openldap.org > >

RE: Openldap configuration import LDIF

2013-08-23 Thread Chris Card
> Date: Fri, 23 Aug 2013 11:58:52 +0200 > Subject: Re: Openldap configuration import LDIF > From: fela...@gmail.com > To: ctc...@hotmail.com > CC: openldap-technical@openldap.org > > a ok, and how i can define this in my schema?  openldap stores the schemas un

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Mark Zealey
4) Creating database with non-sequential keys is very bad (on 4gb databases, 2* slower than kyoto - about 1h30 and uses more memory). This was actually a typo - kyoto only takes about 20 minutes to generate it so 4* slower. However, using a commit every 1m inserts (and because of a limitatio

How to check whether OpenLDAP server is provider or consumer ?

2013-08-23 Thread pramod kulkarni
I am trying to notify a system to check if the openLDAP server is provider or consumer.I can do this by getting a referral error on the consumer side whenever I try to write something on the server , but is their any other way to check if OpenLDAP is provider or consumer without writing to it ? .

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Howard Chu
Mark Zealey wrote: On 23/08/13 04:55, Howard Chu wrote: Howard Chu wrote: Yes, I see it here, and I see the problem. LMDB was not originally designed to handle transactions of unlimited size. It originally had a txn sizelimit of about 512MB. In 0.9.7 we added some code to raise this limit, and

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Howard Chu
Mark Zealey wrote: 4) Creating database with non-sequential keys is very bad (on 4gb databases, 2* slower than kyoto - about 1h30 and uses more memory). This was actually a typo - kyoto only takes about 20 minutes to generate it so 4* slower. However, using a commit every 1m inserts (and beca

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Mark Zealey
On 23/08/13 14:02, Howard Chu wrote: Mark Zealey wrote: 4) Creating database with non-sequential keys is very bad (on 4gb databases, 2* slower than kyoto - about 1h30 and uses more memory). This was actually a typo - kyoto only takes about 20 minutes to generate it so 4* slower. However, usi

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Howard Chu
Mark Zealey wrote: On 23/08/13 14:02, Howard Chu wrote: Mark Zealey wrote: 4) Creating database with non-sequential keys is very bad (on 4gb databases, 2* slower than kyoto - about 1h30 and uses more memory). This was actually a typo - kyoto only takes about 20 minutes to generate it so 4*

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Mark Zealey
I've found another weird - I have now converted the database to use duplicates. Typically when I do mdb_cursor_get(... MDB_NEXT ) it will set the key and value but I've found 1 place so far where I do it and on the duplicate's second entry the value is set but the key is empty. I don't see how

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Howard Chu
Mark Zealey wrote: I've found another weird - I have now converted the database to use duplicates. Typically when I do mdb_cursor_get(... MDB_NEXT ) it will set the key and value but I've found 1 place so far where I do it and on the duplicate's second entry the value is set but the key is empt

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Mark Zealey
On 23/08/13 17:08, Howard Chu wrote: Mark Zealey wrote: I've found another weird - I have now converted the database to use duplicates. Typically when I do mdb_cursor_get(... MDB_NEXT ) it will set the key and value but I've found 1 place so far where I do it and on the duplicate's second en

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Howard Chu
Mark Zealey wrote: On 23/08/13 17:08, Howard Chu wrote: Mark Zealey wrote: I've found another weird - I have now converted the database to use duplicates. Typically when I do mdb_cursor_get(... MDB_NEXT ) it will set the key and value but I've found 1 place so far where I do it and on the dup

Re: How to check whether OpenLDAP server is provider or consumer ?

2013-08-23 Thread Quanah Gibson-Mount
--On Friday, August 23, 2013 3:53 PM +0530 pramod kulkarni wrote: I am trying to notify a system to check if the openLDAP server is provider or consumer.I can do this by getting a referral error on the consumer side whenever I try to write something on the server , but is their any other way

Re: Issues arising from creating powerdns backend based on LMDB

2013-08-23 Thread Mark Zealey
On 23/08/13 18:54, Howard Chu wrote: Mark Zealey wrote: On 23/08/13 17:08, Howard Chu wrote: Mark Zealey wrote: I've found another weird - I have now converted the database to use duplicates. Typically when I do mdb_cursor_get(... MDB_NEXT ) it will set the key and value but I've found 1 p

Re: OpenLDAP 2.4.36 available

2013-08-23 Thread Olivier
> I also created a yum repository to ease the installation: > http://ltb-project.org/wiki/documentation/openldap-rpm#yum_repository Well done Clément ! Many thanks, very helpful. --- Olivier 2013/8/21 Clément OUDOT : > Hi, > > LTB project RPMs for OpenLDAP 2.4.36 are available: > http://tools.l