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

Re: Adding an Entry Outside the DIT



I believe it is outside from the main DIT because the differents suffix.  and i saw this documentation:
https://wiki.zimbra.com/wiki/Zimbra_Directory_Service_(LDAP)
at the second Picture there are two DIT.

I solved my problem by building a second Database with the wanted Suffix by adding this ldif:

dn: olcDatabase={2}hdb,cn=config 
objectClass: olcDatabaseConfig 
objectClass: olcHdbConfig 
olcDatabase: {2}hdb 
olcDbDirectory: /var/lib/ldap/<NEWDIR> 
olcSuffix: <new root DN> 
olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn=Manager,<new root DN>" write by * none 
olcAccess: {1}to dn.base="" by * read 
olcAccess: {2}to * by dn="cn=Manager,dc=<new root DN>" write by * read 
olcLastMod: TRUE 
olcRootDN: cn=Manager,<new root DN> 
olcRootPW: <manager password>

Am Mi., 5. Juni 2019 um 19:32 Uhr schrieb Quanah Gibson-Mount <quanah@symas.com>:
--On Wednesday, June 05, 2019 10:18 AM +0200 "A. Yuesuen"
<ayuesuen93@gmail.com> wrote:

> I have to work with a Shadow Server of my Company Ldap Server. And they
> are using for the authentication the Entry with the DN
> uid=zimbra,cn=admins,cn=zimbra but have the Suffic dn: dc=company,dc=com.
> How i can add a User with the dn  uid=zimbra,cn=admins,cn=zimbra when
> the suffix ends with dn: dc=company,dc=com.
>
> Is there a way to add a Entry outside the DIT?

What makes you believe it is outside of the DIT?  Zimbra deployments use ""
as the suffix for the database.

--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>