4
0
Fork 0
ldap-admin/bin/all-users

5 lines
148 B
Bash
Executable File

#!/bin/bash
#% all-users
#% List the logins of all users in LDAP
ldapsearch -x -ZZ -b 'ou=People,dc=hackerspace,dc=pl' | grep ^uid: | cut -d' ' -f2