idsucfgsuf

Use the idsucfgsuf command to remove a suffix from a directory server instance.

Description

The idsucfgsuf command removes a suffix from a directory server instance. The suffix is removed from the ibmslapd.conf file of the directory server instance. This command fails if the suffix does not exist in the configuration file.

Synopsis

idsucfgsuf [-I instancename -s suffix [-f configfile] [-d debuglevel] 
           [-b outputfile] [-q] [-n]] | -v | -?

Options

The idsucfgsuf 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. This parameter is required if there are more directory server instances on the system.
-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 suffix
Specifies to remove the suffix 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 remove the o=sample suffix from the ibmslapd.conf file with a single directory server instance on a system, run the following command:
idscfgsuf -s o=sample
Example 2:
To remove the o=sample suffix from the ibmslapd.conf file of a directory server instance, run the following command:
idscfgsuf -I instancename -s o=sample
You must provide the instance name if there are multiple directory server instances on the system.
Note: The following system defined suffixes cannot be removed.
  • cn=pwdpolicy
  • cn=localhost
  • cn=configuration
  • cn=ibmpolicies