ldap_add: Invalid syntax (21) additional info: objectclass: value #0 invalid per syntax

2013-05-16 Thread Youssef Said Khloufi
I have the problem that the title mention. I am trying to create this entry : dn: cn=usuario2,ou=st,o=um,c=es changetype: add objectclass: stPerson sn: usuario2 mobile: 657132819 correo: usuar...@st.um using the command : ldapmodify -D cn=admin,o=um,c=es -W -H ldap://ldap -f st.ldif if i only

Re: ldap_add: Invalid syntax (21) additional info: objectclass: value #0 invalid per syntax

2013-05-16 Thread Quanah Gibson-Mount
--On Thursday, May 16, 2013 11:40 PM +0100 Youssef Said Khloufi mrag...@yahoo.fr wrote: I do not see where is the problem. If you stop and restart slapd, does it work? If you search the schema portion of the DIT, does your new schema show up? What openldap version are you running?

Re: ldap_add: Invalid syntax (21) additional info: objectclass: value #0 invalid per syntax

2013-05-16 Thread Quanah Gibson-Mount
--On Friday, May 17, 2013 12:38 AM +0100 Youssef Said Khloufi mrag...@yahoo.fr wrote: - stoping and restarting slapd does not resolve the problem. - i checked all schemes loaded in the configuration DIT using the command : sudo ldapsearch -Y EXTERNAL -H ldapi:/// -b cn=schema,cn=config

Re: ldap_add: Invalid syntax (21) additional info: objectclass: value #0 invalid per syntax

2013-05-16 Thread Youssef Said Khloufi
I have solved the problem. It was the existence of an empty line between the line : objectClass: olcSchemaConfig and the line olcObjectClasses: ( 1.3.6.1.4.1.42.. Once i deleted the empty line everything worked well. #Definición de ObjectClass stPerson y atributo correo dn:

Re: ldap_add: Invalid syntax (21) (Sorted)

2013-03-12 Thread Graeme Gemmill
SORTED: the problem was the presence on the dn: cn= line of the mail= attribute. I removed it from each line, and the LDIF file completed correctly. Since the data was prepared by exporting an LDIF file from Thunderbird, I'll have to raise a bug report with them. Can I be the first person to

Re: ldap_add: Invalid syntax (21)

2013-03-11 Thread Graeme Gemmill
On 10/03/13 18:44, Keutel, Jochen (mlists) wrote: Hi, I don't think dc=name is related to your schema problem. Probably object class mozillaAbPersonAlpha was not included in your schema files. Please provide /usr/local/etc/openldap/schema/mozilla.schema to check this. Regards, Jochen. Am

Re: ldap_add: Invalid syntax (21)

2013-03-11 Thread Howard Chu
Graeme Gemmill wrote: On 10/03/13 18:44, Keutel, Jochen (mlists) wrote: Hi, I don't think dc=name is related to your schema problem. Probably object class mozillaAbPersonAlpha was not included in your schema files. Please provide /usr/local/etc/openldap/schema/mozilla.schema to check this.

Re: ldap_add: Invalid syntax (21)

2013-03-10 Thread Graeme Gemmill
On 09/03/13 17:34, Graeme Gemmill wrote: Please ignore the previous post on this topic - I think choosing dc=name was confusing things. I'm starting again. Graeme

Re: ldap_add: Invalid syntax (21)

2013-03-10 Thread Keutel, Jochen (mlists)
Hi, I don't think dc=name is related to your schema problem. Probably object class mozillaAbPersonAlpha was not included in your schema files. Please provide /usr/local/etc/openldap/schema/mozilla.schema to check this. Regards, Jochen. Am 10.03.2013 18:43, schrieb Graeme Gemmill: On

ldap_add: Invalid syntax (21)

2013-03-09 Thread Graeme Gemmill
objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson objectclass: mozillaAbPersonAlpha cn: Chris Smith mail: chris.sm...@ccb-insight.emv1.net #modifytimestamp: 1314088910 The full error message is ldap_add: Invalid syntax (21) additional info: objectclass

ldap_add: Invalid syntax (21)

2010-08-18 Thread Cole
=Group,dc=muncc,dc=loc adding new entry ou=Netgroup,dc=muncc,dc=loc adding new entry ou=Protocols,dc=muncc,dc=loc adding new entry ou=Aliases,dc=muncc,dc=loc adding new entry nisMapName=netgroup.byhost,dc=muncc,dc=loc adding new entry cn=mailer-daemon,ou=Aliases,dc=muncc,dc=loc ldap_add: Invalid

Re: ldap_add: Invalid syntax (21)

2010-08-18 Thread Dieter Kluenter
not sure how to fix it.  Any ideas on what I am doing wrong? [...] adding new entry cn=mailer-daemon,ou=Aliases,dc=muncc,dc=loc ldap_add: Invalid syntax (21) additional info: objectClass: value #0 invalid per syntax /usr/bin/ldapadd: returned non-zero exit status: saving failed LDIF to /tmp