THANKS !!! you are my hero, it's two hours that I'm try to solve this problem. Another little questions: and why do you load binary data in LDAP this directive is not necessary? Bye, Vlain -> Add something like: -> -> env.put("java.naming.ldap.attributes.binary", -> "binattr1,binattr2,binattr3"); -> -> Clayton