<?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>gHacks technology news &#187; active directory</title>
	<atom:link href="http://www.ghacks.net/tag/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 03:24:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Manage your Active Directory from Linux with adtool</title>
		<link>http://www.ghacks.net/2009/08/02/manage-your-active-directory-from-linux-with-adtool/</link>
		<comments>http://www.ghacks.net/2009/08/02/manage-your-active-directory-from-linux-with-adtool/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 14:30:28 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[adtool]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[manage active directory from linux]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14980</guid>
		<description><![CDATA[Active Directory is one of those Microsoft tools that so many have no choice but to use. Although I much prefer LDAP because it is so much easier to set up and manage. But for much of the enterprise world Active Directory is the tool used. Does this mean you are locked into managing Active [...]]]></description>
			<content:encoded><![CDATA[<p>Active Directory is one of those Microsoft tools that so many have no choice but to use. Although I much prefer LDAP because it is so much easier to set up and manage. But for much of the enterprise world Active Directory is the tool used. Does this mean you are locked into managing Active Directory from a Windows machine? No. If you are a creature of the command line you can manage your AD from the Linux command line. It&#8217;s not that difficult and, in the end, will give you many more options to keep your AD server managed.</p>
<p>Of course it is not just a matter of working on the Linux end of things. There is one issue to settle on the MS end. You have to activate Secure LDAP on your AD Server. This process goes beyond the scope of this article, but the steps are pretty clear.</p>
<p><span id="more-14980"></span><strong>Enable SLDAP</strong></p>
<p>Here are the steps to enable Secure LDAP on your Windows 2003 AD server (I will leave out the details):</p>
<ol>
<li>Create an Active Directory domain controller certificate request.</li>
<li>Create a Certification Authority.</li>
<li>Sign the certificate request by the Certification Authority.</li>
<li>Export the root certificate Certification Authority.</li>
<li>Import the root certificate Certification Authority onto the Domain Controller.</li>
<li>Import the LDAP Server certificate onto the Domain Controller.</li>
<li>Set up the UMRA (LDAP Client) computer.</li>
<li>Verify Secure LDAPS using SSL.</li>
</ol>
<p><strong>Installing adtool</strong></p>
<p>Fortunately adtool will be found in your distributions&#8217; repositories. So all you have to do is follow these steps:</p>
<ol>
<li>Fire up Synaptic (or whichever Add/Remove Software utility you use).</li>
<li>Do a search for &#8220;adtool&#8221; (no quotes).</li>
<li>Mark the results for installation.</li>
<li>Click Apply to install.</li>
<li>Close Synaptic.</li>
</ol>
<p><strong>Configuring adtool</strong></p>
<p>This is a bit of configuration you need to handle before you can use adtool on your AD server. First create the file (if it doesn&#8217;t exist) <strong>/etc/adtool.cfg </strong>and add the following contents:</p>
<p><code>uri ldaps://YOUR.DOMAIN.HERE<br />
binddn cn=Administrator,cn=Users,dc=domain,dc=tld<br />
bindpw $PASSWORD<br />
searchbase dc=domain,dc=tld</code></p>
<p>Where YOUR.DOMAIN.HERE is the actual address to your Active Directory server.</p>
<p>Where PASSWORD is the password for the AD user that has proper permissions to manage the AD server.</p>
<p>You will also need to make sure the following is in your <strong>/etc/ldap/ldap.conf </strong>file:</p>
<p><code>BASE    dc=YOUR,dc=DOMAIN,dc=HERE<br />
URI     ldaps://YOUR.DOMAIN.HERE<br />
TLS_REQCERT allow</code></p>
<p>Without the above configuration you will not be able to accept the SSL certificates from the server.</p>
<p><strong>Basic usage</strong></p>
<p>The basic usage of the adtool command is simple. Of course you will have to understand Active Directory in order to really understand the usage of this tool. Below I will give you samples of commands to handle the basic tasks for AD. Any information in ALL CAPS would be altered to fit your needs.</p>
<p>Create a new organizational unit:</p>
<p><code>adtool oucreate ORGANIZATION NAME ou=user,dc=DOMAIN,dc=COM</code></p>
<p>Add a user:</p>
<p><code>adtool useradd USER ou=ORGANIZATION ou=user,cd=DOMAIN,dc=COM</code></p>
<p>Set a user password:</p>
<p><code>adtool setpass USER PASSWORD</code></p>
<p>Unlock a user:</p>
<p><code>adtool unlock USER</code></p>
<p>Create a group</p>
<p><code>adtool groupcreate GROUP ou=user,cd=DOMAIN,dc=COM</code></p>
<p>Add a user to a group:</p>
<p><code>adtool groupadd allusers USER</code></p>
<p>Add an email address for the user:</p>
<p><code>adtool attributereplace USER mail EMAIL@ADDRESS</code></p>
<p><strong>Final thoughts</strong></p>
<p>We&#8217;ve only really scratched the surface of this powerful tool. But from this you should be able to see how easy adtool can be as well as how helpful it is.</p>

	Tags: <a href="http://www.ghacks.net/tag/active-directory/" title="active directory" rel="tag">active directory</a>, <a href="http://www.ghacks.net/tag/adtool/" title="adtool" rel="tag">adtool</a>, <a href="http://www.ghacks.net/tag/ldap/" title="LDAP" rel="tag">LDAP</a>, <a href="http://www.ghacks.net/tag/manage-active-directory-from-linux/" title="manage active directory from linux" rel="tag">manage active directory from linux</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/03/05/usb-port-protection/" title="USB Port Protection (March 5, 2009)">USB Port Protection</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/08/02/manage-your-active-directory-from-linux-with-adtool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>USB Port Protection</title>
		<link>http://www.ghacks.net/2009/03/05/usb-port-protection/</link>
		<comments>http://www.ghacks.net/2009/03/05/usb-port-protection/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 16:04:11 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[block usb]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[usb blocker]]></category>
		<category><![CDATA[usb devices]]></category>
		<category><![CDATA[usb port]]></category>
		<category><![CDATA[usb port protection]]></category>
		<category><![CDATA[windows software]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10944</guid>
		<description><![CDATA[System administrators do not only have to make sure that the computer systems that they administrate are protected from online threats: Local attacks are also a common threat that has to be dealt with. One prominent way of gaining access to a local computer system is by connecting external devices to the system. USB ports [...]]]></description>
			<content:encoded><![CDATA[<p>System administrators do not only have to make sure that the computer systems that they administrate are protected from online threats: Local attacks are also a common threat that has to be dealt with. One prominent way of gaining access to a local computer system is by connecting external devices to the system. USB ports have to be protected by the system administrator so that external devices cannot be connected to the system. Some of the dangers are malware threats that could be distributed in a computer network from one entry point or data theft by copying data from the local system to a removable device.</p>
<p><a href="http://www.netwrix.com/usb_blocker_freeware.html">USB Blocker</a> (via <a href="http://techie-buzz.com/utilites/block-usb-ports-with-usb-blocker.html">Techie Buzz</a>) is a software program that can protect USB ports from being accessed unauthorized. One main benefit of USB Blocker is that it relies solely on group policy mechanisms and does not have to be deployed on client computer systems. USB port protection can be achieved with just a few mouse clicks on connected computer systems.</p>
<p>The application is controlled via a small interface that pops up for the first time after installation. A click on the Block USB Devices checkbox enables the options for managed active directory domains and provides the means to exclude computers from being blocked by the USB port protection software. There is also an option to only block devices for specific organizational units in the Active directory.</p>
<p><span id="more-10944"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/03/usb_port_protection.jpg" alt="usb port protection" title="usb port protection" width="465" height="500" class="alignnone size-full wp-image-10947" /></p>
<p>The usb port protection software can only be downloaded after a quick registration (without verification) at the website of the developer. USB Blocker is compatible with most Microsoft operating systems. A commercial version exists as well which extends the functionality of the USB port protection to include additional devices among other things.</p>

	Tags: <a href="http://www.ghacks.net/tag/active-directory/" title="active directory" rel="tag">active directory</a>, <a href="http://www.ghacks.net/tag/block-usb/" title="block usb" rel="tag">block usb</a>, <a href="http://www.ghacks.net/tag/usb/" title="usb" rel="tag">usb</a>, <a href="http://www.ghacks.net/tag/usb-blocker/" title="usb blocker" rel="tag">usb blocker</a>, <a href="http://www.ghacks.net/tag/usb-devices/" title="usb devices" rel="tag">usb devices</a>, <a href="http://www.ghacks.net/tag/usb-port/" title="usb port" rel="tag">usb port</a>, <a href="http://www.ghacks.net/tag/usb-port-protection/" title="usb port protection" rel="tag">usb port protection</a>, <a href="http://www.ghacks.net/tag/windows-software/" title="windows software" rel="tag">windows software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/15/ghacks-christmas-giveaway-usb-safely-remove/" title="Ghacks Christmas Giveaway: USB Safely Remove (December 15, 2008)">Ghacks Christmas Giveaway: USB Safely Remove</a> (34)</li>
	<li><a href="http://www.ghacks.net/2009/03/08/usb-flashdrive-benchmark/" title="USB Flashdrive Benchmark (March 8, 2009)">USB Flashdrive Benchmark</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/08/19/usb-flash-drives-cleaner/" title="USB Flash Drives Cleaner (August 19, 2009)">USB Flash Drives Cleaner</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/04/03/usb-flash-drive-write-protection/" title="USB Flash Drive Write Protection (April 3, 2009)">USB Flash Drive Write Protection</a> (12)</li>
	<li><a href="http://www.ghacks.net/2008/03/21/quickly-remove-usb-devices/" title="Quickly Remove USB Devices (March 21, 2008)">Quickly Remove USB Devices</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/05/usb-port-protection/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
