|
Home > Archive > IIS Server Security > March 2004 > NameTranslate error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
NameTranslate error
|
|
| Brian Nicolaisen 2004-03-19, 9:42 am |
| I have a small script that will convert a username to a distinguished name for a user in Active Directory.
It worked without problems on Windows 2000 / IIS5.0, but on my new server with Windows 2003 / IIS 6.0
i keep getting permission denied.
<%
Dim objTrans, adUserDN
Set objTrans = Server.CreateObject("NameTranslate")
objTrans.Init 1, "_mydomain"
objTrans.Set 3, "_mydomain\_myuser"
adUserDN = objTrans.Get(1)
Response.Write adUserDN
Response.End
%>
What's wrong???
Brian Nicolaisen
| |
| Bernard 2004-03-23, 1:34 am |
| Run filemon (sysinternals.com) to trace the access related errors.
Try regmon too.
--
Regards,
Bernard Cheah
http://support.microsoft.com/
http://www.msmvps.com/bernard/
"Brian Nicolaisen" <anonymous@discussions.microsoft.com> wrote in message
news:6E2E31AB-E520-4C62-BE39-5BA3CD6B857F@microsoft.com...
> I have a small script that will convert a username to a distinguished name
for a user in Active Directory.
> It worked without problems on Windows 2000 / IIS5.0, but on my new server
with Windows 2003 / IIS 6.0
> i keep getting permission denied.
>
> <%
>
> Dim objTrans, adUserDN
>
> Set objTrans = Server.CreateObject("NameTranslate")
> objTrans.Init 1, "_mydomain"
> objTrans.Set 3, "_mydomain\_myuser"
> adUserDN = objTrans.Get(1)
>
> Response.Write adUserDN
> Response.End
>
> %>
>
> What's wrong???
>
> Brian Nicolaisen
>
|
|
|
|
|