mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
tests/krb5: Fix enum typo
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
13fe7e013e
commit
ca582250fc
@ -248,9 +248,9 @@ class KDCBaseTest(RawKerberosTest):
|
||||
which is used by tearDownClass to clean up the created accounts.
|
||||
'''
|
||||
if ou is None:
|
||||
if account_type is account_type.COMPUTER:
|
||||
if account_type is self.AccountType.COMPUTER:
|
||||
guid = DS_GUID_COMPUTERS_CONTAINER
|
||||
elif account_type is account_type.SERVER:
|
||||
elif account_type is self.AccountType.SERVER:
|
||||
guid = DS_GUID_DOMAIN_CONTROLLERS_CONTAINER
|
||||
else:
|
||||
guid = DS_GUID_USERS_CONTAINER
|
||||
|
Loading…
Reference in New Issue
Block a user