diff options
Diffstat (limited to 'contrib/munin/accounts.py')
-rw-r--r-- | contrib/munin/accounts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/munin/accounts.py b/contrib/munin/accounts.py index dc853c8..947989b 100644 --- a/contrib/munin/accounts.py +++ b/contrib/munin/accounts.py @@ -11,7 +11,7 @@ if __name__ == "__main__": print('graph_vlabel Amount') print('accounts.label Accounts') else: - service = AccountService(LDAP_HOST, LDAP_BASE_DN,SERVICES) - accounts = service.find(LDAP_ADMIN_USER, LDAP_ADMIN_PASS) + service = AccountService(LDAP_HOST, LDAP_BASE_DN, SERVICES, LDAP_ADMIN_USER, LDAP_ADMIN_PASS) + accounts = service.find() print('accounts.value %s' % len(accounts)) |