forked from shaba/openuds
Fixed windows domain "release", so if domain is not found can be easyly
identified
This commit is contained in:
parent
aecf6854a4
commit
ee661461a5
@ -223,7 +223,7 @@ class WinDomainOsManager(WindowsOsManager):
|
||||
raise Exception('Machine {} not found on AD (permissions?)'.format(service.friendly_name))
|
||||
l.delete_s(res) # Remove by DN, SYNC
|
||||
except IndexError:
|
||||
logger.error('Error deleting {} from BASE {}'.format(service.friendly_name, ou))
|
||||
logger.error('Error deleting {} from BASE {}'.format(service.friendly_name, self._ou))
|
||||
except Exception:
|
||||
logger.exception('Deleting from AD: ')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user