[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: help with back-sql setup
- To: openldap-technical@openldap.org
- Subject: Re: help with back-sql setup
- From: thelastknowngod <tlkg.me@gmail.com>
- Date: Tue, 16 Dec 2014 14:21:00 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Pwr+zmyQjOJ1+0doVGROAOcTNmCqXiAKFiU/SkOJf0E=; b=G89wT/YdhSKzf6ovR8enVC58gQQeDoAbWzvfK2kgXRGkvyH2dxKZKCcbrwuUHTwzLx nYhSpzyu/yipuj72A1PdtStF+xK85tfNRDRki1cNhoCMRU9V6tM+8/ns3XQNrobdzOIl 0GCveRC2O+LsXmOgsPYYRt4/8Dd5762tfE2AKrfXHTmbfJWku5Vk86Uh9l0erVW6QZuO g+DGt3K+u7cQZPvlIPkQWTyKKvEo95jVPWYRP/fJTzR+hQrkaPVPyHOuEzapAXdOlQf7 TF3fDtGox02tvXMWHRGyFVh0xG/vyRCV07Bh0L1UId9igtnew0ya5s992n89Y21OaT0r OGgA==
- In-reply-to: <20141216081207.02cec378@pink.avci.de>
- References: <548F1649.8090200@gmail.com> <20141216081207.02cec378@pink.avci.de>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
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
Thanks for taking a look.
On 12/16/2014 02:12 AM, Dieter Klünter wrote:
Am Mon, 15 Dec 2014 12:11:37 -0500
schrieb thelastknowngod <tlkg.me@gmail.com>:
Hey guys,
I'm getting an "operation not permitted within namingContext" error
when trying to add an entry into a test environment using back-sql. I
created the database using the
backsql_create.sql,testdb_create.sql,testdb_data.sql, and
testdb_metadata.sql files in the OpenLDAP source. I've also tried
just using one of the entries in the testdb as a template. Still
didn't work. Not sure where the issue is. If you guys can help point
me in the right direction that would be awesome.
namingContext is the buzz word. It seems that your DN you want to
create does'nt match the database suffix.
-Dieter