Groovy LDAP Tutorial - rukichen/GrailsGroovyLDAP GitHub Wiki
My editor is as might have guessed GGTS, which is based on eclipse. Due to an interest in using LDAP and groovy together I searched for informations on the topic. All I could find was from 2009. Unfortunately all of the tutorials were either based on OpelLDAP or GroovyLDAP from Apache. Apache change this library in 2012 to a JavaLibrary. They changed it so much, that all the old tutorials are not adaptable any more. Apache themselves made a tutorial for that. For people that are used to program groovy the adaptation from the java tutorial to groovy is not so much effort, but for people that are just getting startet it might be a bit to much.
This tutorial is for mainly for groovy beginner that want to learn working with LDAP via the Apache API
1.1 Installing Apache Directory LDAP API
1.2 A new Groovy Project
1.3 Setting up your local LDAP Server
2.1 Connect and Search in the LDAP Server
Free Server to Test
http://linkis.com/www.forumsys.com/en/kH0HV
Problems with closed Ports under Ubuntu
sudo ufw default deny incoming
sudo ufw allow ssh
sudo ufw allow <portnumber>
sudo ufw allow <portnumber>/tcp
sudo ufw enable (activates the ufw firewall)