[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_add: Invalid syntax (21)



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.

By the way, having done a  bit of reading, I think the problem may be
the lack of a cn: or sn: when processing an inetOrgPerson.

No. Lack of a required attribute would return Objectclass violation, not Invalid syntax. Most likely you have trailing whitespace or some other invisible character garbling the input.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/