I have a problem getting work visual basic script, it's in attatchment. It's a script from Xwall spamfilter which does query to active directory to know does e-mail address exists, if it dosen't it don't send e-mail to mail server.
I got error message
Code: Select all
C:\XWall>c:\windows\system32\cscript.exe c:\xwall\ldapquery.vbs [email protected] ee-camel.random.com -u random\sventest07 -pSventest07
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
E-Mail: [email protected]
DNC: random\sventest07
SQL: Select cn,adspath,ProxyAddresses from 'GC://random\sventest07' where ProxyAddresses='SMTP:[email protected]'
Error: The connection cannot be used to perform this operation. It is either closed or invalid in this context.
C:\XWall>
What i have done so far:
* sh winetricks wsh56
* ./winetricks vcrun6
* sh winetricks mdac28
* apt-get install libwine-ldap
* sh winetricks --force jet40 mdac28
* sh winetricks ie6
Can anyone please help!