Thanks
1.after build : {JBOSS basedir}/server/default/deploy/velo.ear/lib
2.in source : under sub-folder "lib"
Notify if this works for you .
import org.apache.directory.groovyldap.LDAP
ldap = LDAP.newInstance('ldap://localhost:1389', 'cn=Directory
Manager','password')
def accountsQueryManager = cntx.get("queryManager")
String accountsQuery = ldap.eachEntry(filter:'(uid=*)') {
def username = entry.uid
def name = entry.givenName
def surname = entry.sn
def email = entry.email
}
accountsQueryManager.add(accountsQuery)
cntx.set("queryManager",accountsQueryManager)
This gives me first PENDING task and then RUNNING task but didn't
reconciliate.
Anyone had already done a reconciliation with a ldap resource that
isn't Active Directory?
Is this possibile with Velo 1.4?
Thanks
AD REMOTE ADAPTER is for AD only,
We have LDAP3 resource type, so why using AD if it's an LDAP3 server?
Asaf.
Anyway, can you tell me please in a few words how can i reconciliate a
ldapv3 resource (OpenDS) on Velo 1.4?
I didn't find anything on wiki and i'm trying to find out how to do
the reconciliation and the provisioning on a ldapv3 resource.
Thanks
It's pretty simple, just map your attributes, the controller will take
care of the creation, automatically.
On the RESOURCE_TYPE (top menu resources>resource types), make sure
that the LDAP3 resource type controller is
'velo.resource.operationControllers.GenericLdapResourceController'
Not in the adapter when editing the resource,
thanks.
Thanks.