From ecae51b307bc8a5d4585b59cb06f657db557bfd6 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Tue, 19 May 2026 22:38:48 +0200 Subject: [PATCH] added check ldap tool --- check_ldap.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 check_ldap.py diff --git a/check_ldap.py b/check_ldap.py new file mode 100755 index 0000000..1dedaf0 --- /dev/null +++ b/check_ldap.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python + +import argparse +from getpass import getpass + +from auth.psildap import get_data + + +parser = argparse.ArgumentParser() +parser.add_argument("username") +clargs = parser.parse_args() + +username = clargs.username +password = getpass() + +data = get_data(username, password) +print(data) + + +