Bryce

Funny you should ask, I was just proto-typing the replacement for my LDAP lookup script... the real trick is in getting the ADSpath correct. This works within my organization...

code:

break on cls


$ldap = GetObject("LDAP://ldapserver.whatever.com/ou=CGI, ou=people,o=external,c=ca")


$count = 0


if $ldap


for each $object in $ldap


?"name = " $object.name
?"class = " $object.class


$count = $count + 1


next


endif


?"count=$count"
?
?"pause..." gets $k


exit


Shawn.

[This message has been edited by Shawn (edited 03 April 2001).]