Home All Groups Group Topic Archive Search About


Author
14 Mar 2006 6:25 AM
Michael Jeske
Hello,

first sorry for my bad englisch, i hope you understand me.

I wont write an asp (not asp.net) application to delete computeraccounts
from ad.
In my develope enviroment (all W3K servers) this script works fine.

Set oDSObj = GetObject("LDAP:")
Set oAuth =
oDSObj.OpenDSObject("LDAP://IPAdresse/CN=HugoBoss,OU=3,OU=2,OU=1,DC=firma,DC=local",
& _"CN=Administrateur,OU=Users,DC=firma,DC=local", "Password", 1)
oAuth.DeleteObject (0)

in the productive enviroment all server are w2k and i receive an error on
line 2.
i have tested with ip-adress and servername.
the useraccount also in domain\user
it doesn't work.

have anyone a hint?

best regards

michael

Author
14 Mar 2006 3:28 PM
Slim
is this any help
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/deleting_users_on_member_servers_and_windows_2000_professional.asp


Show quote
"Michael Jeske" <jessy.krav***@gmx.net> wrote in message
news:Ok7cqAzRGHA.2088@TK2MSFTNGP14.phx.gbl...
> Hello,
>
> first sorry for my bad englisch, i hope you understand me.
>
> I wont write an asp (not asp.net) application to delete computeraccounts
> from ad.
> In my develope enviroment (all W3K servers) this script works fine.
>
> Set oDSObj = GetObject("LDAP:")
> Set oAuth =
> oDSObj.OpenDSObject("LDAP://IPAdresse/CN=HugoBoss,OU=3,OU=2,OU=1,DC=firma,DC=local",
> & _"CN=Administrateur,OU=Users,DC=firma,DC=local", "Password", 1)
> oAuth.DeleteObject (0)
>
> in the productive enviroment all server are w2k and i receive an error on
> line 2.
> i have tested with ip-adress and servername.
> the useraccount also in domain\user
> it doesn't work.
>
> have anyone a hint?
>
> best regards
>
> michael
>
>
>

AddThis Social Bookmark Button