idsucfgsch
Use the idsucfgsch command to unconfigure a schema file for a directory server instance.
Description
The idsucfgsch command unconfigures a schema file for a directory server instance. The schema file must be configured in the ibmslapd.conf file of the directory server instance. The directory server instance owner must specify the schema file to remove the file from the ibmslapd.conf file of the directory server instance.
Synopsis
idsucfgsch [-I instancename -s schemafile [-f configfile] [-d debuglevel]
[-b outputfile] [-q] [-n]] | -v | -?
Options
The idsucfgsch command takes the following parameters.- -b outputfile
- Specifies the full path of a file to redirect console output. If you use this parameter with the -q parameter, errors are sent to the outputfile file. If debug mode is set, then the debug output is sent to this file.
- -d debuglevel
- Sets the LDAP debug level to debuglevel. If you specify this parameter, the command sends the debug output to stdout. The debuglevel value is a bit mask that controls which output is generated with values from 1 to 65535. For more information about debug levels, see Debugging levels.
- -f configfile
- Specifies the full path to the configuration file to update. If this parameter is not specified, the default configuration file for the directory server instance is used.
- -I instancename
- Specifies the directory server instance name to update.
- -n
- Specifies to run in no prompt mode. All output from the command is generated, except for messages that require user interaction.
- -q
- Specifies to run in quiet mode. All output from the command is suppressed, except for error messages. If you also specify the -d parameter, then the trace output is not suppressed.
- -s schemafile
- Specifies the schema file to remove from the directory server instance.
- -v
- Specifies to show the version information of the command.
- -?
- Specifies to show the syntax format.
Examples
- Example 1:
- To unconfigure the /home/mydir/myschema.oc schema
file from the ibmslapd.conf file of an instance,
run the following command:
idsucfgsch –s /home/mydir/myschema.oc
Note: The following system-defined schema files cannot be removed.- V3.system.at
- V3.system.oc
- V3.config.at
- V3.config.oc
- V3.ibm.at
- V3.ibm.oc
- V3.user.at
- V3.user.oc
- V3.ldapsyntaxes
- V3.matchingrules