[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: help with back-sql setup
Am Tue, 16 Dec 2014 14:21:00 -0500
schrieb thelastknowngod <tlkg.me@gmail.com>:
> Pretty sure I'm using the right one. The line from slapd.conf is:
>
> suffix "dc=example,dc=com"
>
> The ldif I'm trying to add is pretty simple too:
>
> dn: ou=People,dc=example,dc=com
> changetype: add
> objectClass: organizationalUnit
> ou: People
>
> The same thing happens when adding a person directly under
> dc=example,dc=com:
>
> dn: cn=USERNAME,dc=example,dc=com
> changetype: add
> objectClass: inetOrgPerson
> givenName: USER
> sn: NAME
> cn: USERNAME
>
> Could it be an issue with how the mappings are done in the testdb?
> I'm also seeing this in the log:
>
> backsql_add("cn=USERNAME,dc=example,dc=com"): create procedure is not
> defined for structuralObjectClass "inetOrgPerson" - aborting
[...]
man slapd-sql(5), section 'statement configuration' and section
'metainformation used'.
But you should use sql tools anyhow and write directly to a sql
database, as back-sql is primarily for read operations.
-Dieter
--
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E