additional info: objectClasses: value #0 invalid per syntax

2013-02-28 Thread Jimmy Royer
Hello, I am starting out with openldap and I don't know it that much. I got the error mentioned in the title when trying to add an object class, which is apparently a very common one per my google searches. I've read that common causes are: * extraneous white space (especially trailing white

Re: internal_modify in overlays

2013-02-28 Thread Howard Chu
Tim Watts wrote: Hi, Does anyone know of a bit of code I can look at that does an *internal* (completed inline) LDAP_MOD_REPLACE operation on one attribute without chaining (ie it does a return 0)? I've found Sun docs for doing this in a slapi plugin but not an openldap slapd plugin. Reason:

Re: internal_modify in overlays

2013-02-28 Thread Tim Watts
On 28/02/13 14:56, Howard Chu wrote: Tim Watts wrote: Hi, Does anyone know of a bit of code I can look at that does an *internal* (completed inline) LDAP_MOD_REPLACE operation on one attribute without chaining (ie it does a return 0)? I've found Sun docs for doing this in a slapi plugin but

Limit on number of attrs in replica conf?

2013-02-28 Thread Marco Pizzoli
Hi all, Is it possible I discovered a limit on the number of attributes I can specify on the attrs parameter of the replica directive in slapd.conf? In my config file, for the replica directive, I explicited a long list of attributes. On the provider side I can see, on the provider slapd logs,

Re: additional info: objectClasses: value #0 invalid per syntax

2013-02-28 Thread Clément OUDOT
2013/2/28 Jimmy Royer jimmy.ro...@modelsolv.com: Hello, I am starting out with openldap and I don't know it that much. I got the error mentioned in the title when trying to add an object class, which is apparently a very common one per my google searches. I've read that common causes are:

Re: Limit on number of attrs in replica conf?

2013-02-28 Thread Marco Pizzoli
On Thu, Feb 28, 2013 at 4:10 PM, Marco Pizzoli marco.pizz...@gmail.comwrote: Hi all, Is it possible I discovered a limit on the number of attributes I can specify on the attrs parameter of the replica directive in slapd.conf? In my config file, for the replica directive, I explicited a long

Re: additional info: objectClasses: value #0 invalid per syntax

2013-02-28 Thread Howard Chu
Jimmy Royer wrote: Hello, I am starting out with openldap and I don't know it that much. I got the error mentioned in the title when trying to add an object class, which is apparently a very common one per my google searches. I've read that common causes are: * extraneous white space

Re: additional info: objectClasses: value #0 invalid per syntax

2013-02-28 Thread Jimmy Royer
This is the version of openldap I use: # /usr/sbin/slapd -V @(#) $OpenLDAP: slapd 2.4.23 (Aug 8 2012 16:29:21) $ mockbu...@c6b10.bsys.dev.centos.org:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd I followed an LDAP installation walkthrough for centos

Re: additional info: objectClasses: value #0 invalid per syntax

2013-02-28 Thread Quanah Gibson-Mount
--On Thursday, February 28, 2013 10:31 AM -0500 Jimmy Royer jimmy.ro...@modelsolv.com wrote: This is the version of openldap I use: # /usr/sbin/slapd -V @(#) $OpenLDAP: slapd 2.4.23 (Aug 8 2012 16:29:21) $ mockbu...@c6b10.bsys.dev.centos.org:/builddir/build/BUILD/openldap-2.4.23

Is there any way to change structuralObjectClass of an LDAP entry?

2013-02-28 Thread Marco Pizzoli
Hi all, yes, I already know this is not possible. But I have a particular scenario and maybe someone could give advice. In an LDAP tree I inherited some times ago, I have entries created many years ago by using a schema definition which implied an entry to acquire as structuralObjectClass a

Re: Is there any way to change structuralObjectClass of an LDAP entry?

2013-02-28 Thread Michael Ströder
You could try with the relax rules control. ldapmodify -E relax Be careful! Try in a test system! Check your data with slapschema afterwards! Ciao, Michael. Marco Pizzoli wrote: Hi all, yes, I already know this is not possible. But I have a particular scenario and maybe someone could give

OpenLDAP slave-master synchronization problem

2013-02-28 Thread Tian Zhiying
Hello, I have two openldap servers, and have configured the master-slave synchronization, but have a problem: When an entry in master server is changed it is automatically changed in the slave server. But, when an entry in slave server is changed it is not automatically changed in the master

Re: OpenLDAP slave-master synchronization problem

2013-02-28 Thread Quanah Gibson-Mount
--On Friday, March 01, 2013 9:16 AM +0800 Tian Zhiying tianzy1...@thundersoft.com wrote: Hello, I have two openldap servers, and have configured the master-slave synchronization, but have a problem: You clearly have not correctly configured your replica. I advise you to read the

Re: OpenLDAP slave-master synchronization problem

2013-02-28 Thread Quanah Gibson-Mount
--On Thursday, February 28, 2013 6:35 PM -0800 Quanah Gibson-Mount qua...@zimbra.com wrote: You clearly have not correctly configured your replica. I advise you to read the replication section of the admin guide. In particular, you are missing any syncrepl statement(s) for the replica, thus

Re: Re: OpenLDAP slave-master synchronization problem

2013-02-28 Thread Tian Zhiying
Quanah, Thanks for your reply. I using openldap-2.3.43 version now. It has not been supported ? What to go upgrade? In the begining, I use yum method to install . Tian Zhiying From: Quanah Gibson-Mount Date: 2013-03-01 10:39 To: tianzy1225; openldap-technical Subject: Re: OpenLDAP