pahekoldap

This commit is contained in:
2025-10-22 17:51:52 +02:00
parent e3c76ea3eb
commit d63f662f22

View File

@@ -118,7 +118,9 @@ with Ldap() as ldap:
mail_secours.append(f"{membre['email']}: Paheko {membre['email_secours']}, LDAP {ldap_entry[1]['mailDeSecours'][0].decode()}")
if not test_services(membre, ldap_entry):
services.append(f"{membre['email']}: Paheko {membre['cloud']}, LDAP {ldap_entry[1]['nextcloudEnabled'][0].decode()}")
path = f"/var/lib/docker/volumes/cloud_cloudData/_data/{ldap_entry[1]['identifiantKaz'][0].decode()}"
size = int(get_disk_size(path) / 1024 / 1024)
services.append(f"{membre['email']}: Paheko {membre['cloud']}, LDAP {ldap_entry[1]['nextcloudEnabled'][0].decode()}, espace cloud commun {size}Mo")
if not test_quota(membre, ldap_entry):
suffix = ""