PreviousNext

Last Security Server Used (_b(sec))

The _b(sec) convenience variable holds the name of the security server used for the most recent registry operation. The DCE control program sets this variable based on previous registry operations. Consequently, users can view, but not set, this variable.

One reason to read the value of this variable is to check which registry performed the most recent operation as shown in the following example.

dcecp> puts $_b(sec)
/.../my_cell.goodco.com/subsys/dce/sec/oddball
dcecp>

Registry operations use the value of the _b(sec) variable in conjunction with the value of the _s(sec) variable to determine which security server to use. Refer to DCE Servers to Use (_s(xxx)) for information about the _s(sec) variable and how these values work together for registry operations.