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

ldif2* dangerousness



>From man page of ldif2ldbm,  ldif2index,  ldif2id2entry, ldif2id2children:

       -n database#
              This  option  specifies  the database number within
              slapd configuration file to build. The  default  is
              the 1, the first.

A wiser behaviour might be, default to 1 if there is only one database
available. Otherwise if -n argument is omitted, give an informative 
errormessage about how many databases there are, and maybe even their 
suffixes. 

As it is now, it's like having rm(1) default to * when no arguments given.

-- 
The statements included are my own, but could also be those
of my employer. I'm not sure.