OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Documentation/7866
Full headers

From: jsynacek@redhat.com
Subject: [PATCH] Mention default database in tools' man pages
Compose comment
Download message
State:
0 replies:
1 followups: 1

Major security issue: yes  no

Notes:

Notification:


Date: Fri, 30 May 2014 08:35:11 +0000
From: jsynacek@redhat.com
To: openldap-its@OpenLDAP.org
Subject: [PATCH] Mention default database in tools' man pages
Full_Name: Jan Synacek
Version: 2.4.39
OS: 
URL: http://jsynacek.fedorapeople.org/openldap/jsynacek-20140530-0001-Mention-default-database-in-tools-man-pages.patch
Submission from: (NULL) (209.132.186.34)


Many of the slaptools use -b to specify a database. However, there is no mention
(apart from section 10.2.1. "The slapadd program" in the admin guide) in the
documentation that if there are multiple databases in the configuration, the
first one is used when no -b is given. The provided patch tries to improve the
situation by providing an explicit mention of the default database.

Followup 1

Download message
Date: Fri, 30 May 2014 01:47:50 -0700
From: Howard Chu <hyc@symas.com>
To: jsynacek@redhat.com, openldap-its@openldap.org
Subject: Re: (ITS#7866) [PATCH] Mention default database in tools' man pages
jsynacek@redhat.com wrote:
> Full_Name: Jan Synacek
> Version: 2.4.39
> OS:
> URL: http://jsynacek.fedorapeople.org/openldap/jsynacek-20140530-0001-Mention-default-database-in-tools-man-pages.patch
> Submission from: (NULL) (209.132.186.34)
>
>
> Many of the slaptools use -b to specify a database. However, there is no
mention
> (apart from section 10.2.1. "The slapadd program" in the admin guide) in
the
> documentation that if there are multiple databases in the configuration,
the
> first one is used when no -b is given. The provided patch tries to improve
the
> situation by providing an explicit mention of the default database.

Seriously? In 15 years no one else has ever remarked on this, why is this even 
worth discussing?

At any rate, the added text is incorrect. Technically, "the first database in 
the configuration that supports the requested operation" is used. E.g., if 
back-monitor is the first DB in the config, it is skipped.

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


Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org