From 1d149b55d57632c41bb3d0d60805f3552cde3a22 Mon Sep 17 00:00:00 2001 From: Marian Sigler Date: Wed, 26 Sep 2012 03:44:20 +0200 Subject: fix munin plugin --- contrib/munin/accounts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/munin') 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)) -- cgit v1.2.3-1-g7c22