Add warning when nothing is updated in LDAP

This commit is contained in:
Josué Tille 2019-12-23 10:56:25 +01:00
parent 9400ef7498
commit 7ff033090c
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -233,6 +233,7 @@ class Authenticator(BaseAuthenticator):
ldif = modlist.modifyModlist(actual_entry[0], attr_dict, ignore_oldexistent=1)
if ldif == []:
logger.warning("Nothing to update in LDAP")
return True
try: