Issue 4829 - slapd-config should create olcDbDirectory
Summary: slapd-config should create olcDbDirectory
Status: VERIFIED FEEDBACK
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 10:52 UTC by Gavin Henry
Modified: 2021-08-03 18:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Gavin Henry 2007-02-02 10:52:22 UTC
Full_Name: Gavin Henry
Version: N/A
OS: N/A
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (212.159.59.85)


Dear All,

If we are to suppose that slapd-config is to provide 100% remote configuration,
then directories should be created as set in:

olcDbDirectory
set_lg_dir


Questions/Needs:

1. How to handle existing directories on mkdir?
2. Some global cn=config setting to say what cn=config is allowed to do
3. Plus many more I'm sure.

Thanks,

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/

Comment 1 ando@openldap.org 2007-02-03 17:07:15 UTC
changed notes
moved from Incoming to Development
Comment 2 Howard Chu 2007-02-17 15:43:28 UTC
changed notes
Comment 3 Howard Chu 2007-02-17 15:45:37 UTC
ghenry@suretecsystems.com wrote:

> Dear All,
> 
> If we are to suppose that slapd-config is to provide 100% remote configuration,
> then directories should be created as set in:
> 
> olcDbDirectory
> set_lg_dir
> 
> 
> Questions/Needs:
> 
> 1. How to handle existing directories on mkdir?
> 2. Some global cn=config setting to say what cn=config is allowed to do
> 3. Plus many more I'm sure.

Some of this touches on issues raised in ITS#4535. We probably need to answer 
those points first.

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc
   Chief Architect, OpenLDAP     http://www.openldap.org/project/

Comment 4 Howard Chu 2007-02-17 15:45:44 UTC
changed notes
changed state Open to Feedback
Comment 5 Gavin Henry 2007-02-17 18:43:29 UTC
<quote who="Howard Chu">
> ghenry@suretecsystems.com wrote:
>
>> Dear All,
>>
>> If we are to suppose that slapd-config is to provide 100% remote
>> configuration,
>> then directories should be created as set in:
>>
>> olcDbDirectory
>> set_lg_dir
>>
>>
>> Questions/Needs:
>>
>> 1. How to handle existing directories on mkdir?
>> 2. Some global cn=config setting to say what cn=config is allowed to do
>> 3. Plus many more I'm sure.
>
> Some of this touches on issues raised in ITS#4535. We probably need to
> answer
> those points first.

Understood.

>
> --
>    -- Howard Chu
>    Chief Architect, Symas Corp.  http://www.symas.com
>    Director, Highland Sun        http://highlandsun.com/hyc
>    Chief Architect, OpenLDAP     http://www.openldap.org/project/
>

Comment 6 Gavin Henry 2007-02-18 22:09:21 UTC
<quote who="ghenry@suretecsystems.com">
> <quote who="Howard Chu">
>> ghenry@suretecsystems.com wrote:
>>
>>> Dear All,
>>>
>>> If we are to suppose that slapd-config is to provide 100% remote
>>> configuration,
>>> then directories should be created as set in:
>>>
>>> olcDbDirectory
>>> set_lg_dir
>>>
>>>
>>> Questions/Needs:
>>>
>>> 1. How to handle existing directories on mkdir?
>>> 2. Some global cn=config setting to say what cn=config is allowed to do
>>> 3. Plus many more I'm sure.
>>
>> Some of this touches on issues raised in ITS#4535. We probably need to
>> answer
>> those points first.
>
> Understood.
>

In another step towards 100% remote admin/config, could we store StartTLS
certs in the directory for slapd usage, replacing the need for:

TLS* config path hardcoding.?

Gavin.


Comment 7 Howard Chu 2007-02-18 23:39:07 UTC
ghenry@suretecsystems.com wrote:
> In another step towards 100% remote admin/config, could we store StartTLS
> certs in the directory for slapd usage, replacing the need for:
> 
> TLS* config path hardcoding.?

One step at a time... Ordinarily I would store certs in an entry with the 
same DN as the cert. This would mean creating a directory entry for your 
server name, as well as directory entries for any client certs you wanted to 
use. That's probably not the ideal way to go here.

We could store the certs directly, in attributes under cn=config. We could 
also just store DNs in the config attributes, pointing to certs in some other 
database entries.

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc
   Chief Architect, OpenLDAP     http://www.openldap.org/project/

Comment 8 Gavin Henry 2007-02-19 07:19:32 UTC
<quote who="hyc@symas.com">
> ghenry@suretecsystems.com wrote:
>> In another step towards 100% remote admin/config, could we store
>> StartTLS
>> certs in the directory for slapd usage, replacing the need for:
>>
>> TLS* config path hardcoding.?
>
> One step at a time...

Sure, I just wanted to have this wish recorded somewhere ;-)


> Ordinarily I would store certs in an entry with the
> same DN as the cert. This would mean creating a directory entry for your
> server name, as well as directory entries for any client certs you wanted
> to
> use. That's probably not the ideal way to go here.
>
> We could store the certs directly, in attributes under cn=config. We could
> also just store DNs in the config attributes, pointing to certs in some
> other
> database entries.

Understood.

>
> --
>    -- Howard Chu
>    Chief Architect, Symas Corp.  http://www.symas.com
>    Director, Highland Sun        http://highlandsun.com/hyc
>    Chief Architect, OpenLDAP     http://www.openldap.org/project/
>
>
>

Comment 9 OpenLDAP project 2014-08-01 21:04:58 UTC
see discussion on -devel, ITS#4535