with fewer integrity checks. (may also change slapindex later.)
#define SLAP_TRUNCATE_MODE 0x0100
#define SLAP_TOOL_READMAIN 0x0200
#define SLAP_TOOL_READONLY 0x0400
+#define SLAP_TOOL_QUICK 0x0800
struct slap_replica_info {
char *ri_host; /* supersedes be_replica */
switch( tool ) {
case SLAPADD:
- options = "b:cd:f:l:n:tuvw";
+ options = "b:cd:f:l:n:qtuvw";
break;
case SLAPCAT:
dbnum = atoi( optarg ) - 1;
break;
+ case 'q': /* turn on quick */
+ mode |= SLAP_TOOL_QUICK;
+ break;
+
case 'R':
realm = optarg;
break;