I remember reading from somewhere that if there is a default LDAP server defined in the DNS server, you should be able to find it address or DNS name by querying the DNS server. Unfortunately I forgot where I read about it. Does anybody know how to do it? And how to do it with a C API (say, sockets or WinSockets)? Thanks, Jing