Hey thanx guys, it works now... Yes indeed the spaces killed me, I didn't know that it had that much effect on the entries in LDAP. Now I can go on with my LDAP journey... Thanx... Koen Bosmans