Hello, My problem is very simple. I am trying to create a user via ADSI (Active Directory Service Interface) I read a couple articles on ADSI and this is the code i ended up with...
<html>
<head>
</head>
<body bgcolor="white">
<%
Set DomainObj = GetObject("WinNT://domain"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Set UserObj = DomainObj.Create("userx", "jdoe"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
UserObj.SetInfo
Set UserObj = Nothing
%>
</body>
</html>
I have changed all the credentials for security reasons ofcourse but can someone tell me whats wrong? I get the following error in the Set UserObj line...
Active Directory (0x80004005)
Unspecified Error
Thanking you in advance. Gordon R. Durgha
gd@vslink.net
<html>
<head>
</head>
<body bgcolor="white">
<%
Set DomainObj = GetObject("WinNT://domain"
Set UserObj = DomainObj.Create("userx", "jdoe"
UserObj.SetInfo
Set UserObj = Nothing
%>
</body>
</html>
I have changed all the credentials for security reasons ofcourse but can someone tell me whats wrong? I get the following error in the Set UserObj line...
Active Directory (0x80004005)
Unspecified Error
Thanking you in advance. Gordon R. Durgha
gd@vslink.net