Hi I'm trying to use the IDM Scripting driver to create/manage Exchange
2010 mailboxes, I've found the following document that states the
Identity Manager Exchange 2007 Scripts work with Ex2010:

http://developer.novell.com/wiki/ind...e_2007_Scripts
I've followed these instructions but can't get it working.
The problem is that the Scripting driver won't communicate with the
driver shim on the remote AD server. There is already an AD driver
communicating with a remote loader on this server working OK but I guess
I need this driver to talk to the same server too. I've told it to use
different ports than the other driver and tested that these ports are
listening. I think this is related to certificates as during the shim
install I told it to use certificates but I have not configured the
driver to use any certificates as the instructions don't mention this at
all.

The level 3 log from the remote Win server shows:

Code:
--------------------

2010-10-06 16:52:13 [2108@2788] (trace): Waiting for DirXML to connect on 'TCP server socket, port 9090, address localhost, using SSL'...
2010-10-06 16:57:02 [2108@3824] (trace): Unable to establish client connect; make sure certificates match
2010-10-06 16:57:02 [2108@580] (trace): Unable to establish client connect; make sure certificates match
2010-10-06 16:57:02 [2108@4724] (trace): Unable to establish client connect; make sure certificates match

--------------------


The level 3 trace and from the IDM driver is below:

Code:
--------------------

16:56:58 97FB1BA0 Drvrs: Exchange Scripting :Found subscriber mmu-meta\IDM\DriverSet1\Exchange Scripting\Subscriber.
16:56:58 97FB1BA0 Drvrs: Exchange Scripting :Found publisher mmu-meta\IDM\DriverSet1\Exchange Scripting\Publisher.
16:56:58 97FB1BA0 Drvrs: Exchange Scripting :Creating subscriber thread.
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Subscriber thread starting.
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Initializing driver shim.
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Reading XML attribute vnd.nds.stream://MMU-META/mmu-meta/IDM/DriverSet1/Exchange+Scripting#DirXML-ApplicationSchema.
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Reading XML attribute vnd.nds.stream://MMU-META/mmu-meta/IDM/DriverSet1/Exchange+Scripting#DirXML-ConfigManifest.
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Reading driver information from the \MMU-META\mmu-meta\IDM\DriverSet1\Exchange Scripting object.
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Loading Java shim com.novell.nds.dirxml.remote.driver.DriverShimImpl .
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Calling DriverShim.getSchema().
16:56:58 933F5BA0 Drvrs: DirXML Driver <.Exchange Scripting.DriverSet1.IDM.mmu-meta.MMU-META.> requesting password.
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Reading XML attribute vnd.nds.stream://MMU-META/mmu-meta/IDM/DriverSet1/Exchange+Scripting#DirXML-ShimConfigInfo.
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.11.4904">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<init-params src-dn="\MMU-META\mmu-meta\IDM\DriverSet1\Exchange Scripting">
<authentication-info>
<server>REMOTE(hostname=exdc1.xmail.mmu.ac.uk port=9090)exdc1.xmail.mmu.ac.uk</server>
<user>XMAIL\dirxmlsync</user>
<password><!-- content suppressed --></password>
</authentication-info>
<driver-options>
<auto-loopback-detection display-name="Automatic Loopback Detection:">true</auto-loopback-detection>
<script-command display-name="Script Command:">powershell -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\V14\Bin\exshell.psc1"</script-command>
<script-trace-file display-name="Script Trace File:">logs\script-trace.log</script-trace-file>
<ad-base display-name="Base Container in Active Directory:">ou=MMU,dc=XMAIL,dc=MMU,dc=AC,dc=UK</ad-base>
<name-mapping display-name="AD Name Mapping:">LogonNameMap</name-mapping>
<ad-dc display-name="AD Domain Controller:"></ad-dc>
<script-timeout display-name="Script Timeout:">120</script-timeout>
<use-windows-efs display-name="Use Windows EFS:">true</use-windows-efs>
</driver-options>
<subscriber-options>
<subscriber-script display-name="Subscriber Script:">scripts\powershell\Subscriber.ps1</subscriber-script>
<ex-shell-mailbox-mode display-name="Mailbox Placement Mode">default</ex-shell-mailbox-mode>
<ex-shell-mailbox-scope display-name="Mailbox Placement Scope">site</ex-shell-mailbox-scope>
16:56:58 933F5BA0 Drvrs: <ex-shell-mailbox-id display-name="Mailbox Placement Identifier"></ex-shell-mailbox-id>
</subscriber-options>
<publisher-options>
<polling-script display-name="Polling Script:">scripts\powershell\Poll.ps1</polling-script>
<heartbeat-script display-name="Heartbeat Script:">scripts\powershell\Heartbeat.ps1</heartbeat-script>
<pub-polling-interval display-name="Polling Interval (Seconds):">60</pub-polling-interval>
<pub-heartbeat-interval display-name="Heartbeat Interval:">0</pub-heartbeat-interval>
</publisher-options>
</init-params>
</input>
</nds>
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Remote Interface Driver: start getSchema()
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Remote Interface Driver: Opening connection...
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Remote Interface Driver: Connection established...
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Remote Interface Driver: Sending...
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:
<handshake version="1.0">
<password><!-- content suppressed --></password>
</handshake>
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Remote Interface Driver: Document sent.
16:56:58 933A4BA0 Drvrs: Exchange Scripting :Remote Interface Driver: Waiting for receive...
16:56:58 933A4BA0 Drvrs: Exchange Scripting :Remote Interface Driver: Exception in Connection.run(): java.lang.NegativeArraySizeException
java.lang.NegativeArraySizeException
at com.novell.nds.dirxml.remote.ReadAheadInputStream. <init>(ReceiveDocumentHandler.java:493)
at com.novell.nds.dirxml.remote.ReadAheadInputStream. <init>(ReceiveDocumentHandler.java:477)
at com.novell.nds.dirxml.remote.ReceiveDocumentHandle r.parse(ReceiveDocumentHandler.java:225)
at com.novell.nds.dirxml.remote.Connection.receive(Co nnection.java:1120)
at com.novell.nds.dirxml.remote.Connection.run(Connec tion.java:835)
at java.lang.Thread.run(Unknown Source)

16:56:58 933A4BA0 Drvrs: Exchange Scripting :Remote Interface Driver: Closing connection...
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Remote Interface Driver: Closing connection...
16:56:58 933A4BA0 Drvrs: Exchange Scripting :Remote Interface Driver: Connection closed
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Remote Interface Driver: Connection closed
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:Remote Interface Driver: end getSchema()
16:56:58 933F5BA0 Drvrs: Exchange Scripting STriverShim.getSchema() returned:
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:
<nds dtdversion="3.5" ndsversion="8.x">
<output>
<status level="fatal" type="remoteloader">com.novell.nds.dirxml.remote.C onnectionClosedException: No document received</status>
</output>
</nds>
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:
DirXML Log Event -------------------
Driver: \MMU-META\mmu-meta\IDM\DriverSet1\Exchange Scripting
Status: Fatal
Message: com.novell.nds.dirxml.remote.ConnectionClosedExcep tion: No document received
16:56:58 933F5BA0 Drvrs: Exchange Scripting ST:
DirXML Log Event -------------------
Driver: \MMU-META\mmu-meta\IDM\DriverSet1\Exchange Scripting
Status: Warning
Message: Code(-8001) Unable to retrieve application schema.
--------------------


Any assistance would be much appreciated


--
Mike
Manchester Met Uni
------------------------------------------------------------------------
mikepreece's Profile: http://forums.novell.com/member.php?userid=611
View this thread: http://forums.novell.com/showthread.php?t=422730