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

Re: ldif2ldbm: man page omission of "-n" flag (ITS#59)



> Full_Name: Larry Bartz
> Version: 1.2beta
> OS: Linux 2.0.35 (Redhat 5.1)
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (207.24.122.2)
> 
> 
> Is a documentation omission a "bug"?
> 
> The manual page ldif2ldbm.8 does not mention the "-n" flag and it's
> associated <databasenumber> argument.
> 
> The "-n" flag, the arg, and the appropriate behavior (as described
> in UMICH's "The SLAPD and SLURPD Administrator's Guide") ARE supported
> in the current implementation of OpenLDAP. It works, at least for
> ldif2ldbm. I haven't tested the other ldif2* routines.
> 
> This is an important feature, which enables considerable flexibility
> and scalability in implementations.
> 
> Don't lose track of the capability for ldif2ldbm (and family) and
> slapd to support multiple databases.
> 
> 
> 

And it's a dangerous option.  I only run one database.  However, I
shudder to think of the consequences of performing an ldif2ldbm and
accidentally specifying the wrong database number, or forgetting to
specify it and having it default to the first database when I really
wanted to do another one.  If one configures multiple databases,
perhaps the user could be forced to specify the number.  That might
help a little.