is_dz_enabled
Use this command to check whether authorization is enabled in a currently selected classic zone.
Zone type
Classic only
Syntax
is_dz_enabled
Abbreviation
idze
Options
This command takes no options.
Arguments
This command takes no arguments.
Return value
This command returns 1 if authorization is enabled in a classic or 0 if authorization is not enabled.
Examples
create_zone classic4 cn=c125,cn=zones,dc=test,dc=net
select_zone cn=c125,cn=zones,dc=test,dc=net
is_dz_enable
0
manage_dz -on
is_dz_enable
1
This code example creates a new classic zone, checks that authorization is disabled by default, then enables authorization for the zone.
Related commands
The following command performs actions related to this command:
- manage_dz enables and disables authorization in classic4 zones.