<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>NOVELL FORUMS - eDir: Unix</title>
		<link>http://forums.novell.com/</link>
		<description />
		<language>en</language>
		<lastBuildDate>Tue, 24 Nov 2009 05:03:36 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.novell.com/images/ca_serenity/misc/rss.jpg</url>
			<title>NOVELL FORUMS - eDir: Unix</title>
			<link>http://forums.novell.com/</link>
		</image>
		<item>
			<title>Timestamping and Syncing specific objects using wget</title>
			<link>http://forums.novell.com/novell-product-support-forums/edirectory/edir-unix/393511-timestamping-syncing-specific-objects-using-wget.html</link>
			<pubDate>Sat, 21 Nov 2009 07:18:21 GMT</pubDate>
			<description>I figured out quite a nifty way to timestamp individual objects and then resync them to all replicas instead of needing to run a dsrepair -ot to...</description>
			<content:encoded><![CDATA[<div>I figured out quite a nifty way to timestamp individual objects and then resync them to all replicas instead of needing to run a dsrepair -ot to timestamp.  We can't run any repairs as our DIB has 20 million records in a single partition.<br />
<br />
First you need to login to iMontor and save the session cookies<br />
<br />
wget --no-check-certificate --save-cookies=cookies.txt --keep-session-cookies --post-data=&quot;usr=**EDIRUSERID**&amp;pwd=**EDIRPWD**&quot; <a href="https://**SERVERIP**:8030/_LOGIN_SERVER_RSP_" target="_blank">https://**SERVERIP**:8030/_LOGIN_SERVER_RSP_</a><br />
<br />
This should all be on one line, and you replace the **EDIRUSERID** and **EDIRPWD** with your admin username and password.  And the **SERVERIP** with the IP address.<br />
<br />
IE<br />
<br />
wget --no-check-certificate --save-cookies=cookies.txt --keep-session-cookies --post-data=&quot;usr=admin.admin&amp;pwd=password&quot; <a href="https://192.168.1.1:8030/_LOGIN_SERVER_RSP_" target="_blank">https://192.168.1.1:8030/_LOGIN_SERVER_RSP_</a><br />
<br />
Then you can do a timestamp of a single object ID<br />
<br />
wget --no-check-certificate --load-cookies=cookies.txt &quot;https://**SERVERIP**:8030/nds/operation/data?action=timestampobj&amp;dn=/ID%27=xxxxxxxx&quot;<br />
<br />
And you put in xxxxxxxx the Object ID.<br />
<br />
If you change the &quot;timestampobj&quot; action with &quot;sendobj&quot; that will send the object to all other replicas.<br />
<br />
IE<br />
<br />
wget --no-check-certificate --load-cookies=cookies.txt &quot;https://**SERVERIP**:8030/nds/operation/data?action=timestampobj&amp;dn=/ID%27=00008000&quot;<br />
<br />
or<br />
<br />
wget --no-check-certificate --load-cookies=cookies.txt &quot;https://**SERVERIP**:8030/nds/operation/data?action=sendobj&amp;dn=/ID%27=00008000&quot;<br />
<br />
If you plan to use it in a dos batch file you need to add two %% signs between the ID and the 27</div>

]]></content:encoded>
			<category domain="http://forums.novell.com/novell-product-support-forums/edirectory/edir-unix/">eDir: Unix</category>
			<dc:creator>plambrechtsen</dc:creator>
			<guid isPermaLink="true">http://forums.novell.com/novell-product-support-forums/edirectory/edir-unix/393511-timestamping-syncing-specific-objects-using-wget.html</guid>
		</item>
	</channel>
</rss>
