<?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 &#124; Latest Tech News, Software And Tutorials &#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 news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 07:07:56 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Easily connect Linux to a Windows Domain</title><link>http://www.ghacks.net/2010/11/30/easily-connect-linux-to-a-windows-domain/</link> <comments>http://www.ghacks.net/2010/11/30/easily-connect-linux-to-a-windows-domain/#comments</comments> <pubDate>Tue, 30 Nov 2010 20:25:41 +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[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[active directory]]></category> <category><![CDATA[domain]]></category> <category><![CDATA[windows domain]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=37475</guid> <description><![CDATA[The task of joining Linux to a Windows domain can be a challenge. I have covered it before here (see my article &#8220;Join a Ubuntu machine to a Windows domain&#8220;), but many users have had issues with Likewise Open either not being able to join or not being able to reliably remain joined. Naturally, if [...]]]></description> <content:encoded><![CDATA[<p>The task of joining Linux to a Windows domain can be a challenge. I have covered it before here (see my article &#8220;<a
href="http://www.ghacks.net/2010/04/21/join-a-ubuntu-machine-to-a-windows-domain/" target="_blank">Join a Ubuntu machine to a Windows domain</a>&#8220;), but many users have had issues with Likewise Open either not being able to join or not being able to reliably remain joined. Naturally, if you are able to connect successfully with Likewise Open, you should stick with that. But if you are looking for an easier method of joining a domain, I have found a great solution&#8230;<a
title="Centrify Express" href="http://www.centrify.com/express/free-active-directory-tools-for-linux-mac.asp" target="_blank">Centrify Express</a>.</p><p>Centrify Express is free tool offered by the company that makes various Single Sign-On tools, of which only Express is available free and easily for the Linux operating system. Once you have used this tool to join a Windows Domain you will be shocked at how easily it is done.</p><p><span
id="more-37475"></span><strong>Installation</strong></p><p>I am going to illustrate this installation process on a Ubuntu 10.10 machine. If you need to install on a different distribution (or on Windows, or Mac) you will need to sign up for a download. If you do that you will find pre-compiled binaries for:</p><ul><li>Windows</li><li>Mac</li><li>CentOS</li><li>Debian</li><li>Mandriva</li><li>SUSE</li><li>OpenSolaris</li><li>Oracle Enterprise Linux</li><li>Red Hat Enterprise Linux</li><li>Scientific Linux</li></ul><p>But if you are using Ubuntu, you can follow these easy steps:</p><ol><li>Open up the Ubuntu Software Center.</li><li>Search for &#8220;centrify&#8221; (No quotes).</li><li> Click Install.</li><li>Type your sudo password and press Enter.</li><li>Once the installation is finished you can then close out the Ubuntu Software Center.</li></ol><p>Now it&#8217;s time to do just a tiny bit of configuration.</p><p><strong>Configuration</strong></p><p>The only configuration you need to take care of is in the <strong>/etc/nsswitch </strong>file. In that file you will find a line that looks like:<br
/> <code>hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4</code></p><p>Change that file to just read:</p><p><code>hosts:        files dns</code></p><p>Now there is one other configuration you need to take care of BEFORE you join the domain. In the file <strong>/etc/centrifydc/group.ignore </strong>you need to add the group &#8220;admin&#8221; (no quotes) to this list. If you do not do this your sudo users will not longer have sudo privileges. Without sudo privileges your users will not be able to install applications or run anything that needs administrative permissions.</p><p>Once you have configured that file, save  it. You are now ready to join the comain.</p><p><strong>Joining the domain</strong></p><p>You will need the domain admin password for this to be successful. To join the domain do the following:</p><p>Open up a terminal window.</p><p>Issue the command <code>sudo adjoin -w DOMAIN</code> (Where DOMAIN is the domain you want to join).</p><p>Type the Domain admin password and hit Enter.</p><p>It may take some time but you will eventually be joined to the domain. You should now be able to open up Nautilus and explore your network by hostname as if you were using a Windows machine.</p><p>If you find you can not see your network by hostname, you might have to reboot and then log in with your AD credentials.</p><p><strong>Final thoughts</strong></p><p>You now have two methods with which to join a Windows domain. The enterprise pastures, for Linux, are growing greener and greener by the day.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/11/30/easily-connect-linux-to-a-windows-domain/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <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[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[active directory]]></category> <category><![CDATA[LDAP]]></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> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/08/02/manage-your-active-directory-from-linux-with-adtool/feed/</wfw:commentRss> <slash:comments>4</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 Brinkmann</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></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/softwares/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> ]]></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>
