wnoor / bsh

Bean shell code to connect and search through ldap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bsh-ldapsearch

Simple Bean shell code to connect and search through ldap

Beanshell interpreter is required to execute the code. Script can also be executed using Groovy.

#Example search Search where sn starts with D, limit result to 2 before search update connection paramters according to your environment

NamingEnumeration result = searchByFilter("sn=D*", 2);

About

Bean shell code to connect and search through ldap