Hello, How can i integrate this ldap query in freeradius authentication to get the group name of user ? ldapsearch -h server.example.com -p 389 -x -W -D "cn=Directory Manager" "uid=username" | grep memberOf | awk '{print $2}' | cut -d ',' -f -1 Thanks,