<?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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"><channel><title>Idea Excursion &#187; Active Directory</title> <atom:link href="http://www.ideaexcursion.com/category/microsoft/windows/active-directory/feed/" rel="self" type="application/rss+xml" /><link>http://www.ideaexcursion.com</link> <description>Technology Musings</description> <lastBuildDate>Wed, 18 Jan 2012 16:33:17 +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://www.ideaexcursion.com/?pushpress=hub'/> <creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license> <item><title>Synchronize a Virtualized Domain Controller with External Time Servers</title><link>http://www.ideaexcursion.com/2008/08/19/synchronize-a-virtualized-domain-controller-with-external-time-servers/</link> <comments>http://www.ideaexcursion.com/2008/08/19/synchronize-a-virtualized-domain-controller-with-external-time-servers/#comments</comments> <pubDate>Tue, 19 Aug 2008 16:12:22 +0000</pubDate> <dc:creator>Taylor Gerring</dc:creator> <category><![CDATA[Active Directory]]></category> <category><![CDATA[VirtualBox]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[HOWTO]]></category> <category><![CDATA[Software]]></category><guid isPermaLink="false">http://www.ideaexcursion.com/?p=8</guid> <description><![CDATA[Sitting on my couch one night, I noticed that the time on my laptop was about 10 minutes slow compared to every other time source in my house (mobile phone, cable box, etc.)&#8230; Since I&#8217;m running a domain environment, I knew that most of my OS installations would be syncing to the domain controller, so I [...]]]></description> <content:encoded><![CDATA[<p>Sitting on my couch one night, I noticed that the time on my laptop was about 10 minutes slow compared to every other time source in my house (mobile phone, cable box, <abbr title="et cetera">etc.</abbr>)&#8230; Since I&#8217;m running a domain environment, I knew that most of my <abbr title="Operating System">OS</abbr> installations would be syncing to the domain controller, so I was a bit baffled by the prospect that things were not syncing. After a quick <abbr title="Remote Desktop Connection">RDC</abbr> to my <abbr title="Primary Domain Controller">PDC</abbr>, I noticed that it was the culprit of the slowed time. First, a quick Google on how to <a title="Synchronize the Time Server for the Domain Controller with an External Source" href="http://technet.microsoft.com/en-us/library/cc784553.aspx">synchronize with an external time source</a>. With that figured out, time to <a title="NTP Pool Time Servers " href="http://support.ntp.org/bin/view/Servers/NTPPoolServers">pick out a reliable time source</a>. Now let&#8217;s run it:<br /> <span id="more-8"></span></p><div class="wp_syntax"><div class="code"><pre class="none" style="font-family:monospace;">w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL
w32tm /config /update
w32tm /resync</pre></div></div><p>Well that was easy&#8230; Oops, the time just re-sync&#8217;d back. After a little digging, it dawned upon me that by installing <a title="VirtualBox" href="http://www.virtualbox.org/">VirtualBox</a> Guest Additions, VirtualBox was attempting to synchronize the guest <abbr title="Operating System">OS</abbr> time to the host <abbr title="Operating System">OS</abbr>. From the manual:</p><blockquote><p><strong>Time synchronization</strong><br /> With the Guest Additions installed, VirtualBox can ensure that the guest’s system time is better synchronized. This fixes the problem that an operating system normally expects to have 100% of a computer’s time for itself without interference, which is no longer the case when your <abbr title="Virtual Machine">VM</abbr> runs together with your host operating system and possibly other applications on your host. As a result, your guest operating system’s timing will soon be off significantly. The Guest Additions will re-synchronize the time regularly.</p></blockquote><p>Unfortunately, this is causing my time synchronization headaches. The solution for the time being was to re-run the re-sync detailed above, but also adding in this snippet:</p><div class="wp_syntax"><div class="code"><pre class="none" style="font-family:monospace;">w32tm /resync /computer:HOSTCOMPUTERIP</pre></div></div><p>This forced the host computer to synchronize to its time source (the domain controller) and all is well. You can use the above snippet to force other computers to manually update in case of access problems related to time desyncronization. But most computers should start updating almost immediately.</p><p><strong>Update</strong>: After some more digging, I found a way to disable time synchronization from guest to host. Run the following command on your host, replacing &lt;vmname&gt; with the target Virtual Machine:</p><div class="wp_syntax"><div class="code"><pre class="none" style="font-family:monospace;">VBoxManage setextradata &lt;vmname&gt; &quot;VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled&quot; &quot;1&quot;</pre></div></div>]]></content:encoded> <wfw:commentRss>http://www.ideaexcursion.com/2008/08/19/synchronize-a-virtualized-domain-controller-with-external-time-servers/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Query Active Directory from SQL Server 2005</title><link>http://www.ideaexcursion.com/2008/08/15/query-active-directory-from-sql-server-2005/</link> <comments>http://www.ideaexcursion.com/2008/08/15/query-active-directory-from-sql-server-2005/#comments</comments> <pubDate>Fri, 15 Aug 2008 19:50:14 +0000</pubDate> <dc:creator>Taylor Gerring</dc:creator> <category><![CDATA[Active Directory]]></category> <category><![CDATA[SQL Server]]></category> <category><![CDATA[HOWTO]]></category><guid isPermaLink="false">http://www.ideaexcursion.com/?p=3</guid> <description><![CDATA[Some time ago, I needed to sync down a list of AD users to use as a lookup (as opposed to querying LDAP on demand). I found this little gem: How to avoid 1000 rows limitation when querying active directory (AD) from SQL 2005 with using custom code. It works great, especially since I submitted [...]]]></description> <content:encoded><![CDATA[<p>Some time ago, I needed to sync down a list of AD users to use as a lookup (as opposed to querying LDAP on demand). I found this little gem: <a title="How to avoid 1000 rows limitation when querying active directory (AD) from SQL 2005 with using custom code." href="http://blogs.msdn.com/ikovalenko/archive/2007/03/22/how-to-avoid-1000-rows-limitation-when-querying-active-directory-ad-from-sql-2005-with-using-custom-code.aspx">How to avoid 1000 rows limitation when querying active directory (AD) from SQL 2005 with using custom code.</a> It works great, especially since I submitted a bug fix.</p><p>In any case, the process is very simple:<br /> <span id="more-3"></span></p><ol><li>Download and open the MSADHelper2.rar project files</li><li style="text-align: left;">Point Visual Studio at the target server and deploy</li><li style="text-align: left;">Run the installation script provided in the post &#8211; Pay attention though, there&#8217;s some configuration, installation, and test statements in there</li></ol><p>I highly recommend you download and tuck this project away on disk somewhere, even if you don&#8217;t need it yet. It&#8217;s worked flawlessly for me and been a huge help.</p> ]]></content:encoded> <wfw:commentRss>http://www.ideaexcursion.com/2008/08/15/query-active-directory-from-sql-server-2005/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Served from: www.ideaexcursion.com @ 2012-02-07 08:34:06 by W3 Total Cache -->
