This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# ldapsearch based on FreeRADIUS configuration | |
# Known issue(s) - Checks only the first LDAP server, doesn't read the configuration file properly, i.e. it's just greping for what might work... | |
if [ -z "$1" ]; then | |
FILE=/etc/freeradius/mods-enabled/ldap | |
else | |
FILE=$1 | |
fi |