All,

I'm using scripting driver to create home directories. Installed and
configured the driver using following cool solution.

'Using the IDM Scripting Driver to Create Home Directories in an AD
Environment | Novell User Communities'
(http://www.novell.com/communities/no...ad-environment)

dataflow would be vault to application.

when i create users in vault i'm getting error from application.
Attached the trace from trace.log

>
> 2012-01-23 08:52:19 [7016@4392] (trace): Received.
> 2012-01-23 08:52:19 [7016@4392] (trace): <nds ndsversion="8.x"
> dtdversion="3.5">
> 2012-01-23 08:52:19 [7016@4392] (trace): <source>
> 2012-01-23 08:52:19 [7016@4392] (trace): <product
> version="3.6.10.4747">DirXML</product>
> 2012-01-23 08:52:19 [7016@4392] (trace): <contact>Novell,
> Inc.</contact>
> 2012-01-23 08:52:19 [7016@4392] (trace): </source>
> 2012-01-23 08:52:19 [7016@4392] (trace): <input>
> 2012-01-23 08:52:19 [7016@4392] (trace): <query scope="subtree"
> event-id="0" dest-dn="genericuserone" class-name="User">
> 2012-01-23 08:52:19 [7016@4392] (trace): <search-class
> class-name="User" />
> 2012-01-23 08:52:19 [7016@4392] (trace): <search-attr
> attr-name="CN">
> 2012-01-23 08:52:19 [7016@4392] (trace): <value
> type="string" timestamp="1327330343#23">genericuserone</value>
> 2012-01-23 08:52:19 [7016@4392] (trace): </search-attr>
> 2012-01-23 08:52:19 [7016@4392] (trace): <read-attr />
> 2012-01-23 08:52:19 [7016@4392] (trace): </query>
> 2012-01-23 08:52:19 [7016@4392] (trace): </input>
> 2012-01-23 08:52:19 [7016@4392] (trace): </nds>
> 2012-01-23 08:52:19 [7016@4392] (trace): Received document for
> subscriber channel
> 2012-01-23 08:52:19 [7016@4392] (drv_connection):
> Connection_queueDocument: starting
> 2012-01-23 08:52:19 [7016@4392] (drv_connection):
> Connection_queueDocument: ending
> 2012-01-23 08:52:19 [7016@4184] (drv_connection):
> Connection_receiveBytesWithCommand: ending
> 2012-01-23 08:52:19 [7016@4184] (drv_driver):
> Driver_registerObjectDn: starting
> 2012-01-23 08:52:19 [7016@4392] (drv_connection):
> Connection_receiveBytes: starting
> 2012-01-23 08:52:19 [7016@4392] (trace): Waiting for receive...
> .execute()
> 2012-01-23 08:52:19 [7016@4184] (trace): --->DriverShim subscriber
> execute()..
> 2012-01-23 08:52:19 [7016@4184] (trace): --->DriverShim subscriber
> dispatch() command = query
> 2012-01-23 08:52:19 [7016@4184] (trace): queryHandler
> 2012-01-23 08:52:19 [7016@4184] (trace): WindowsScript query handler
> 2012-01-23 08:52:19 [7016@4184] (trace): WindowsScript query handler
> creating input document
> 2012-01-23 08:52:19 [7016@4184] (trace): C:\Windows\TEMP\WSD2594.tmp
> 2012-01-23 08:52:19 [7016@4184] (trace): WindowsScript query handler
> executing subscriber script
> 2012-01-23 08:52:19 [7016@4184] (trace):
> WindowsScript_executeCommand: Executing command cscript //nologo
> "scripts\Subscriber.wsf" "C:\Windows\TEMP\WSD2594.tmp"
> "C:\Windows\TEMP\WSD3D81.tmp"
> 2012-01-23 08:52:20 [7016@4184] (trace):
> WindowsScript_executeCommand: command exited with code 1
> 2012-01-23 08:52:20 [7016@4184] (trace): WindowsScript query handler:
> complete
> 2012-01-23 08:52:20 [7016@4184] (trace): --->DriverShim subscriber
> dispatch() finished
> 2012-01-23 08:52:20 [7016@4184] (trace): SubscriptionShim.execute()
> returned:
> 2012-01-23 08:52:20 [7016@4184] (trace): <nds dtdversion="1.1"
> ndsversion="8.6">
> 2012-01-23 08:52:20 [7016@4184] (trace): <source>
> 2012-01-23 08:52:20 [7016@4184] (trace): <product
> version="3.6.0" build="May 23 2008 10:52:00" />
> 2012-01-23 08:52:21 [7016@4184] (trace): <contact />
> 2012-01-23 08:52:21 [7016@4184] (trace): </source>
> 2012-01-23 08:52:21 [7016@4184] (trace): <output>
> 2012-01-23 08:52:21 [7016@4184] (trace): <status event-id="0"
> level="error">Error executing script command for object [unknown]. Event
> discarded.</status>
> 2012-01-23 08:52:21 [7016@4184] (trace): </output>
> 2012-01-23 08:52:21 [7016@4184] (trace): </nds>
> 2012-01-23 08:52:21 [7016@4184] (drv_driver): Driver_sendReply:
> starting
> 2012-01-23 08:52:21 [7016@4184] (drv_connection): Connection_send:
> starting
> 2012-01-23 08:52:21 [7016@4184] (trace): Sending...
> 2012-01-23 08:52:21 [7016@4184] (trace): <nds dtdversion="1.1"
> ndsversion="8.6">
> 2012-01-23 08:52:21 [7016@4184] (trace): <source>
> 2012-01-23 08:52:21 [7016@4184] (trace): <product
> version="3.6.0" build="May 23 2008 10:52:00" />
> 2012-01-23 08:52:21 [7016@4184] (trace): <contact />
> 2012-01-23 08:52:21 [7016@4184] (trace): </source>
> 2012-01-23 08:52:21 [7016@4184] (trace): <output>
> 2012-01-23 08:52:21 [7016@4184] (trace): <status event-id="0"
> level="error">Error executing script command for object [unknown]. Event
> discarded.</status>
> 2012-01-23 08:52:21 [7016@4184] (trace): </output>
> 2012-01-23 08:52:21 [7016@4184] (trace): </nds>
> 2012-01-23 08:52:21 [7016@4184] (trace): Document sent.
> 2012-01-23 08:52:21 [7016@4184] (drv_connection): Connection_send:
> ending
> 2012-01-23 08:52:21 [7016@4184] (drv_driver): Driver_sendReply:
> ending
> 2012-01-23 08:52:21 [7016@4184] (drv_driver): Driver_checkShimError:
> starting
> 2012-01-23 08:52:21 [7016@4184] (drv_driver): Driver_checkShimError:
> ending rc = 1
> 2012-01-23 08:52:21 [7016@4184] (drv_driver):
> Driver_unregisterObjectDn: starting
> 2012-01-23 08:52:21 [7016@4184] (drv_driver):
> Driver_unregisterObjectDn: ending
> 2012-01-23 08:52:21 [7016@4184] (drv_connection):
> Connection_receiveBytesWithCommand: starting
> 2012-01-23 08:52:21 [7016@4184] (drv_connection):
> Connection_waitForDocument: starting
> 2012-01-23 08:52:21 [7016@4392] (trace): Received.
> 2012-01-23 08:52:21 [7016@4392] (trace): <nds ndsversion="8.x"
> dtdversion="3.5">
> 2012-01-23 08:52:21 [7016@4392] (trace): <source>
> 2012-01-23 08:52:21 [7016@4392] (trace): <product
> version="3.6.10.4747">DirXML</product>
> 2012-01-23 08:52:21 [7016@4392] (trace): <contact>Novell,
> Inc.</contact>
> 2012-01-23 08:52:21 [7016@4392] (trace): </source>
> 2012-01-23 08:52:21 [7016@4392] (trace): <input>
> 2012-01-23 08:52:21 [7016@4392] (trace): <add
> timestamp="1327330343#23" src-entry-id="33737"
> src-dn="\org\org-test\test\genericuserone"
> qualified-src-dn="O=org-test\OU=test\CN=genericuserone"
> event-id="sles11-01#20120123145223#1#1" class-name="User"
> cached-time="20120123145223.982Z">
> 2012-01-23 08:52:21 [7016@4392] (trace): <add-attr
> attr-name="CN">
> 2012-01-23 08:52:21 [7016@4392] (trace): <value
> type="string" timestamp="1327330343#23">genericuserone</value>
> 2012-01-23 08:52:21 [7016@4392] (trace): </add-attr>
> 2012-01-23 08:52:21 [7016@4392] (trace): </add>
> 2012-01-23 08:52:21 [7016@4392] (trace): </input>
> 2012-01-23 08:52:21 [7016@4392] (trace): </nds>
> 2012-01-23 08:52:21 [7016@4392] (trace): Received document for
> subscriber channel
> 2012-01-23 08:52:21 [7016@4392] (drv_connection):
> Connection_queueDocument: starting
> 2012-01-23 08:52:21 [7016@4392] (drv_connection):
> Connection_queueDocument: ending
> 2012-01-23 08:52:21 [7016@4392] (drv_connection):
> Connection_receiveBytes: starting
> 2012-01-23 08:52:21 [7016@4392] (trace): Waiting for receive...
> 2012-01-23 08:52:21 [7016@4184] (drv_connection):
> Connection_receiveBytesWithCommand: ending
> 2012-01-23 08:52:21 [7016@4184] (drv_driver):
> Driver_registerObjectDn: starting
> 2012-01-23 08:52:21 [7016@4184] (drv_driver):
> Driver_registerObjectDn: ending
> 2012-01-23 08:52:21 [7016@4184] (trace): Calling
> SubscriptionShim.execute()
> 2012-01-23 08:52:21 [7016@4184] (trace): --->DriverShim subscriber
> execute()..
> 2012-01-23 08:52:21 [7016@4184] (trace): --->DriverShim subscriber
> dispatch() command = add
> 2012-01-23 08:52:21 [7016@4184] (trace): WindowsScript addHandler
> 2012-01-23 08:52:21 [7016@4184] (trace): WindowsScript addHandler
> creating input document
> 2012-01-23 08:52:21 [7016@4184] (trace): C:\Windows\TEMP\WSD2A66.tmp
> 2012-01-23 08:52:21 [7016@4184] (trace): WindowsScript addHandler
> executing subscriber script
> 2012-01-23 08:52:21 [7016@4184] (trace):
> WindowsScript_executeCommand: Executing command cscript //nologo
> "scripts\Subscriber.wsf" "C:\Windows\TEMP\WSD2A66.tmp"
> "C:\Windows\TEMP\WSD3D81.tmp"
> 2012-01-23 08:52:22 [7016@4184] (trace):
> WindowsScript_executeCommand: command exited with code 1
> 2012-01-23 08:52:22 [7016@4184] (trace): WindowsScript addHandler:
> complete
> 2012-01-23 08:52:22 [7016@4184] (trace): --->DriverShim subscriber
> dispatch() finished
> 2012-01-23 08:52:22 [7016@4184] (trace): SubscriptionShim.execute()
> returned:
> 2012-01-23 08:52:22 [7016@4184] (trace): <nds dtdversion="1.1"
> ndsversion="8.6">
> 2012-01-23 08:52:22 [7016@4184] (trace): <source>
> 2012-01-23 08:52:22 [7016@4184] (trace): <product
> version="3.6.0" build="May 23 2008 10:52:00" />
> 2012-01-23 08:52:22 [7016@4184] (trace): <contact />
> 2012-01-23 08:52:22 [7016@4184] (trace): </source>
> 2012-01-23 08:52:22 [7016@4184] (trace): <output>
> 2012-01-23 08:52:22 [7016@4184] (trace): <status
> event-id="sles11-01#20120123145223#1#1" level="error">Error executing
> script command for object \org\org-test\test\genericuserone. Event
> discarded.</status>
> 2012-01-23 08:52:22 [7016@4184] (trace): </output>
> 2012-01-23 08:52:22 [7016@4184] (trace): </nds>
> 2012-01-23 08:52:22 [7016@4184] (drv_driver): Driver_sendReply:
> starting
> 2012-01-23 08:52:22 [7016@4184] (drv_connection): Connection_send:
> starting
> 2012-01-23 08:52:22 [7016@4184] (trace): Sending...
> 2012-01-23 08:52:22 [7016@4184] (trace): <nds dtdversion="1.1"
> ndsversion="8.6">
> 2012-01-23 08:52:22 [7016@4184] (trace): <source>
> 2012-01-23 08:52:22 [7016@4184] (trace): <product
> version="3.6.0" build="May 23 2008 10:52:00" />
> 2012-01-23 08:52:22 [7016@4184] (trace): <contact />
> 2012-01-23 08:52:22 [7016@4184] (trace): </source>
> 2012-01-23 08:52:22 [7016@4184] (trace): <output>
> 2012-01-23 08:52:22 [7016@4184] (trace): <status
> event-id="sles11-01#20120123145223#1#1" level="error">Error executing
> script command for object \org\org-test\test\genericuserone. Event
> discarded.</status>
> 2012-01-23 08:52:22 [7016@4184] (trace): </output>
> 2012-01-23 08:52:22 [7016@4184] (trace): </nds>
> 2012-01-23 08:52:22 [7016@4184] (trace): Document sent.
> 2012-01-23 08:52:22 [7016@4184] (drv_connection): Connection_send:
> ending
> 2012-01-23 08:52:22 [7016@4184] (drv_driver): Driver_sendReply:
> ending
> 2012-01-23 08:52:22 [7016@4184] (drv_driver): Driver_checkShimError:
> starting
> 2012-01-23 08:52:22 [7016@4184] (drv_driver): Driver_checkShimError:
> ending rc = 1
> 2012-01-23 08:52:22 [7016@4184] (drv_driver):
> Driver_unregisterObjectDn: starting
> 2012-01-23 08:52:22 [7016@4184] (drv_driver):
> Driver_unregisterObjectDn: ending
> 2012-01-23 08:52:22 [7016@4184] (drv_connection):
> Connection_receiveBytesWithCommand: starting
> 2012-01-23 08:52:22 [7016@4184] (drv_connection):
> Connection_waitForDocument: starting
>

Following trace from script-trace.log file
>
> C:\Program Files\Novell\WSDriver\scripts\Subscriber.wsf(7, 2) Microsoft
> VBScript compilation error: Expected statement
>


Anyone have an idea what that error means? It seems like issue with
Subscriber.wsf but not sure what is the issue. Any help would
appreciated.


--
s_novell
------------------------------------------------------------------------
s_novell's Profile: http://forums.novell.com/member.php?userid=17863
View this thread: http://forums.novell.com/showthread.php?t=451213