# LDAP - ldapAttributeList - EMPTY RESULTS

**URL:** <https://community.ofelia.com/t/ldap-ldapattributelist-empty-results/5454>\
**Category:** Q&A\
**Created:** [5 December 2014 19:51 UTC](https://community.ofelia.com/t/ldap-ldapattributelist-empty-results/5454 "2014-12-05T19:51:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerardo.rivera.ext](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@gerardo.rivera.ext](https://community.ofelia.com/u/gerardo.rivera.ext)\
**Post date:** [5 December 2014 19:51 UTC](https://community.ofelia.com/t/ldap-ldapattributelist-empty-results/5454/1 "2014-12-05T19:51:50Z")

</div>

Hey friends i have problems with the LDAP TEST CONECTION firts my conection (resolved) now my ldapAttributeList, doesn’t show nothing, i used the same BASE DN and filters an another LDAP Explorer and this show it ok,

But why bonitaSoft comeback a empty list ?

this is my result

[https://www.dropbox.com/s/n8ckahxgpk0xks7/Captura.JPG?dl=0](https://www.dropbox.com/s/n8ckahxgpk0xks7/Captura.JPG?dl=0)

I´m having many problems trying to implement LDAP with bonita Studio, somebody that can help me with this process… ?

---

<div class="post-metadata">

**Author:** ![gerardo.rivera.ext](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@gerardo.rivera.ext](https://community.ofelia.com/u/gerardo.rivera.ext)\
**Post date:** [15 December 2014 22:54 UTC](https://community.ofelia.com/t/ldap-ldapattributelist-empty-results/5454/2 "2014-12-15T22:54:14Z")

</div>

well… to fix this problem is necessary little code to complement the return LDAPList Attribute

`
import org.bonitasoft.connectors.ldap.LdapAttribute;
def dnList = [] //defines dnList as temp variable for input
ldapAttributeList.each { // for each element in ldapAttributeList (this is the result you get form ldap query)
dnList.add(it.get(0).getValue()) //add the value of the actual element to dnList
}
`
