Specify sync problem during LDAP attributes check
Benjamin Renard

Benjamin Renard commited on 2013-02-20 09:40:01
Showing 1 changed files, with 2 additions and 1 deletions.

... ...
@@ -239,9 +239,10 @@ for obj in LdapObjects[options.provider]:
239 239
 					for attr in LdapObjects[options.provider][obj]:
240 240
 						if attr not in LdapObjects[srv][obj]:
241 241
 							attrs_list.append(attr)
242
+							logging.debug("Obj %s not synchronized : %s not present on %s" % (obj,','.join(attrs_list),srv))
242 243
 						elif LdapObjects[srv][obj][attr]!=LdapObjects[options.provider][obj][attr]:
243 244
 							attrs_list.append(attr)
244
-					logging.debug("Obj %s not synchronized : %s" % (obj,','.join(attrs_list)))
245
+							logging.debug("Obj %s not synchronized : %s not same value(s)" % (obj,','.join(attrs_list)))
245 246
 					not_sync[srv].append("%s (%s)" % (obj,','.join(attrs_list)))
246 247
 				else:
247 248
 					logging.debug("Obj %s not synchronized : %s <-> %s" % (obj,LdapObjects[options.provider][obj],LdapObjects[srv][obj]))
248 249