This does an unauthenticated bind and exports the Framed IP Address from OpenLDAP
'-x' simple, no SASL
'-D' bind as
'-w' password
'-b' search base (starting point)
'-s sub' search sub tree
ldapsearch -x -LLL -D 'cn=admin,dc=domain,dc=net' -w password -b 'ou=users,dc=domain,dc=net' -s sub radiusFramedIPAddress >> /var/tmp/radiusUsers.txt
'-x' simple, no SASL
'-D' bind as
'-w' password
'-b' search base (starting point)
'-s sub' search sub tree
ldapsearch -x -LLL -D 'cn=admin,dc=domain,dc=net' -w password -b 'ou=users,dc=domain,dc=net' -s sub radiusFramedIPAddress >> /var/tmp/radiusUsers.txt
Comments
Post a Comment