}
ldap_search() {
- $LDAPSEARCH -h $LDAP_HOST -b $LDAP_BASE -D $LDAP_BIND -w "$LDAP_PASS" -x -o ldif-wrap=no -LLL "$@"
+ $LDAPSEARCH -h $LDAP_HOST -ZZ -b $LDAP_BASE -D $LDAP_BIND -w "$LDAP_PASS" -x -o ldif-wrap=no -LLL "$@"
}
ldap_keys() {
key_forward=$(clean_key_line forward "$line")
if [ ! -z "$key" ]; then
if [[ $key != *$'\n'* ]] && [[ $key == ssh-* ]]; then
- echo -n 'command="$HOME/bin/restrict '$user'" '
+ echo -n 'command="/etc/profiles/per-user/pub/bin/restrict '$user'" '
echo $key
fi
elif [ ! -z "$key_forward" ]; then