PreviousNext

DCE RPC Environment Variables

NLSPATH
The environment variable NLSPATH must point to the location of dcerpc.cat and dcedcs.cat. Otherwise, any run-time status codes returned by the control program will be hexadecimal, rather than textual, form. The value of this variable must include both the path name of the directory where the .cat files reside and the string %N.

RPC_DEFAULT_ENTRY_SYNTAX
The dce name syntax is the only syntax currently supported by the DCE Cell Directory Service (CDS). However, the Name Service Interface (NSI) is independent of any specific name service and, in the future, may support name services that use other name syntaxes. When alternative name syntaxes are supported, you can override the standard default with a process-specific default by setting the RPC_DEFAULT_ENTRY_SYNTAX environment variable. When this variable is set for a process, the control program uses it to find out the default syntax for the process. You can override this default in any NSI command of the control program by using the -s option to specify an alternative entry syntax. Setting RPC_DEFAULT_ENTRY_SYNTAX requires specifying the integer 3 to indicate the dce syntax. To set RPC_DEFAULT_ENTRY_SYNTAX, use the name=value command to define an environment variable. The following command specifies dce as the default name syntax in a login command file:

# .login command file
# setting dce as default name syntax,
RPC_DEFAULT_ENTRY_SYNTAX=3

RPC_DEFAULT_ENTRY
For the import command, you can use this environment variable to indicate the entry where the search operation starts. Usually, the starting entry is a profile.