Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
if smb_conf_dc_functional_level is None:
# This shouldn't be possible, except if the default option
# value is not in the loadparm enum table
- raise RuntimeError(f"'ad dc functional level' in smb.conf unrecognised!")
+ raise RuntimeError("'ad dc functional level' in smb.conf unrecognised!")
try:
return string_to_level(smb_conf_dc_functional_level)
if not ignore:
if first:
- self.outf.write(f' Principals that may delegate to this '
- f'account:\n')
+ self.outf.write(' Principals that may delegate to this '
+ 'account:\n')
first = False
self.outf.write(f'msDS-AllowedToActOnBehalfOfOtherIdentity: '