<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pario TechnoBlob &#187; export</title>
	<atom:link href="http://pario.no/tag/export/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Thu, 02 Feb 2012 13:17:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Export Zimbra account info</title>
		<link>http://pario.no/2008/09/02/export-zimbra-account-info/</link>
		<comments>http://pario.no/2008/09/02/export-zimbra-account-info/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 22:08:13 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://pario.no/?p=452</guid>
		<description><![CDATA[Export userinformation from Zimbra # su - zimbra # zmprov gaa -v&#124;egrep 'cn:&#124;sn:&#124;displayName&#124;givenName&#124;zimbraMailDeliveryAddress&#124;zimbraMailForwardingAddress&#124;zimbraAccountStatus'&#124;grep -v zimbraAdminSavedSearches Output cn: Ola Normann displayName: Ola Normann givenName: Ola sn: Normann zimbraAccountStatus: active zimbraMailDeliveryAddress: ola@example.com zimbraMailForwardingAddress: ola.normann@example.com ...]]></description>
			<content:encoded><![CDATA[<p>Export userinformation from Zimbra</p>
<pre>
# su - zimbra
# zmprov gaa -v|egrep 'cn:|sn:|displayName|givenName|zimbraMailDeliveryAddress|zimbraMailForwardingAddress|zimbraAccountStatus'|grep -v zimbraAdminSavedSearches</pre>
<p><b>Output</b></p>
<pre>
cn: Ola Normann
displayName: Ola Normann
givenName: Ola
sn: Normann
zimbraAccountStatus: active
zimbraMailDeliveryAddress: ola@example.com
zimbraMailForwardingAddress: ola.normann@example.com
...
</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDkvMDIvZXhwb3J0LXppbWJyYS1hY2NvdW50LWluZm8vPHdwdGI%2BRXhwb3J0IFppbWJyYSBhY2NvdW50IGluZm88d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/09/02/export-zimbra-account-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting last name, first name and username from Active Directory using AdFind</title>
		<link>http://pario.no/2008/02/11/exporting-last-name-first-name-and-username-from-active-directory-using-adfind/</link>
		<comments>http://pario.no/2008/02/11/exporting-last-name-first-name-and-username-from-active-directory-using-adfind/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 10:25:48 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[adfind]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[export]]></category>

		<guid isPermaLink="false">http://pario.no/2008/02/11/exporting-last-name-first-name-and-usersname-from-active-directory/</guid>
		<description><![CDATA[AdFind is a Windows command line Active Directory query tool. It is a mixture of ldapsearch, search.vbs, ldp, dsquery, and dsget tools with a ton of other cool features thrown in for good measure. This post describes how I managed to export Last name (surname/sn) First name (givenName) Username (samaccountname) from a Active Directory and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.joeware.net/freetools/tools/adfind/">AdFind</a> is a Windows command line Active Directory query tool. It is a mixture of ldapsearch, search.vbs, ldp, dsquery, and dsget tools with a ton of other cool features thrown in for good measure.</p>
<p>This post describes how I managed to export</p>
<ul>
<li>Last name (surname/sn)</li>
<li>First name (givenName)</li>
<li>Username (samaccountname)</li>
</ul>
<p>from a Active Directory and save the result to a comma separated file (CSV)</p>
<pre>
adfind.exe -b ou=ActiveDirectory,dc=example,dc=com -f "objectClass=user" sn givenName  samaccountname -nodn -adcsv &gt; exported_users.csv</pre>
<p>The result of this command is as follows</p>
<pre>
"Last name","First name","username"</pre>
<p>This is a nicely formatted csv file that makes it easy to work with.</p>
<p><strong>What values are available and can be searched for in a Active Directory?</strong><br />
If you are uncertain on the name of what you are looking for, then this line comes handy</p>
<pre>
adfind.exe -b ou=ActiveDirectory,dc=example,dc=com -s subtree |more</pre>
<p><note><br />
Remember to use the | more at the end of the line because this command lists a lot of Active Directory content.</note><br />
The result of this command can contain some of the following values</p>
<pre>
cn, sb,giveNnAME,  distinguishedname, instanceType, whenCreated, whenChanged, displayName, uSNCreated, memberOf, uSNChanged, department, homeMTA, proxyAddresses, homeMBD, mDBUseDefaults, mailNickName, name, objectGUID, userAccountControl, badPwdCount, codePage, countryCode, homeDirectory, homeDrive, badPasswordTime, lastLogoff, lastLogon, logonHours, pwdLastSet, primaryGroupID, userParameters, profileParh, objectSid, accountExpires, logonCount, sAMAccountname, SamaccountType, showInAddressBook, msNPAllowDialoin, dSCorePropagationData, lastLogonTimestamp, textEncodeORAddress, mail, middleName, msExchaPoliciesExcluded, msExchHomeServerName, msExchALObjectVersion, msExchMailboxSecurityDescriptor, msExchUserAccountControl, msExchMailboxGuid</pre>
<p>The values above are usually assosiated with a useraccount.</p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/www.joeware.net\/freetools\/tools\/adfind\/"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDIvMTEvZXhwb3J0aW5nLWxhc3QtbmFtZS1maXJzdC1uYW1lLWFuZC11c2VybmFtZS1mcm9tLWFjdGl2ZS1kaXJlY3RvcnktdXNpbmctYWRmaW5kLzx3cHRiPkV4cG9ydGluZyBsYXN0IG5hbWUsIGZpcnN0IG5hbWUgYW5kIHVzZXJuYW1lIGZyb20gQWN0aXZlIERpcmVjdG9yeSB1c2luZyBBZEZpbmQ8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/02/11/exporting-last-name-first-name-and-username-from-active-directory-using-adfind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export mysql data to a tab-separated file</title>
		<link>http://pario.no/2007/05/07/export-mysql-data-to-a-tab-separated-file/</link>
		<comments>http://pario.no/2007/05/07/export-mysql-data-to-a-tab-separated-file/#comments</comments>
		<pubDate>Mon, 07 May 2007 10:56:29 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysqldump]]></category>

		<guid isPermaLink="false">http://hhj.no/wordpress/2007/05/07/export-mysql-data-to-a-tab-separated-file/</guid>
		<description><![CDATA[# mysqldump -u root -p --no-create-info -T=/tmp --fields-terminated-by='\t' db tabell]]></description>
			<content:encoded><![CDATA[<pre>
# mysqldump -u root -p --no-create-info -T=/tmp --fields-terminated-by='\t' db tabell</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMDUvMDcvZXhwb3J0LW15c3FsLWRhdGEtdG8tYS10YWItc2VwYXJhdGVkLWZpbGUvPHdwdGI%2BRXhwb3J0IG15c3FsIGRhdGEgdG8gYSB0YWItc2VwYXJhdGVkIGZpbGU8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/05/07/export-mysql-data-to-a-tab-separated-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

