Added touch on not found objects
This commit is contained in:
parent
b777a82a83
commit
f7801450b4
1 changed files with 5 additions and 0 deletions
|
@ -324,6 +324,11 @@ for obj in LdapObjects[options.provider]:
|
|||
else:
|
||||
logging.debug('Obj %s : not found on %s' % (obj,srv))
|
||||
not_found[srv].append(obj)
|
||||
if options.touch:
|
||||
orig_value=[]
|
||||
if options.touch in LdapObjects[options.provider][obj]:
|
||||
orig_value=LdapObjects[options.provider][obj][options.touch]
|
||||
LdapServers[options.provider].touch_object(obj,options.touch,orig_value)
|
||||
|
||||
for obj in LdapObjects[options.consumer]:
|
||||
logging.debug('Check obj %s of consumer' % obj)
|
||||
|
|
Loading…
Reference in a new issue