Skip to main content

Posts

Showing posts from March, 2013

Export from LDAP with ldapsearch example

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