[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: How can I solve "OpenLdap additional info:objectClass value#0 invalid per syntax" Error?
- To: Dieter Klünter <dieter@dkluenter.de>, "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: Re: How can I solve "OpenLdap additional info:objectClass value#0 invalid per syntax" Error?
- From: Jason Long <hack3rcon@yahoo.com>
- Date: Sat, 29 Aug 2015 07:33:53 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1440833634; bh=rzEe5Opoj1mdDHsMjRG+fvuSGWKuQ6CClKiUV+GBwsc=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=RbaudOPUYRkkEXKNOlydthnjphSqTcbgabw6KiR+bU6NsTy+K0B/dMBWaNxX/Fh1W+PHROqILguvl3FKmJ68+WKeV9lw9FWHdMVDIMvSxz/kLzHAo1Ks20Eji2+DZVIugx+J8z3V0mhDjY5h4JOHKO5j/cwXHhreTojbuju4/xcbEaBFCwYpWHHi+Wi1uXsZa9ebq7zI/VvFSaicLOYB5vnTq+6v/ugSUF12J8QZ+7ugLKT8k9b3kt3RMIGzzUzgOsR68N2pBhh0VHcHnzoQxsp951rf08I7JIqvIxca/IW3EiditO7QCWCM/KssXg3TMs1n2nwCWr2ozv/34UGmeA==
- In-reply-to: <20150826110125.2251d7f9@pink.avci.de>
- References: <20150826110125.2251d7f9@pink.avci.de>
I guess it is included in "/etc/openldap/"
On Wednesday, August 26, 2015 1:31 PM, Dieter Klünter <dieter@dkluenter.de> wrote:
Am Wed, 26 Aug 2015 07:16:42 +0000 (UTC)
schrieb Jason Long <hack3rcon@yahoo.com>:
> Any idea?
> I used "
> http://docs.adaptivecomputing.com/viewpoint/hpc/Content/topics/1-setup/installSetup/settingUpOpenLDAPOnCentos6.htm"
> and I don't know why I get error.
>
>
>
> On Tuesday, August 25, 2015 11:33 AM, Jason Long
> <hack3rcon@yahoo.com> wrote: Is my Scheme correct?
>
>
>
>
> On Monday, August 24, 2015 7:16 PM, Dieter Klünter
> <dieter@dkluenter.de> wrote: Am Mon, 24 Aug 2015 07:11:16 +0000 (UTC)
> schrieb Jason Long <hack3rcon@yahoo.com>:
>
> > I used sed -e 's/^[ \t]*//' but not matter.
>
> there must be something wrong, invisible to me.
> open your ldif file with vim and edit :set list
> you may toggle list by :set nolist
>
>
> -Dieter
>
> >
> > On Saturday, August 22, 2015 10:33 PM, Dieter Klünter
> > <dieter@dkluenter.de> wrote: Am Sat, 22 Aug 2015 07:26:20 +0000
> > (UTC) schrieb Jason Long <hack3rcon@yahoo.com>:
> >
> > > No, Space not exist.
> > > I attached a pohot here.
> > > On Saturday, August 22, 2015 11:47 AM, Dieter Klünter
> > > <dieter@dkluenter.de> wrote: Am Fri, 21 Aug 2015 11:51:48 +0000
> > > (UTC)
> > >
> > > schrieb Jason Long <hack3rcon@yahoo.com>:
> > >
> > > > Hello.
> > > > I used below URL for configure my OpenLdap on CentOS 7 but when
> > > > I want to add a user I got an error " OpenLdap additional
> > > > info:objectClass value#0 invalid per syntax" How can I solve it?
> > > >
> > > > http://docs.adaptivecomputing.com/viewpoint/hpc/Content/topics/1-setup/installSetup/settingUpOpenLDAPOnCentos6.htm#addOU
This is crap! There are no schemas included. You need at least
core.schema, cosine.schema, inetorgperson.schema
These schema files are included in openldap packages. In order to setup
a config schema backend read
http://www.openldap.org/doc/admin24/slapdconf2.html#cn=schema
just create an object
dn: cn=schema,cn=config
objectClass: olcSchemaConfig
cn: schema
and slapadd(8) core.ldif, cosine,ldif,inetorgperson.ldif
-Dieter
> > >
> > > check whether the objectClass value has a trailing space.
> >
> > open your *.ldif file with vim, insert
> >
> > :%s/\s\+$//
> >
> > this will remove all trailing spaces.
> >
> >
> > -Dieter
> >
>
>
>
--
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E