Added Apache LDAP support. Modified agents variables and tasks. Some other voodoo too.