Hi Forum,
Facing this issue while synchronizing the Expiry date from
OID to eDirectory.Login Time Expiration attribute is mapped to
orclactiveenddate from OID in the driver filter.

Also added a rule in publisher channel for input transformation which
looks like this(Taken from these forums)


<rule>
<conditions>
<and>
<if-op-attr name="Login Expiration Time" op="available"/>
</and>
</conditions>
<actions>
<do-reformat-op-attr name="Login Expiration Time">
<arg-value type="string">
<token-text xml:space="preserve">Convert Time (dest-format="!CTIME",
dest-tz="Asia/Kuwait", src-format="yyyyMMddHHMMSS", src-tz="UTC",
Destination Attribute ("Login Expiration Time") )</token-text>
</arg-value>
</do-reformat-op-attr>
</actions>
</rule>
</policy>

Here is the Level 3 trace from the driver when i tried changing the
expiry date for a user in OID.

<status level="error">Code(-9010) An exception occurred:
java.lang.NumberFormatException: For input string: "20091001000000z"
at java.lang.NumberFormatException.forInputString(Unk nown Source)
at java.lang.Long.parseLong(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at
com.novell.nds.dirxml.engine.event.DSEUtil.validat eNumber(DSEUtil.java:321)
at
com.novell.nds.dirxml.engine.event.DSETime.fromXML (DSETime.java:122)
at
com.novell.nds.dirxml.engine.event.DSEAttributeVal ueFactory.createValue(DSEAttributeValueFactory.jav a:480)
at
com.novell.nds.dirxml.engine.Transformer$AttrValue Key.<init>(Transformer.java:2734)
at
com.novell.nds.dirxml.engine.Transformer$AttrEntry .addValue(Transformer.java:2771)
at
com.novell.nds.dirxml.engine.Transformer.optimizeM odify(Transformer.java:1870)
at
com.novell.nds.dirxml.engine.Publisher.processModi fy(Publisher.java:932)
at
com.novell.nds.dirxml.engine.Publisher.processEven t(Publisher.java:559)
at
com.novell.nds.dirxml.engine.Publisher.processEven ts(Publisher.java:465)
at
com.novell.nds.dirxml.engine.Publisher.execute(Pub lisher.java:178)
at
com.novell.nds.dirxml.driver.ldap.LDAPPublisher.pr ocessChangeLogEntries(LDAPPublisher.java:1248)
at
com.novell.nds.dirxml.driver.ldap.LDAPPublisher.do Poll(LDAPPublisher.java:136)
at
com.novell.nds.dirxml.driver.ldap.LDAPPublicationS him.start(LDAPPublicationShim.java:341)
at com.novell.nds.dirxml.engine.Publisher.run(Publish er.java:315)
at java.lang.Thread.run(Unknown Source)
<application>DirXML</application>

am i missing something?

Regards,

Hamid


--
Hamidafzal
------------------------------------------------------------------------
Hamidafzal's Profile: http://forums.novell.com/member.php?userid=5930
View this thread: http://forums.novell.com/showthread.php?t=385570