Re: ldap_add: Object class violation (65), additional info: attribute 'host' not allowed

2014-01-29 Thread Michael Ströder
Vikas Parashar wrote: Yes, that should be. Because, you are using two structural class from different chain. Instead of account class, please use extensibleObject. Using 'extensibleObject' is really bad practice. Hint: One can easily define custom structural object classes adding the

Re: ldap_add: Object class violation (65), additional info: attribute 'host' not allowed

2014-01-29 Thread Vikas Parashar
Thanks Michael, But instead of changing existing class, i think, it will be better if we create a custom auxiliary class. On Wed, Jan 29, 2014 at 2:44 PM, Michael Ströder mich...@stroeder.comwrote: Vikas Parashar wrote: Yes, that should be. Because, you are using two structural class from

MDB_BAD_VALSIZE error

2014-01-29 Thread Chris Card
Hi All, I'm running openldap 2.4.36 on centos 6.3, 64 bit. I'm finally trying out MDB as a replacement for BDB in our openldap setup, and I've noticed that I'm getting MDB_BAD_VALSIZE errors when adding some DNs, which could be added without error when using BDB as the backend:  52e9170b =

Re: MDB_BAD_VALSIZE error

2014-01-29 Thread Howard Chu
Chris Card wrote: Hi All, I'm running openldap 2.4.36 on centos 6.3, 64 bit. I'm finally trying out MDB as a replacement for BDB in our openldap setup, and I've noticed that I'm getting MDB_BAD_VALSIZE errors when adding some DNs, which could be added without error when using BDB as the

[LMDB] Error 87 followed by MDB_PAGE_NOTFOUND

2014-01-29 Thread Alain
While running our app (which seemed to be running slow on this last job), I ended up receiving an rc:87 on a commit, which my app couldn't recover from. I have verified that I have free disk space, free RAM. Upon restart, after the db was opened, the first process started and quickly reported an

RE: MDB_BAD_VALSIZE error

2014-01-29 Thread Chris Card
Howard Chu wrote: Subject: Re: MDB_BAD_VALSIZE error Chris Card wrote: Hi All, I'm running openldap 2.4.36 on centos 6.3, 64 bit. I'm finally trying out MDB as a replacement for BDB in our openldap setup, and I've noticed that I'm getting MDB_BAD_VALSIZE errors when adding some DNs,

Re: MDB_BAD_VALSIZE error

2014-01-29 Thread Howard Chu
Chris Card wrote: Howard Chu wrote: Subject: Re: MDB_BAD_VALSIZE error Chris Card wrote: Hi All, I'm running openldap 2.4.36 on centos 6.3, 64 bit. I'm finally trying out MDB as a replacement for BDB in our openldap setup, and I've noticed that I'm getting MDB_BAD_VALSIZE errors when

RE: MDB_BAD_VALSIZE error

2014-01-29 Thread Chris Card
Howard Chu wrote: Chris Card wrote: Howard Chu wrote: Subject: Re: MDB_BAD_VALSIZE error Chris Card wrote: Hi All, I'm running openldap 2.4.36 on centos 6.3, 64 bit. I'm finally trying out MDB as a replacement for BDB in our openldap setup, and I've noticed that I'm getting

RE: MDB_BAD_VALSIZE error

2014-01-29 Thread Hallvard Breien Furuseth
On 2014-01-29 18:23, Chris Card wrote: Can MDB_MAXKEYSIZE be increased? (...) In 2.4.36 the comment is: * We require that keys all fit onto a regular page. This limit * could be raised a bit further if needed; to something just * under #MDB_PAGESIZE /

migrating from syncrepl to delta syncrepl

2014-01-29 Thread Paul B. Henson
When we first deployed openldap a decade or so ago, we implemented regular syncrepl rather than delta syncrepl because at the time the latter did not support mirror mode. As part of a project to implement the password policy overlay, we plan to switch to delta syncrepl to make the replication of

Re: [LMDB] Error 87 followed by MDB_PAGE_NOTFOUND

2014-01-29 Thread Hallvard Breien Furuseth
On 2014-01-29 16:58, Alain wrote: While running our app (which seemed to be running slow on this last job), I ended up receiving an rc:87 on a commit, which my app couldn't recover from. I have verified that I have free disk space, free RAM. Error numbers are OS-dependent. What's errno 87?

Re: [LMDB] Error 87 followed by MDB_PAGE_NOTFOUND

2014-01-29 Thread Hallvard Breien Furuseth
On 2014-01-29 23:10, Alain wrote: On Wed, Jan 29, 2014 at 4:36 PM, Hallvard Breien Furuseth h.b.furus...@usit.uio.no wrote: On 2014-01-29 16:58, Alain wrote: While running our app (which seemed to be running slow on this last job), I ended up receiving an rc:87 on a commit, which my app