I have a simple function which displays a list of members (below). This works fine if I use 'browse' from within IIS7 but I can't get it to work when I'm accessing the link which calls it from a client machine. Instead I get a very generic:
'500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.'
I'm sure there is probably something simple I've not turned on or installed but it's driving me crazy. I have 'Windows Authentication' installed in IIS.
I should point out that 'group' takes the form of LDAP://CN=blah,dc=blah, etc. As I said the function works fine on the server so I suspect some sort of authentication issue.
Set objGroup = GetObject (group)
arrMemberOf = objGroup.GetEx("member")
For Each strMember in arrMemberOf
Set user = GetObject("LDAP://" & strMember)
response.write Replace(user.name,"CN=",vbNullString) & "<br />"