[sysadmin-bin] The cleanup should be performed on the ftpadmin LDAP group



commit 63de214b5a6edd55c497c0a710224c6858450232
Author: Andrea Veri <av gnome org>
Date:   Sat May 31 15:24:14 2014 +0200

    The cleanup should be performed on the ftpadmin LDAP group

 cleanup-inactive-ldap-accounts.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cleanup-inactive-ldap-accounts.py b/cleanup-inactive-ldap-accounts.py
index e875dba..37e8339 100755
--- a/cleanup-inactive-ldap-accounts.py
+++ b/cleanup-inactive-ldap-accounts.py
@@ -112,4 +112,4 @@ for ftpbasic_user in ftpbasic_users:
         if options.verbose:
            print ("Removing user %s from ftpbasic" % ftpbasic_user, end='\n')
         remove_members = [ (ldap.MOD_DELETE, 'memberUid','%s' % ftpbasic_user) ]
-        l.modify_s('cn=ftpbasic,ou=groups,dc=gnome,dc=org', remove_members)
+        l.modify_s('cn=ftpadmin,ou=groups,dc=gnome,dc=org', remove_members)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]