break;
case SLAPAUTH:
- options = "\t[-U authcID] [-X authzID] ID [...]\n";
+ options = "\t[-U authcID] [-X authzID] [-R realm] [-M mech] ID [...]\n";
break;
case SLAPACL:
break;
case SLAPAUTH:
- options = "d:f:U:vX:";
+ options = "d:f:M:R:U:vX:";
mode |= SLAP_TOOL_READMAIN | SLAP_TOOL_READONLY;
break;
retrieve_ctxcsn = 1;
break;
+ case 'M':
+ ber_str2bv( optarg, 0, 0, &mech );
+ break;
+
case 'n': /* which config file db to index */
dbnum = atoi( optarg ) - 1;
break;
replica_demotion = 1;
break;
+ case 'R':
+ realm = optarg;
+ break;
+
case 's': /* dump subtree */
subtree = strdup( optarg );
break;
break;
}
- rc = glue_sub_init();
-
- if ( rc != 0 ) {
- fprintf( stderr, "Subordinate configuration error\n" );
- exit( EXIT_FAILURE );
- }
-
rc = slap_schema_check();
if ( rc != 0 ) {