Hi,
I have used the LDAPReader as per the example graphLdapReader_Uninett.grf given from CloverETL.
Following is the node code of the graph.
The graph is executed successfully without any errors.But the metadata that gets propagated in the graph is null.
How can I be sure whether clover is connected to my LDAPServer?
.Please can anyone suggest a solution for this as I am in need of this solution critically for my project
:cry:
Following is the node code
<?xml version="1.0" encoding="UTF-8"?>
<Graph author="sxafsdgfsd" created="Mon Mar 03 16:42:44 CET 2008" guiVersion="2.8.0" id="1204560130853" licenseType="Evaluation evaluation" modified="Fri Nov 06 18:53:36 IST 2009" modifiedBy="sxafsdgfsd" name="Testing Simple Copy" revision="1.15">
<Global>
<Metadata id="InOutMetadata" previewAttachmentCharset="ISO-8859-1">
<Record fieldDelimiter=";" name="Employees" previewAttachmentCharset="ISO-8859-1" recordDelimiter="\n" type="delimited">
<Field name="dn" type="string"/>
<Field name="cn" type="string"/>
<Field name="displayName" type="string"/>
<Field name="givenName" type="string"/>
<Field name="mail" type="string"/>
<Field name="o" type="string"/>
<Field name="ou" type="string"/>
<Field name="postalCode" type="string"/>
<Field name="sn" type="string"/>
<Field name="telephoneNumber" type="string"/>
<Field name="uid" type="string"/>
</Record>
</Metadata>
<Property fileURL="workspace.prm" id="GraphParameter0"/>
</Global>
<Phase number="0">
<Node enabled="enabled" guiHeight="25" guiName="BROADCAST" guiWidth="50" guiX="245" guiY="20" id="BROADCAST" type="SIMPLE_COPY"/>
<Node enabled="enabled" guiHeight="25" guiName="INPUT1" guiWidth="50" guiX="20" guiY="20" id="INPUT1" password="hgdhjgf" scope="object" type="LDAP_READER" user="cn=Directory Manager">
<attr name="ldapUrl"><![CDATA[ldap://oreilly.com:389/]]></attr>
<attr name="filter"><![CDATA[uid=3643765,ou=People,o=ct.com,o=cp]]></attr>
<attr name="base"><![CDATA[o=cp]]></attr>
</Node>
<Node append="false" charset="UTF-8" enabled="enabled" fileURL="${DATAOUT_DIR}/ldapReader_Uninet" guiHeight="25" guiName="OUTPUT1" guiWidth="50" guiX="470" guiY="20" id="OUTPUT1" type="DATA_WRITER">
<attr name="DataPolicy"><![CDATA[controlled]]></attr>
</Node>
<Edge fromNode="BROADCAST:0" guiBendpoints="" id="INNEREDGE1" inPort="Port 0 (in)" metadata="InOutMetadata" outPort="Port 0 (out)" toNode="OUTPUT1:0"/>
<Edge fromNode="INPUT1:0" guiBendpoints="" id="INEDGE1" inPort="Port 0 (in)" metadata="InOutMetadata" outPort="Port 0 (out)" toNode="BROADCAST:0"/>
</Phase>
</Graph>
I have used the LDAPReader as per the example graphLdapReader_Uninett.grf given from CloverETL.
Following is the node code of the graph.
The graph is executed successfully without any errors.But the metadata that gets propagated in the graph is null.
How can I be sure whether clover is connected to my LDAPServer?
.Please can anyone suggest a solution for this as I am in need of this solution critically for my project
:cry:
Following is the node code
<?xml version="1.0" encoding="UTF-8"?>
<Graph author="sxafsdgfsd" created="Mon Mar 03 16:42:44 CET 2008" guiVersion="2.8.0" id="1204560130853" licenseType="Evaluation evaluation" modified="Fri Nov 06 18:53:36 IST 2009" modifiedBy="sxafsdgfsd" name="Testing Simple Copy" revision="1.15">
<Global>
<Metadata id="InOutMetadata" previewAttachmentCharset="ISO-8859-1">
<Record fieldDelimiter=";" name="Employees" previewAttachmentCharset="ISO-8859-1" recordDelimiter="\n" type="delimited">
<Field name="dn" type="string"/>
<Field name="cn" type="string"/>
<Field name="displayName" type="string"/>
<Field name="givenName" type="string"/>
<Field name="mail" type="string"/>
<Field name="o" type="string"/>
<Field name="ou" type="string"/>
<Field name="postalCode" type="string"/>
<Field name="sn" type="string"/>
<Field name="telephoneNumber" type="string"/>
<Field name="uid" type="string"/>
</Record>
</Metadata>
<Property fileURL="workspace.prm" id="GraphParameter0"/>
</Global>
<Phase number="0">
<Node enabled="enabled" guiHeight="25" guiName="BROADCAST" guiWidth="50" guiX="245" guiY="20" id="BROADCAST" type="SIMPLE_COPY"/>
<Node enabled="enabled" guiHeight="25" guiName="INPUT1" guiWidth="50" guiX="20" guiY="20" id="INPUT1" password="hgdhjgf" scope="object" type="LDAP_READER" user="cn=Directory Manager">
<attr name="ldapUrl"><![CDATA[ldap://oreilly.com:389/]]></attr>
<attr name="filter"><![CDATA[uid=3643765,ou=People,o=ct.com,o=cp]]></attr>
<attr name="base"><![CDATA[o=cp]]></attr>
</Node>
<Node append="false" charset="UTF-8" enabled="enabled" fileURL="${DATAOUT_DIR}/ldapReader_Uninet" guiHeight="25" guiName="OUTPUT1" guiWidth="50" guiX="470" guiY="20" id="OUTPUT1" type="DATA_WRITER">
<attr name="DataPolicy"><![CDATA[controlled]]></attr>
</Node>
<Edge fromNode="BROADCAST:0" guiBendpoints="" id="INNEREDGE1" inPort="Port 0 (in)" metadata="InOutMetadata" outPort="Port 0 (out)" toNode="OUTPUT1:0"/>
<Edge fromNode="INPUT1:0" guiBendpoints="" id="INEDGE1" inPort="Port 0 (in)" metadata="InOutMetadata" outPort="Port 0 (out)" toNode="BROADCAST:0"/>
</Phase>
</Graph>
-
Hello, try to use scope="subtree" instead of object. -
Hey avackova,
Thanks very much for your solution.
It worked amazingly.. :)
Please sign in to leave a comment.
Comments 2