Issue 7866 - [PATCH] Mention default database in tools' man pages
Summary: [PATCH] Mention default database in tools' man pages
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: documentation (show other issues)
Version: 2.4.39
Hardware: All All
: --- normal
Target Milestone: 2.5.2
Assignee: Quanah Gibson-Mount
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-30 08:35 UTC by jsynacek@redhat.com
Modified: 2021-02-26 23:35 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 jsynacek@redhat.com 2014-05-30 08:35:11 UTC
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.
Comment 1 Howard Chu 2014-05-30 08:47:50 UTC
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/

Comment 2 Quanah Gibson-Mount 2017-04-14 19:44:04 UTC
moved from Incoming to Documentation
Comment 3 OpenLDAP project 2017-09-14 19:50:17 UTC
has patch
Comment 4 Quanah Gibson-Mount 2017-09-14 19:50:17 UTC
changed notes
Comment 5 Quanah Gibson-Mount 2021-02-15 18:49:06 UTC
MR: https://git.openldap.org/openldap/openldap/-/merge_requests/235
Comment 6 Quanah Gibson-Mount 2021-02-15 21:38:34 UTC
Commits: 
  • f8414279 
by Jan Synacek at 2021-02-15T19:53:28+00:00 
ITS#7866 - Mention default database in tools' man pages