Quanah,
My slapd.d dir is empty and my initialization script only create config if
slapd.d dir is empty, i tried with slapd.conf every thing looks good
except i don't find a way to connect to cn=config db as i don't see roodDN
in "cn\=config/olcDatabase\=\{0\}config.ldif"
Thanks,
Ram
On Mon, Oct 2, 2017 at 1:35 PM, Quanah Gibson-Mount <quanah(a)symas.com>
wrote:
> --On Monday, October 02, 2017 2:19 PM -0700 rammohan ganapavarapu <
> rammohanganap(a)gmail.com> wrote:
>
>
>>
>> Hi,
>>
>>
>>
>> I am trying to follow this thread (
>> http://blog.roeften.com/2015/03/openldap-24-on-centos-7-using-mdb.html )
>> to initialize the ldap config in non-default directory but i am getting
>> this error.
>>
>>
>> cat example.ldif | slapadd -v -F /opt/data/slapd.d -n 0 -d -1
>>
>>
>>
>>
>> 59d29ce6 >>> dnPrettyNormal: <cn=config>
>> 59d29ce6 <<< dnPrettyNormal: <cn=config>, <cn=config>
>> 59d29ce6 str2entry: entry -1 has multiple DNs "cn=config" and
>> "cn=module,cn=config"
>> slapadd: could not parse entry (line=1)
>>
>>
>> If i add one by one (one dn at a time) it seems to be working.
>>
>>
>> Any idea?
>>
>
> Well, if you already have your own cn=config database, then you're just
> making a real mess out of it. That would be my guess. I'm not sure why
> you're following some random "how to" guide. If you already had a working
> slapd.conf, then all you needed to do was convert it to cn=config using
> "slaptest".
>
> --Quanah
>
> --
>
> Quanah Gibson-Mount
> Product Architect
> Symas Corporation
> Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
> <http://www.symas.com>
>
>
--On Monday, October 02, 2017 2:19 PM -0700 rammohan ganapavarapu
<rammohanganap(a)gmail.com> wrote:
>
>
> Hi,
>
>
>
> I am trying to follow this thread (
> http://blog.roeften.com/2015/03/openldap-24-on-centos-7-using-mdb.html )
> to initialize the ldap config in non-default directory but i am getting
> this error.
>
>
> cat example.ldif | slapadd -v -F /opt/data/slapd.d -n 0 -d -1
>
>
>
>
> 59d29ce6 >>> dnPrettyNormal: <cn=config>
> 59d29ce6 <<< dnPrettyNormal: <cn=config>, <cn=config>
> 59d29ce6 str2entry: entry -1 has multiple DNs "cn=config" and
> "cn=module,cn=config"
> slapadd: could not parse entry (line=1)
>
>
> If i add one by one (one dn at a time) it seems to be working.
>
>
> Any idea?
Well, if you already have your own cn=config database, then you're just
making a real mess out of it. That would be my guess. I'm not sure why
you're following some random "how to" guide. If you already had a working
slapd.conf, then all you needed to do was convert it to cn=config using
"slaptest".
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>
--On Thursday, September 21, 2017 9:59 PM -0700 "Paul B. Henson"
<henson(a)acm.org> wrote:
> It seems there are updates for that group coming from rid 002
> (egeria.ldap.cpp.edu) and 003 (minerva.ldap.cpp.edu), but none from rid
> 001 (themis.ldap.cpp.edu) which is serverid 4, where the change was
> actually made?
Oh, I thought you had said you only had two masters. This could well be
ITS#8444 (ignore the ITS title, it has nothing to do with memberOf), where
there are out of sync problems with 3+ MMR nodes and delta-syncrepl when
syncprov checkpoints.
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>
Hi,
I am trying to follow this thread (
http://blog.roeften.com/2015/03/openldap-24-on-centos-7-using-mdb.html
) to initialize the ldap config in non-default directory but i am getting
this error.
cat example.ldif | slapadd -v -F /opt/data/slapd.d -n 0 -d -1
59d29ce6 >>> dnPrettyNormal: <cn=config>
59d29ce6 <<< dnPrettyNormal: <cn=config>, <cn=config>
59d29ce6 str2entry: entry -1 has multiple DNs "cn=config" and
"cn=module,cn=config"
slapadd: could not parse entry (line=1)
If i add one by one (one dn at a time) it seems to be working.
Any idea?
Thanks
Quanah,
Thank you.
Ram
On Mon, Oct 2, 2017 at 10:11 AM, Quanah Gibson-Mount <quanah(a)symas.com>
wrote:
> --On Monday, October 02, 2017 10:59 AM -0700 rammohan ganapavarapu <
> rammohanganap(a)gmail.com> wrote:
>
>
>> Quanah,
>>
>>
>> Where can i get a minimal slapd.conf/cn=config for mdb? also all
>> supported properties for mdb?
>>
>
> The man page for slapd-mdb notes what its configuration options are:
>
> <http://www.openldap.org/software/man.cgi?query=slapd-mdb&
> apropos=0&sektion=0&manpath=OpenLDAP+2.4-Release&format=html>
>
> If you want a minimal slapd.conf for mdb, it's pretty basic:
>
> database mdb
> directory </path/to/database>
> index <indices>
> maxsize 85899345920
> <db specific ACLs>
>
>
> You could use slaptest to convert that trivially to cn=config
> representation.
>
>
> --Quanah
>
> --
>
> Quanah Gibson-Mount
> Product Architect
> Symas Corporation
> Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
> <http://www.symas.com>
>
>
--On Monday, October 02, 2017 10:59 AM -0700 rammohan ganapavarapu
<rammohanganap(a)gmail.com> wrote:
>
> Quanah,
>
>
> Where can i get a minimal slapd.conf/cn=config for mdb? also all
> supported properties for mdb?
The man page for slapd-mdb notes what its configuration options are:
<http://www.openldap.org/software/man.cgi?query=slapd-mdb&apropos=0&sektion=…>
If you want a minimal slapd.conf for mdb, it's pretty basic:
database mdb
directory </path/to/database>
index <indices>
maxsize 85899345920
<db specific ACLs>
You could use slaptest to convert that trivially to cn=config
representation.
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>
Quanah,
Where can i get a minimal slapd.conf/cn=config for mdb? also all supported
properties for mdb?
Thanks,
Ram
On Fri, Sep 29, 2017 at 2:32 PM, Quanah Gibson-Mount <quanah(a)symas.com>
wrote:
> --On Friday, September 29, 2017 2:50 PM -0700 rammohan ganapavarapu <
> rammohanganap(a)gmail.com> wrote:
>
>
>> Quanah,
>>
>>
>> Yes that is the plan but till i moved to latest version with mdb, i have
>> to live with it. Regarding upgrading to latest with mdb, how can i
>> migrate from hdb to mdb with out downtime? can i add latest openldap with
>> mdb as replica to existing older/hdb instance?
>>
>
> Yes, you can have an mdb-based server that is a replica from an existing
> back-hdb server.
>
>
> --Quanah
>
>
> --
>
> Quanah Gibson-Mount
> Product Architect
> Symas Corporation
> Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
> <http://www.symas.com>
>
>
Hello list,
Just a newbie question: I try to create a simple addressbook in LDAP and
I just wondered why there is no country attribute in the standard
structure:
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
Just an "st" attribute, but this should not be used for a country AFAIK.
Is there an easy way to add the country or friendlyCountryName as a MAY
attribute without having to create my own objectClass?
R.
--
richard lucassen
http://contact.xaq.nl/
What is the current OLC way to replace the nis schema with the
rfc2307bis schema?Â
There are hacks published, but I couldn't find a document that takes
advantage of OLC, removes the nis schema, and installs the rfc2307bis
schema. It feels like something that I would do often enough that I
would want to be able to do it one ldapmodify operation.
There is a problem. There wasn't delete support in OLC 2.4 2012 in http
://www.openldap.org/lists/openldap-technical/201204/msg00245.html.
OLC does support delete in 2.5 as of 2013 https://www.slideshare.net/ld
apcon/whats-new-in-openldap.
Since that has been established, what is the least hacky way to replace
the nis schema with the rfc2307bis schema in 2.4?