<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.dirteam.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tomek's DS World</title><link>http://blogs.dirteam.com/blogs/tomek/default.aspx</link><description>Directory services, I&amp;AM and some thoughts about it </description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Where to put SSL certificate for LDAP …</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/06/17/where-to-put-ssl-certificate-for-ldap.aspx</link><pubDate>Wed, 17 Jun 2009 21:06:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4015</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/4015.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=4015</wfw:commentRss><description>&lt;p&gt;Protecting LDAP traffic with SSL is a good idea, especially if in network environment some applications are (ab)using LDAP as authentication protocol. &lt;/p&gt;  &lt;p&gt;Some explanation of abusing word – LDAP never was designed as authentication protocol (like Kerberos is). Its name states it clear “DIRECTORY ACCESS PROTOCOL”. However because it is simple to use and effective it is often used as such. Because it wasn’t designed to be an authentication protocol it lacks features which would protect credentials etc. which might expose authentication data for different threats which are common for every important information sent in a clear text over a network. To say it in simple word – when you are doing simple LDAP bind over non secure connection you are just exposing your credentials to others. For proof see see screenshot from network trace below: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.w2k.pl/img/ssl_ldp_connect.jpg" mce_href="http://www.w2k.pl/img/ssl_ldp_connect.jpg"&gt;&lt;img src="http://www.w2k.pl/img/ssl_ldp_connect_small.jpg" alt="" mce_src="http://www.w2k.pl/img/ssl_ldp_connect_small.jpg"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So I think this screenshot itself should be enough to start to think about securing LDAP traffic with SSL (convincing developers to use different protocol or to enforce SSL connection in an app might be on the other hand tough task).&lt;/p&gt;  &lt;p&gt;Getting back to the topic – good news is that Active Directory infrastructure makes it pretty easy to enable SSL on LDAP protocol. Just give DC proper certificate and it will start to accept LDAP over SSL connections. “Proper” means that it has to meet some criteria, one of them is that its purpose statement should contain&amp;nbsp; &lt;i&gt;Server Authentication (1.3.6.1.5.5.7.3.1)&lt;/i&gt; OID on a list.&lt;/p&gt;  &lt;p&gt;Deploying certificates in environment with Enterprise CA based on Windows Server integrated with AD is also easy – you can take advantage of auto enrollment feature and DCs will request and install certificates on their own. It is also possible to use third party certificates. Procedure for requesting and installing such certificates on DCs in described in &lt;a href="http://support.microsoft.com/kb/321051" mce_href="http://support.microsoft.com/kb/321051"&gt;KB321051&lt;/a&gt;. In both cases (auto enrollment and KB manual procedure) certificate is being installed in &lt;i&gt;Personal&lt;/i&gt; store of local system.&lt;/p&gt;  &lt;p&gt;This store has this disadvantage that it might contain many different certs installed by other services and applications if required. If it will contain many certificates meeting requirements for DC to use this cert to protect LDAP traffic it will just pick one. We don’t have real control which one. &lt;/p&gt;  &lt;p&gt;Since Windows 2008 there is a way to have more control on this behavior and select certificate which will be used to protect LDAP traffic. If certificate will be put in &lt;i&gt;NTDSA\Personal&lt;/i&gt;&amp;nbsp; store instead of default Local system store it will be picked up by directory service in first place and used for LDAP traffic protection. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.w2k.pl/img/ssl_cert_ntdsa.jpg" mce_href="http://www.w2k.pl/img/ssl_cert_ntdsa.jpg"&gt;&lt;img src="http://www.w2k.pl/img/ssl_cert_ntdsa_small.jpg" alt="" mce_src="http://www.w2k.pl/img/ssl_cert_ntdsa_small.jpg"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If there will not be any of certificates in NTDSA\Personal store DC will fall back to old behavior and search for certificate in Local system store&lt;/p&gt;  &lt;p&gt;Looks easy … one problem I have with this solution is that I can’t find a way to use auto enrollment mechanism to enroll certificate for DC and put it directly in NTDSA store. If there is anyone who have idea how to do this … comments are open :). &lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4015" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Directory+services/default.aspx">Directory services</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>OU layout and LDAP queries</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/05/31/ou-layout-and-ldap-queries.aspx</link><pubDate>Sun, 31 May 2009 21:36:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3952</guid><dc:creator>tomek</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3952.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3952</wfw:commentRss><description>&lt;p&gt;From time to time people are asking me questions about AD and related topics. I don’t know why but they think I might now the answer. Sometimes this is not true ;) but I try to do my best (I’ve just &lt;a href="http://www.frickelsoft.net/blog/?p=191" mce_href="http://www.frickelsoft.net/blog/?p=191"&gt;learned today&lt;/a&gt; that there is “Geek network” so probably those persons can answer all the questions I can’t ;) . Some time ago through such “&lt;i&gt;question channel”&lt;/i&gt; I received following question:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;What will be better from LDAP queries performance stand point:&lt;/p&gt;    &lt;ul&gt;     &lt;li&gt;single OU with 20k of objects&lt;/li&gt;      &lt;li&gt;OU tree with 20 OUs and 1k of objects in each.&lt;/li&gt;   &lt;/ul&gt; &lt;/blockquote&gt;  &lt;p&gt;(this is my rough translation from Polish). &lt;/p&gt;  &lt;p&gt;Well, I thought that maybe others might have such dilemma as well so maybe it is good topic for blog entry. &lt;img src="http://www.w2k.pl/img/lab.jpg" alt="" mce_src="http://www.w2k.pl/img/lab.jpg"&gt;&lt;/p&gt;  &lt;p&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en" mce_href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;) &lt;a href="http://www.flickr.com/photos/magicmud/721005650/" mce_href="http://www.flickr.com/photos/magicmud/721005650/"&gt;magic mudpuddle&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;Disclaimer: of course this is based on my knowledge, so maybe somebody with more ESE deep knowledge will have some more input on possible implications ;).&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;So short answer to this question is that OU layout will not matter from LDAP queries performance. Now lets check it a bit.&lt;/p&gt;   &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Let’s run some queries in lab environment.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Lab setup … &lt;/b&gt;&lt;/p&gt;  &lt;p&gt;To perform this test I’ve created two OU structures. Single OU with 20k of users in it and nested OU structure with 20 OUs and 1k of users in each of them.&lt;/p&gt;  &lt;p&gt;&lt;i&gt;Little digression – for pure fun I’ve created first set using admod.exe and second set using Powershell AD cmdlets from Windows 2008 R2. It was almost same experience with preparation of queries from usability standpoint, admod command was bit shorter. PoSH script was about 4 lines. Next time I will gather execution time for comparison.&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;Short exercise which was performed on these data was to execute a query which will lookup single user using samaccount name using ADFIND with following query:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;adfind -b &amp;lt;OU&amp;gt; -s subtree&amp;nbsp; -f "(samaccountname=&amp;lt;nazwa użytkownika&amp;gt;)" -stats+only&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;nbsp;&lt;i&gt;-statst+only&lt;/i&gt; switch was used as I was not really interested in results but only in LDAP query statistics and this is nifty feature of ADFIND that it can show You this information (for SQL guys … it is something like execution plan ;) ). &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Case #1 – search in single OU with 20k of users&lt;/b&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Statistics      &lt;br&gt;=================================       &lt;br&gt;Elapsed Time: 47 (ms)       &lt;br&gt;Returned 1 entries of 1 visited - (100.00%)&lt;/p&gt;    &lt;p&gt;Used Filter:      &lt;br&gt;(sAMAccountName=1038_testusr)&lt;/p&gt;    &lt;p&gt;Used Indices:      &lt;br&gt;idx_sAMAccountName:1:N&lt;/p&gt;    &lt;p&gt;Pages Referenced&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 31      &lt;br&gt;Pages Read From Disk&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1       &lt;br&gt;Pages Pre-read From Disk: 0&lt;/p&gt;    &lt;p&gt;Analysis      &lt;br&gt;---------------------------------       &lt;br&gt;Hit Rate of 100.00% is Efficient&lt;/p&gt;    &lt;p&gt;Indices used:&lt;/p&gt;    &lt;p&gt;Index Name&amp;nbsp; : idx_sAMAccountName      &lt;br&gt;Record Count: 1&amp;nbsp; (estimate)       &lt;br&gt;Index Type&amp;nbsp; : Normal Attribute Index&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;b&gt;Case #2 – search in OU structure with 20 OUs, 1k in each&lt;/b&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Statistics      &lt;br&gt;=================================       &lt;br&gt;Elapsed Time: 0 (ms)       &lt;br&gt;Returned 1 entries of 1 visited - (100.00%)&lt;/p&gt;    &lt;p&gt;Used Filter:      &lt;br&gt;(sAMAccountName=11520_user)&lt;/p&gt;    &lt;p&gt;Used Indices:      &lt;br&gt;idx_sAMAccountName:1:N&lt;/p&gt;    &lt;p&gt;Pages Referenced&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 33      &lt;br&gt;Pages Read From Disk&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0       &lt;br&gt;Pages Pre-read From Disk: 0&lt;/p&gt;    &lt;p&gt;Analysis      &lt;br&gt;---------------------------------       &lt;br&gt;Hit Rate of 100.00% is Efficient&lt;/p&gt;    &lt;p&gt;Indices used:&lt;/p&gt;    &lt;p&gt;Index Name&amp;nbsp; : idx_sAMAccountName      &lt;br&gt;Record Count: 1&amp;nbsp; (estimate)       &lt;br&gt;Index Type&amp;nbsp; : Normal Attribute Index&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;So at first glance both results look similar in terms of efficiency, indexes used etc. In first case however you may notice that query time was much longer – it took 47ms to complete query. But was it related to the fact that this was query performed on single OU with 20k object? No. If you will look at entire statistics data you will spot that in this query case not all data were available in memory cache and one page was read from disk&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Pages Read From Disk&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;When data was cached we can re-run this query and see if results will changee:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Statistics      &lt;br&gt;=================================       &lt;br&gt;Elapsed Time: 0 (ms)       &lt;br&gt;Returned 1 entries of 1 visited - (100.00%)&lt;/p&gt;    &lt;p&gt;Used Filter:      &lt;br&gt;(sAMAccountName=1038_testusr)&lt;/p&gt;    &lt;p&gt;Used Indices:      &lt;br&gt;idx_sAMAccountName:1:N&lt;/p&gt;    &lt;p&gt;Pages Referenced&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 27      &lt;br&gt;Pages Read From Disk&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0       &lt;br&gt;Pages Pre-read From Disk: 0&lt;/p&gt;    &lt;p&gt;Analysis      &lt;br&gt;---------------------------------       &lt;br&gt;Hit Rate of 100.00% is Efficient&lt;/p&gt;    &lt;p&gt;Indices used:&lt;/p&gt;    &lt;p&gt;Index Name&amp;nbsp; : idx_sAMAccountName      &lt;br&gt;Record Count: 1&amp;nbsp; (estimate)       &lt;br&gt;Index Type&amp;nbsp; : Normal Attribute Index&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So as you can see when data were cached in memory results are the same, which also proves that data read from the disk is expensive operation (which was obvious ;) ). &lt;/p&gt;  &lt;p&gt;&lt;i&gt;Just a side note – ability to see number of pages read from the disk is AFAIR introduced in Windows 2008. Thanks to courtesy of joe ADFIND takes advantage of this and shows this information, which might be handy. .&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Conclusions … &lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Of course this was very simple exercise and if we want really test &lt;a href="http://en.wikipedia.org/wiki/Extensible_Storage_Engine" mce_href="http://en.wikipedia.org/wiki/Extensible_Storage_Engine"&gt;ESE database engine&lt;/a&gt; behavior in different scenarios we should run many queries in different setup, using indexes or not. But I doubt that results will show any dependencies as ESE which is under the hood of AD is just database and object hierarchy is just information in this database. &lt;/p&gt;  &lt;p&gt;So if you will consider how your query is constructed in terms of scope and filter, is it efficient or not, is it using indexes it will ensure that it will run efficient on AD without any problems caused by this particular directory logical OU structure. &lt;/p&gt;  &lt;p&gt;So conclusions at this point are:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#444444"&gt;Always analyze your queries in terms of being efficient in terms of scope, filter, indexes etc. Of course if this is one time query maybe you can run it even if it is not the best one you can build, but if this is application or script which will be used more often remember to check its statistics and efficiency.&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;Try to avoid extensive data read from disk, which translated to domain controller world can be expressed as “try to get as much memory as you can to fit your DIT data in your cache”. If your DIT size is getting closer to 3GB time to think about switching to x64 architecture (with W2008R2 it is time to switch anyway).&lt;/font&gt;&amp;nbsp;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;And with this I will end this post as it it much longer than it should on this topic ;).&lt;/p&gt;  &lt;p&gt;&lt;i&gt;PS. If somebody with greater experience has something to add especially in terms of building efficient AD queries etc … comments are here for You :).&lt;/i&gt;&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3952" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Directory+services/default.aspx">Directory services</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>Geneva Beta 2</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/05/31/geneva-beta-2.aspx</link><pubDate>Sun, 31 May 2009 17:08:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3950</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3950.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3950</wfw:commentRss><description>&lt;p&gt;A bit late news but during TechEd which took place some time ago a new release, Beta 2 of Geneva family was announced. For those who are not familiar with Geneva it is code name for new family of products around federation and identity management.&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.w2k.pl/img/geneva.jpg" alt="" mce_src="http://www.w2k.pl/img/geneva.jpg"&gt;     &lt;br&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en" mce_href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;) &lt;a href="http://www.flickr.com/photos/loops/303021916/in/set-72157594386913260/" mce_href="http://www.flickr.com/photos/loops/303021916/in/set-72157594386913260/"&gt;loops&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Geneva product family id build from three components (in very simple words):&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#444444"&gt;Geneva Framework, which gives developer easy to use in .NET framework which will help them develop claims aware applications which may work with STS and CardSpace. Geneva Framework will make development of “&lt;i&gt;identity aware&lt;/i&gt;” applications easier.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;Geneva Server, which delivers next version of federation services on Windows Server platform. Geneva Server also delivers&amp;nbsp; &lt;i&gt;Security Token Service &lt;/i&gt;(STS) which can issue claims based on different data source (AD, AD LDS, SQL as a source is built into this beta). Geneva Server will also support federation between corporation world and cloud services.&lt;/font&gt;&amp;nbsp; &lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;Geneva CardSpace, which is new version of CardSpace client included in Windows as a client component. This version includes UI improvements and supports Geneva product line. More on this topic can be found in video posted on &lt;a href="http://blogs.msdn.com/vbertocci/archive/2009/05/07/the-id-element-weekly-ruchi-bhargava-on-windows-cardspace-geneva.aspx" mce_href="http://blogs.msdn.com/vbertocci/archive/2009/05/07/the-id-element-weekly-ruchi-bhargava-on-windows-cardspace-geneva.aspx"&gt;ID Element&lt;/a&gt;. &lt;/font&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Geneva solutions can be downloaded through &lt;a href="http://msdn.microsoft.com/en-us/evalcenter/dd440951.aspx" mce_href="http://msdn.microsoft.com/en-us/evalcenter/dd440951.aspx"&gt;MSDN pages&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;With Geneva Beta 2 release some additional materials was published which allows knowledge about Geneva to be expanded a bit. Those materials are:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=c3e315fa-94e2-4028-99cb-904369f177c0" mce_href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=c3e315fa-94e2-4028-99cb-904369f177c0"&gt;Identity Developer Training Kit&lt;/a&gt;, which is self study material for developers how to enable applications with claims and how to work with Geneva. More about IDT can be found on &lt;a href="http://blogs.msdn.com/vbertocci/archive/2009/05/15/more-details-about-the-identity-developer-training-kit.aspx" mce_href="http://blogs.msdn.com/vbertocci/archive/2009/05/15/more-details-about-the-identity-developer-training-kit.aspx"&gt;Vittorio’s blog&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=57602615-e1ee-4775-8b79-367b7007e178#tm" mce_href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=57602615-e1ee-4775-8b79-367b7007e178#tm"&gt;Complete set of VMS and step by step lab materials&lt;/a&gt; which allows quick start to play with Geneva in few&amp;nbsp; common scenarios. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=9eb1f3c7-84da-40eb-b9aa-44724c98e026#tm" mce_href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=9eb1f3c7-84da-40eb-b9aa-44724c98e026#tm"&gt;Geneva Interop Whitepapers&lt;/a&gt;, describing interoperability configuration between Geneva and Sun and Novell solutions. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;To make this list complete&amp;nbsp; &lt;a href="http://channel9.msdn.com/identity/" mce_href="http://channel9.msdn.com/identity/"&gt;ID Element&lt;/a&gt; released few new video materials related to Geneva and &lt;a href="http://blogs.msdn.com/vbertocci/archive/2009/05/11/geneva-beta-2-week-on-the-id-element-show.aspx" mce_href="http://blogs.msdn.com/vbertocci/archive/2009/05/11/geneva-beta-2-week-on-the-id-element-show.aspx"&gt;its new release&lt;/a&gt;.&amp;nbsp; A lot of information for those who want to gain some new knowledge. &lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3950" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/ADFS/default.aspx">ADFS</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Downloads+info/default.aspx">Downloads info</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/CardSpace/default.aspx">CardSpace</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Geneva/default.aspx">Geneva</category></item><item><title>Well … real men don’t mind son as well</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/05/12/well-real-men-don-t-mind-son-as-well.aspx</link><pubDate>Tue, 12 May 2009 21:33:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3915</guid><dc:creator>tomek</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3915.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3915</wfw:commentRss><description>&lt;p&gt;Sander wrote few days ago that “&lt;a href="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2009/05/06/real-men-have-daughters.aspx" mce_href="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2009/05/06/real-men-have-daughters.aspx"&gt;Real man have a daughters&lt;/a&gt;”. I even don’t know what &lt;i&gt;real man&lt;/i&gt; definition is but I would say that if I fit into this definition I don’t mind to have son and I’m really happy and proud that our family has new member. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;img src="http://www.w2k.pl/img/wojtek4.jpg" mce_src="http://www.w2k.pl/img/wojtek4.jpg" width="640" height="425"&gt;&lt;img src="http://blogs.dirteam.com/controlpanel/blogs/http;//www.w2k.pl/img/wojtek4.jpg" mce_src="http://blogs.dirteam.com/controlpanel/blogs/http;//www.w2k.pl/img/wojtek4.jpg"&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Wojtek&lt;/b&gt; was born on 6’th of May and this also was beautiful day to be born :). &lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3915" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Personal/default.aspx">Personal</category></item><item><title>Today is Sunday (still) so new download info arrives</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/04/26/today-is-sunday-still-so-new-download-info-arrives.aspx</link><pubDate>Sun, 26 Apr 2009 21:07:57 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3872</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3872.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3872</wfw:commentRss><description>&lt;p&gt;Sunday evening is a good time (after busy day and week) to scan through feeds and other things in my news inbox. I found two things which I want to share with you.&lt;/p&gt;  &lt;p&gt;&lt;img alt="" align="center" src="http://www.w2k.pl/img/info.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;) &lt;a href="http://www.flickr.com/photos/bobafred/10758756/"&gt;bobafred&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;First is a new version of &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=CEBF3C7C-7CA5-408F-88B7-F9C79B7306C0&amp;amp;displaylang=en"&gt;Microsoft Product Support Reports&lt;/a&gt;. If you’ve worked with PSS there is good chance that you are familiar with those tools. If not – well MPS is just a bunch of scripts which gathers diagnostic information on a given machine. What is nice about it, is that they can gather this information in a context of given service. What is important for AD troubleshooting might not be so important for SQL. Worth to check and keep in toolbox. &lt;/p&gt;  &lt;p&gt;Second link is long awaited “&lt;a href="http://technet.microsoft.com/en-us/library/dd728034.aspx"&gt;Active Directory Domain Services in the Perimeter Network (Windows Server 2008)”&lt;/a&gt;, which simply can be described as document which explains how to deploy RODC in perimeter network. It enhances concepts from &lt;a href="http://technet.microsoft.com/en-us/library/cc771744.aspx"&gt;RODC deployment guide&lt;/a&gt; published some time ago with perimeter network deployments. Have a fun.&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3872" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Directory+services/default.aspx">Directory services</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Downloads+info/default.aspx">Downloads info</category></item><item><title>NYT wrote “about me”</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/04/26/nyt-wrote-about-me.aspx</link><pubDate>Sun, 26 Apr 2009 20:47:51 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3871</guid><dc:creator>tomek</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3871.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3871</wfw:commentRss><description>&lt;p&gt;Huh, I wish to know how many of readers really thought that NYT had used some of its Internet space to write about my little person. I’m not that famous .. yet ;). So if this is not really about “Tomek” what it is about? &lt;/p&gt;  &lt;p&gt;How many of You know persons who are committing their time to help others on various forums \ web pages \newsgroups?&amp;#160; &lt;em&gt;I have to admit that I’m one of such persons on my own and as it is harder and harder to find time for such activities I still can’t find a strength to remove this position from my daily activities ;)&lt;/em&gt;. Probably You know many as DirTeam.org origins from MVP community so probably you are familiar with MVPs.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://www.w2k.pl/img/helpwanted.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;)&amp;#160; &lt;a href="http://www.flickr.com/photos/7-how-7/1678890564/"&gt;7-how-7&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.nytimes.com/"&gt;NYT&lt;/a&gt; wrote about such persons in a bit &lt;a href="http://www.nytimes.com/2009/04/26/business/26unbox.html?_r=3"&gt;more commercial context&lt;/a&gt;, how big companies are starting to see value in such communities and are trying to boost existing or build a new one around their products \ companies. It might seems obvious that they can benefit from such move, but I observer that more and more companies are following this trend. &lt;/p&gt;  &lt;p&gt;So it is no surprise that Sean (Big Hello ;) , man who had run MVP program at Microsoft for long time is &lt;a href="http://www.antseyeview.com/"&gt;working in this space on his own&lt;/a&gt; (Good luck). &lt;/p&gt;  &lt;p&gt;I enjoyed to read it so maybe you will enjoy it as well. &lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3871" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Personal/default.aspx">Personal</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Fun+and+others+_2E002E002E00_/default.aspx">Fun and others ...</category></item><item><title>We are chasing time … or time is chasing us</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/04/24/we-are-chasing-time-or-time-is-chasing-us.aspx</link><pubDate>Fri, 24 Apr 2009 21:31:46 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3866</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3866.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3866</wfw:commentRss><description>&lt;p&gt;“&lt;em&gt;Virtualization is a bless&lt;/em&gt;” &lt;a href="http://blogs.dirteam.com/blogs/tomek/archive/2009/03/19/who-needs-another-dc.aspx"&gt;I wrote not so long ago&lt;/a&gt; (or lets just say that close to that – maybe different wording) and I didn’t thought that I will get back to virtualization topic so quickly. This time it was triggered by article wrote by one of Polish sys admins who had a rather &lt;a href="http://www.techit.pl/MoimZdaniem/View.aspx?3853.o+czasie+w+esxi+slow+kilka"&gt;non pleasant adventure&lt;/a&gt; (link if for those of You who can read Polish) with DCs and virtualization. After rebooting his VMWare ESX server with DC (playing also a role of PDC Emulator and time source) caused by some patches being applied to ESX he found out that time on his DC was set back to 1970-01-01 (what a pretty date … isn’t it :). This is short version of his adventure as I assume that most readers on this blog are not very skilled in Polish ;) . &lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://www.w2k.pl/img/vmtime.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;) &lt;a href="http://www.flickr.com/photos/badboy69/2333409688/"&gt;badboy69&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Problems with time synchronization in virtualized environments are well known and are not limited to single virtualization provider. That is a tradeoff of using it … but better know what we are dealing with.&lt;/p&gt;  &lt;p&gt;Time as we know is playing important role in AD infrastructure. Most of us will recognize time as important factor in Kerberos authentication process. But unexpected and uncontrolled time drifts might have some other, not necessary desired consequences. &lt;/p&gt;  &lt;p&gt;So we have our DCs virtualized and everything works fine … until one day … surprise … like in example I mentioned earlier our time drifts back to some date like 1970-01-01. Or it might drift into the future to lets say 2011 ?&amp;#160;&amp;#160; Do we really know what will happen or do we have a plan what to do? &lt;/p&gt;  &lt;p&gt;&lt;em&gt;It just came to my mind that this is another topic which probably should find its place in companies DR and BCP plans related to AD. But this is just a side note&lt;/em&gt;. &lt;/p&gt;  &lt;p&gt;For example when time will drift ahead into a future, further than tombstone lifetime what consequences it will have:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;tombstones will get removed&lt;/li&gt;    &lt;li&gt;all existing backups will be invalidated.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Let’s just hope that this won’t happen when important OU will get deleted and we were just about to go through recovery process. &lt;/p&gt;  &lt;p&gt;So is DC virtualization that BAD!!! Are we really against IT!!!? &lt;/p&gt;  &lt;p&gt;If You will ask me I would say – YES, go for it and virtualize your DCs but do this with prober planning and knowledge. Get to know what are the pros and drawbacks, things specific to virtualized environment and possible consequences and plan for it. There is plenty information about this topic so just use it.&lt;/p&gt;  &lt;p&gt;First off all I want to point You to recommendation (and this is recommendation not hard requirement, but it is really worth to consider) from &lt;a href="http://technet.microsoft.com/en-us/library/dd348476.aspx"&gt;Technet documentation&lt;/a&gt;:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;You should retain one or two physical domain controllers per domain in your Active Directory infrastructure. An issue that is specific to virtualization software or the hardware on which it runs can interrupt services on every domain controller in the domain, or even in the forest. If possible, diversify the hardware that you use to host domain controllers so that a single hardware issue cannot interrupt your Active Directory services.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;My personal opinion is that this should be considered as really vital recommendation and if it is possible one should stick to it. Of course if we have such physical machine acting as DC (getting back to our main topic – TIME) we can think about making it an authoritative time source in our domain infrastructure. Why not … if we have it anyway.&lt;/p&gt;  &lt;p&gt;But if we want to go and put all of our DCs on virtualized hosts it is worth to read some documents and plan time synchronization in align with these information. In particular if we are talking about VMWare environments it is worth to read: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#444444"&gt;&lt;a href="http://support.microsoft.com/kb/953797"&gt;KB 953797 “Time Synchronization issue in Windows Server 2003 systems running as VMware Guests”&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.vmware.com/pdf/vmware_timekeeping.pdf"&gt;Timekeeping in VMware Virtual Machines&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;What I can recommend is that such important AD infrastructure element as time synchronization should not be carried out and handled by a guest OS which synchronizes its time with virtualization host (as well we should not relay on routers or other pieces of network infrastructure). If host-to-guest time synchronization is enabled for a DC OS we should disable this option (and this is also recommended in VMWare document mentioned above). In regards to VMWare documentation – they are not consequent in their recommendations as in other document&amp;#160; (&lt;a href="http://kb.vmware.com/selfservice/viewContent.do?language=en_US&amp;amp;externalId=1318"&gt;VMware Time Sync and Windows Time Service&lt;/a&gt;) enabling host-to-guest time synchronization is recommended to be enabled.&lt;/p&gt;  &lt;p&gt;But if we really want to give a go to virtualization and virtualize our DCs one of things which should be taken care of in service design document is time synchronization.&lt;/p&gt;  &lt;p&gt;If this is an option time should be synchronized with external, trusted sources and it should not rely as NTP server or device which will synchronize it with some atomic clock.&amp;#160; I’m not real VMware expert, but even in such environment NTP server can be enabled on ESX server and used to synchronize time among virtual hosts … so we can use it also for quests. This will be much better option then just relaying on a server hardware and virtualization layer. &lt;/p&gt;  &lt;p&gt;So to get to the point of this already too long post … keeping to current trends and using virtualization for our DCs can give us some benefit. To not ruin those benefits with unexpected outages it is better to do some planning upfront and be sure that our infrastructure is resilient for incidents like clock reset on single host. With little planning this can be avoided. Lets just try to remember that hypervisors are just another piece of software (nice one but still) and as such it might have a problems&amp;#160; … .&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;P.S #1 &lt;/strong&gt;If we are on virtualization topic – just a friendly reminder – using snapshot as backup method is EVIL ;)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;P.S. #2&lt;/strong&gt; Jorge has &lt;a href="http://blogs.dirteam.com/blogs/jorge/archive/2009/04/17/virtualizing-domain-controllers.aspx"&gt;put together&lt;/a&gt; links to few documents which touches DC and virtualization topic. Worth checking.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;P.S. #3&lt;/strong&gt; It is a long one …. sorry ;)&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3866" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Directory+services/default.aspx">Directory services</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>Default Account Operators permissions on DC object</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/04/23/domy-lne-uprawnienia-account-operators-na-obiekcie-kontrolera-domeny.aspx</link><pubDate>Thu, 23 Apr 2009 20:40:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3862</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3862.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3862</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://blogs.technet.com/activedirectoryua/" mce_href="http://blogs.technet.com/activedirectoryua/"&gt;Active Directory Documentation Team&lt;/a&gt; has put on the web &lt;a href="http://blogs.technet.com/activedirectoryua/archive/2009/04/22/account-operators-group-and-ad-computer-accounts.aspx" mce_href="http://blogs.technet.com/activedirectoryua/archive/2009/04/22/account-operators-group-and-ad-computer-accounts.aspx"&gt;interesting post&lt;/a&gt; about default permissions of Account Operators (AO) group which might be present on DC object as a result of ACLs placed earlier on computer object.&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.w2k.pl/img/permall.jpg" mce_src="http://www.w2k.pl/img/permall.jpg" width="375" height="500"&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en" mce_href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;) &lt;a href="http://www.flickr.com/photos/ph0t0s/87969764/" mce_href="http://www.flickr.com/photos/ph0t0s/87969764/"&gt;ph0t0 {loves you too}&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;In short words:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#444444"&gt;AO are being granted permissions to manage many objects in a domain, among others also computer objects&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;By default AO are being granted with &lt;i&gt;Full control&lt;/i&gt; permissions on computer object.&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;If such computer will be promoted later to DC role these permissions last on this object&lt;/font&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;font color="#444444"&gt;Effectively giving AO &lt;i&gt;Full control&lt;/i&gt; right on this object. &lt;/font&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;It applies to objects created in Windows 2003 and Windows 2008 R2 based directories&lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;It doesn’t apply to directory created from the scratch with Windows 2008 &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;Remedy is simple:&lt;/font&gt;&amp;nbsp; &lt;ul&gt;       &lt;li&gt;&lt;font color="#444444"&gt;Just edit object’s ACLs and correct AO permissions to meet your organization standards.&lt;/font&gt;&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;In general I don’t like to repeat other posts but I thought that this one is interesting.&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3862" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Directory+services/default.aspx">Directory services</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>Air, fire, water, earth … identity</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/04/20/air-fire-water-earth-identity.aspx</link><pubDate>Mon, 20 Apr 2009 19:40:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3848</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3848.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3848</wfw:commentRss><description>&lt;p&gt;People used to believe in &lt;a href="http://en.wikipedia.org/wiki/Classical_element" mce_href="http://en.wikipedia.org/wiki/Classical_element"&gt;four elements&lt;/a&gt;, but it showed up that in our times and Internet era there might be one more – Identity element. &lt;a href="http://blogs.msdn.com/donovanf/" mce_href="http://blogs.msdn.com/donovanf/"&gt;Donovan&lt;/a&gt; and &lt;a href="http://blogs.msdn.com/vbertocci/" mce_href="http://blogs.msdn.com/vbertocci/"&gt;Vittorio&lt;/a&gt; started new &lt;a href="http://channel9.msdn.com/shows/identity/" mce_href="http://channel9.msdn.com/shows/identity/"&gt;series of videos on Chanel 9&lt;/a&gt; with this name:&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;a href="http://channel9.msdn.com/shows/identity/" mce_href="http://channel9.msdn.com/shows/identity/"&gt;&lt;img src="http://www.w2k.pl/img/idelement.jpg" mce_src="http://www.w2k.pl/img/idelement.jpg" width="450" height="329"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So far there is only introduction to a series and video interview with Stuart Kwan about Geneva Server but knowing both gentleman it might be pretty good source of information what is going on in Id world from MSFT side. &lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3848" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/General/default.aspx">General</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Identity+Management/default.aspx">Identity Management</category></item><item><title>How to cover un-covered – the case of missing subnet</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/04/08/how-to-cover-un-covered-the-case-of-missing-subnet.aspx</link><pubDate>Wed, 08 Apr 2009 18:36:36 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3801</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3801.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3801</wfw:commentRss><description>&lt;p&gt;Few days ago my colleague at work pointed me out that I had not created a follow-up to my article about &lt;a href="http://blogs.dirteam.com/blogs/tomek/archive/2009/02/15/and-i-will-stick-to-my-site.aspx"&gt;site location&lt;/a&gt; which was requested by some users in comments on my &lt;a href="http://www.w2k.pl"&gt;Polish blog&lt;/a&gt;. When one started this whole blogging thing one has to deal with consequences … time to write something few simples things which will allow to put more control on the process of DC location.&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://www.w2k.pl/img/directoryglsg.jpg" /&gt;     &lt;br /&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;) &lt;a href="http://farm4.static.flickr.com/3092/2537825079_4fcb775206.jpg?v=0"&gt;Martin Deutsch&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Let’s start with some problem statement background. It all started with a thread on Polish Windows User Group portal where discussion was around how client is locating DC and how this process will behave in a little messy environment where not all subnets are reflected in Active Directory objects which are assigned to proper subnet. As some sort of solution a supernet subnet object was created and assigned to hub localization with intent that all workstations in subnets which are not assigned to any site should use hub for authentication. &lt;/p&gt;  &lt;p&gt;As it might look at the first glance that this idea is reasonable it is not and it might cause few problems which were actually touched in my previous post. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Network design …&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;For start we should take a look at network and AD objects configuration. Lets assume that we have in our network three subnets and two sites created in our directory:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Default-First-Site (IP subnet: 192.168.1.0/24), DC –&amp;gt; LHFDC01 &lt;/li&gt;    &lt;li&gt;DMZ (IP subnet: 192.168.2.0/24), DC –&amp;gt; LHFDC02 &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;This left us with third subnet which is 192.168.3.0/24, which is full of workstations (as C class subnet can be :) ) and is not reflected in subnet object at directory level thus it is not configured to use DC from any of our sites. Somebody has missed this detail … it happens. &lt;/p&gt;  &lt;p&gt;So our problem is how we can control domain controller location process for clients working in this 3’rd subnet.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Some reading …&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Just to give us some sort of quick start into this topic I will point everybody to series of great articles created by Jorge on how DC is being located by a workstations:&amp;#160; here are parts &lt;a href="http://blogs.dirteam.com/blogs/jorge/archive/2007/07/01/dc-locator-process-in-w2k-w2k3-r2-and-w2k8-part-1.aspx"&gt;1&lt;/a&gt;, &lt;a href="http://blogs.dirteam.com/blogs/jorge/archive/2007/07/02/dc-locator-process-in-w2k-w2k3-r2-and-w2k8-part-2.aspx"&gt;2&lt;/a&gt; and &lt;a href="http://blogs.dirteam.com/blogs/jorge/archive/2007/07/02/dc-locator-process-in-w2k-w2k3-r2-and-w2k8-part-3.aspx"&gt;3&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;Now with this knowledge we can go to configuration part. Key to be able to control domain controller location process in such situation is to understand what roles DNS is playing in it and how we can use DNS records registration to take a control of it. Each DC by default is registering services DNS records (SRV) of two types (or purposes):&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;domain wide, which allows this DC to be located by every client in a domain &lt;/li&gt;    &lt;li&gt;site specific which purpose is to identify particular DC as serving services in particular site.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Every client will try to determine DC which is closest to him, in particular in its site. However if client is not able to determine such DC or not able to determine its site it will query for all DCs which have registered appropriate SRV records for entire domain and will use it (this is very short description of entire process with some shortcuts :) ). In case of our abandoned subnet client is not able to determine its site (bad Admin, bad) and will query for domain wide SRV records. It will be returned with two DCs:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;LHFDC01&lt;/li&gt;    &lt;li&gt;LHFDC02&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;will pick one and use it. It will work but maybe not exactly as we would want to.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Configuration part … &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Lets try to fix it. Fortunately we are in control of DNS records registration process and we can use it for our purpose. In fact, in our configuration we want to prevent LHFDC02 from registering domain wide records.&lt;/p&gt;  &lt;p&gt;What we can do is to create a new OU and put our branch office DCs there (creating OU is one of way how to achieve this – the goal is to apply GPO on DCs, so it might be site GPO as well). Then we will create new GPO object and assign it to this OU. Within this GPO an option “&lt;em&gt;&lt;strong&gt;DC locator DNS records not registered by the DCs&lt;/strong&gt;&lt;/em&gt;” has to be enabled and populated with following values “&lt;em&gt;&lt;strong&gt;LdapIpAddress Ldap Gc GcIPAddress Kdc Dc DcByGuid Rfc1510Kdc Rfc1510Kpwd Rfc1510UdpKdc Rfc1510UdpKpwd GenericGc&lt;/strong&gt;&lt;/em&gt;”.&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://www.w2k.pl/img/dclocator.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;Now when LHFDC02 will apply this policy and will re-register its DNS records it will register only records specific to its site. For workstation working in 192.168.3.0/24 subnet it will have an effect that when this workstation will query for domain wide DC records it will be returned only with one record – LHFDC01 (In real configuration maybe we want to have more than one DC here) and it will use it. &lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://www.w2k.pl/img/dclocatorclient.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;And in this way we have solved our problem of missing subnets without causing any other problems which are being introduced by this supernet object and overlapped subnets. &lt;/p&gt;  &lt;p&gt;What we can still think about (besides many other aspects) is SYSVOL location process … but this is topic for another post..&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;strong&gt;Little appendix … &lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;In this post I described how we can address problem of clients working in subnets without site being assigned through configuration of DC location process. However in more proactive way one might monitor DC event log and netlogon log to identify workstations which can’t be assigned to any site, analyze this information and put correct site &amp;amp; subnets configuration in place. Even in some automated way … at least when it comes to identification process. Just food for thoughts … :).&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3801" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Directory+services/default.aspx">Directory services</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>Who needs another DC?</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/03/19/who-needs-another-dc.aspx</link><pubDate>Thu, 19 Mar 2009 21:41:08 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3775</guid><dc:creator>tomek</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3775.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3775</wfw:commentRss><description>&lt;p&gt;Active Directory as network service has&amp;#160; (at least IMO) one great advantage (some problems can be pointed as well ) – relative simplicity of building service which will be fault tolerant service. With proper design and maintenance it takes some efforts to break AD as a service. It provides:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;multiple directory replica with multi-master replication&lt;/li&gt;    &lt;li&gt;DC location mechanisms which can be used by client to find other DC in case of single machine failure&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;So question is why some people chooses to resign from it and not deploy at least one additional DC in their environment. &lt;img alt="" src="http://www.w2k.pl/img/disster.jpg" /&gt;    &lt;br /&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;) &lt;a href="http://www.flickr.com/photos/sea-turtle/1593055901/"&gt;sea turtle&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I started to think about it after at least few post on different forums (yes I still &lt;em&gt;waste&lt;/em&gt; my time on helping others :) ) where some people asked about how to proceed with AD disaster recovery in case of DC failure. What was common was that they were planning for&amp;#160; DC failure in environment with ONLY ONE DC. Different approaches were taken, mostly incorporating some virtualization solutions but simplest solution, to add additional DC was often omitted. Why? &lt;/p&gt;  &lt;p&gt;So lets do simple exercise and think how simplest recovery procedure will look like in case we have only single DC(1). Big day comes … &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;our one and only DC fails and we are starting to experiencing problems and outages in our network&lt;/li&gt;    &lt;li&gt;If this isn’t hardware failure or we have similar hardware we are restoring backup or installing OS from the scratch&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;If we don’t have spare hardware we waste some time to find one and install or restore OS&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;We are restoring our directory from backup, going through all necessary procedures and after 2-3 hours we are back in business. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;During those hours:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Our users are experiencing problems with accessing network resources&lt;/li&gt;    &lt;li&gt;If our mail system is integrated with directory we might be cut off from mail system&lt;/li&gt;    &lt;li&gt;If our internet access is based on AD authorization (proxy) even internet newspapers are out of options:&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Minesweeper still is a solution&amp;#160; :)&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;Of course these points are not including that:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;we have to start to deal with failure right away because it is affecting our business&lt;/li&gt;    &lt;li&gt;&amp;lt;&lt;em&gt;put some name or title here&lt;/em&gt;&amp;gt; is standing above our head and is demanding to bring business back on-line&lt;/li&gt;    &lt;li&gt;we are assuming that we are perfectly calm and panic is not something which clouds our action :). &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;font color="#000000"&gt;In best case single DC failure is causing few hours outage for entire organization. If this organization would have additional DC what would it change to this scenario? When one DC will fail:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#000000"&gt;probably nobody will notice it as another DC(s) in the network should take care about handling client requests &lt;/font&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;font color="#000000"&gt;Developers: please don’t hard code DC addresses or names in apps. &lt;/font&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;&lt;font color="#000000"&gt;Responsible administrator has a time to finish his coffee and sandwich and read DR procedures (of course if there is one) to decide which procedure should be applied in this particular case.&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font color="#000000"&gt;Selected DR procedure is applied i environment and everything gets back to normal operations. &lt;/font&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;font color="#000000"&gt;Main difference here is that we don’t have to react to something which disrupts out business but we are dealing only with single infrastructure element failure.&amp;#160; Of course additional advantage is that &amp;lt;&lt;em&gt;put some name or title here&lt;/em&gt;&amp;gt; is not standing behind us all the time (however we should incorporate procedure to inform him in our DR procedure).&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;So .. these things are obvious however what I see, especially from people from small and medium organizations is that simplest approach in this case is often abandoned and some fancy and complex solutions which incorporates virtualization, snapshots etc are considered as a solution. With all clustering for SQL data, load balancing for web apps etc often crucial element which is directory service is being treated &lt;em&gt;lightly&lt;/em&gt;.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;And this might be all but&amp;#160; …&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;… yeah .. VIRTUALIZATION. It is common buzz word of current time for all IT guys. Often I see that virtualization is being abused as some kind of golden solution to every problem. Of course we can use virtualization for DCs, however I don’t see that this is a perfect strategy for DR:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;DC recovery from snapshots is not supported, not recommended and if You want to use it You have to know how to deal with it. &lt;/li&gt;    &lt;li&gt;With single DC, even virtualized we still will experience outages, what might be achieved is that recovery time might be shorter.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;font color="#000000"&gt;So virtualization … yes … but not for all DCs (still keep some DCs for each domain on metal box) and do not treat virtualization as main disaster recovery strategy, especially if you want to relay on snapshots or some similar technology.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;What do You think about it? &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;&lt;em&gt;(1) Of course I’m not pretending to describe entire scenario and this isn’t only scenario which should be covered in our DR plan for DS. I just used this very simplified scenario description as an example.&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font color="#000000"&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3775" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Directory+services/default.aspx">Directory services</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>Reverse engineering attribute flows from server export</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/03/19/reverse-engineering-attribute-flows-from-server-export.aspx</link><pubDate>Thu, 19 Mar 2009 20:54:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3774</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3774.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3774</wfw:commentRss><description>&lt;p&gt;ILM (MIIS) allows management agent configuration to be exported in two ways:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Management Agent export &lt;/li&gt;    &lt;li&gt;Server configuration export.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Both options produces XML files, however in first case one will get single file which will contain only configuration for single MA. In second case series of XML files will be created, one for each MA and &lt;i&gt;MV.XML&lt;/i&gt; file which will contain metaverse configuration.&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.w2k.pl/img/xml.jpg" mce_src="http://www.w2k.pl/img/xml.jpg"&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en" mce_href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;) &lt;a href="http://www.flickr.com/photos/scottpargettphoto/" title="Link to scottpargettphotography's photostream"&gt;&lt;b&gt;scottpargettphotography&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Few days ago I had to recover at customer ILM server one agent to previous configuration to restore some flows (I still would like to see option to disable attribute flow without deleting it). As we wanted to restore some flows without touching current configuration I had to analyze previous configuration and see what have to be restored.&lt;/p&gt;  &lt;p&gt;With Management Agent export file it is relatively easy. It contains section for import and export flows and reviewing it, while not very handy is relatively easy. But in this case MA export was not available, we had only server export.&lt;/p&gt;  &lt;p&gt;This makes this task a bit more tricky because:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;respective XML file for management agent configuration contains only export flow sections defined for given MA&lt;/li&gt;    &lt;li&gt;each MA is identified through GUID identifier&lt;/li&gt;    &lt;li&gt;MV.XML file contains information about all metaverse attributes.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;MV.XML for each metaverse attribute contains section, which identifies all import flows for given attribute (per attribute sections) from all MAs. So to recover information about attribute flows for given MA from server export configuration follow this path:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;identify XML file for your MA, note GUID identifier and analyze all export flows defined in this MA&lt;/li&gt;    &lt;li&gt;open MV.XML, navigate to import attribute… section, for each attribute look for flow defined with Your MA GUID. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Probably if I will have to do again I will write a script to do this :). &lt;/p&gt;  &lt;p&gt;BTW – one thing to remember when dealing with server configuration import. If You are performing this operation and it will fail at any step .. DO IT AGAIN FROM THE BEGINNIGN. If this process will be stopped at some stage it will leave your configuration in some “incomplete” state. Now when I analyzed how it is stored in server configuration files I think I know why … &lt;/p&gt;  &lt;p&gt;… I don’t know if this will be helpful to a lot of people … but I decided to post it in case it will help at least one person ;).&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3774" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/My+day+job/default.aspx">My day job</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Identity+Lifecycle+manager/default.aspx">Identity Lifecycle manager</category></item><item><title>On a display …</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/03/19/on-a-display.aspx</link><pubDate>Thu, 19 Mar 2009 20:34:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3773</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3773.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3773</wfw:commentRss><description>&lt;p&gt;Back in my high school days I used to play in a punk rock band (if we can call it band :) ). A lot of fun and adventures, few local gigs. Everything ended-up when we started our studies on universities. But it is not my punk rock band which put my name on a display … &lt;/p&gt;  &lt;p&gt;Last weekend I was speaking at local community event (&lt;a href="http://c2c.org.pl/" mce_href="http://c2c.org.pl/"&gt;C2C 2009&lt;/a&gt;) in Poland and when I’ve arrived at place first thing which spotted was this:&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;img src="http://www.w2k.pl/img/c2cafisz.jpg" mce_src="http://www.w2k.pl/img/c2cafisz.jpg" width="366" height="495"&gt;&lt;/p&gt;  &lt;p&gt;I had a good laugh when I saw this poster and I couldn’t resist to take a picture with my mobile. At the same time a felt a bit flattered that someone decided to advertise this event with my name :).&lt;/p&gt;  &lt;p&gt;Event itself was great. It was organized only by people from communities who had gathered sponsors and managed to organize event for few hundred of people with 3 separate tracks, 6 sessions each.&lt;/p&gt;  &lt;p&gt;Because Windows 7 and Windows 2008 was covered already I decided to make a little experiment and do a talk abut something which is not widely known which is Identity Lifecycle Manager 2. I don’t think that there is a point to explain ILM2 guts to people who are seeing this product for a first time to I decided to do this as a case study demo, to show what can be done with RC0 without any code being written. Demo Gods decided to make it even more experimental and decided to crash my virtual machine a day before :) … it is their weird sense of humor :).&lt;/p&gt;  &lt;p&gt;Well … I haven’t got any official statistic or results but in overall I have to say that I feel good about how this session went. Not everything went smoothly and few things from demo didn’t work but it was OK Few people was really interested in product and its usage scenarios and we have some discussions afterwards which I think is some success if You are talking about something which was completely unknown to audience (3 from about 60 persons on a session heard about ILM at all).&lt;/p&gt;  &lt;p&gt;Session itself was recorded but as it was in Polish probably it won’t be very useful for You here. &lt;/p&gt;  &lt;p&gt;But bottom line is … if somebody in your area is organizing such event … and you feel you have something interesting to say … don’t hesitate and get displayed :). It is really worth to invest your time to support local tech communities. Best way to get MVP if You want it :).&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3773" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Personal/default.aspx">Personal</category></item><item><title>Me and TEC 2009 - update</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/03/08/me-and-tec-2009-update.aspx</link><pubDate>Sun, 08 Mar 2009 22:16:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3759</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3759.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3759</wfw:commentRss><description>&lt;p&gt;Some time ago I &lt;a href="http://blogs.dirteam.com/blogs/tomek/archive/2008/08/25/speaking.aspx" mce_href="http://blogs.dirteam.com/blogs/tomek/archive/2008/08/25/speaking.aspx"&gt;wrote&lt;/a&gt; that I had been lucky to be selected as a speaker for upcoming &lt;a href="http://tec2009.com/" mce_href="http://tec2009.com/"&gt;TEC 2009&lt;/a&gt; conference. Sometimes one have to change his plans and because of some latest development related to my work I had to cancel my TEC 2009 attendance in Vegas. &lt;/p&gt;  &lt;p&gt;I have to admit that I was waiting to go there and I will really miss all this TEC crowd networking and talking through those days. I know that there will be a lot of good technical content but what even more important face – to face meetings and if You are going there try to get best out of it.&lt;/p&gt;  &lt;p&gt;As Quest had sustained their invitation (Thank You and sorry for this change) I still plan to attend TEC in Berlin this fall and deliver my sessions.&lt;/p&gt;  &lt;p&gt;For all my friends who will make it to Vegas&amp;nbsp; I dedicate this &lt;a href="http://www.wulffmorgenthaler.com/strip.aspx?id=1cba32ca-375e-462a-8e7e-da3d30fbf6ad" mce_href="http://www.wulffmorgenthaler.com/strip.aspx?id=1cba32ca-375e-462a-8e7e-da3d30fbf6ad"&gt;Wulffmorghentaler comic strip&lt;/a&gt; :).&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;img src="http://www.w2k.pl/img/vegaswulf.gif" mce_src="http://www.w2k.pl/img/vegaswulf.gif" width="400" height="138"&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;P.S. If You like this kind of humor &lt;a href="http://www.wulffmorgenthaler.com/" mce_href="http://www.wulffmorgenthaler.com/"&gt;Wulff&lt;/a&gt; just rocks :). &lt;/i&gt;&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3759" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Personal/default.aspx">Personal</category></item><item><title>And you will keep your password updated …</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/03/04/and-you-will-keep-your-password-updated.aspx</link><pubDate>Wed, 04 Mar 2009 21:52:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3756</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tomek/comments/3756.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tomek/commentrss.aspx?PostID=3756</wfw:commentRss><description>&lt;p&gt;Implementing effective password policy was always a hard task. Especially when additional accounts like:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;workstation local administrator account&lt;/li&gt;    &lt;li&gt;services account (look for W2008R2 new features)&lt;/li&gt;    &lt;li&gt;name whatever you want account … &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;comes into equation and you have to make sure that all of them are in compliance with password policy of your company. Not always an easy task.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;img src="http://www.w2k.pl/img/pass.jpg" mce_src="http://www.w2k.pl/img/pass.jpg" width="500" height="375"&gt;&lt;/p&gt;  &lt;p&gt;(&lt;a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en" mce_href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en"&gt;cc&lt;/a&gt;) &lt;a href="http://www.flickr.com/photos/faithtoh/16589147/" mce_href="http://www.flickr.com/photos/faithtoh/16589147/"&gt;F8th&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For domain controllers additional password has to be maintained which is Directory Service Restoration Mode (DSRM) user password. This password is stored locally on each DC and if it has to be changed it has to be changed locally on each DC. So far we had some options like:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#444444"&gt;using setpwd.exe tool which can be used to reset this password. Dean (now MSFT) Wells wrote &lt;a href="http://www.mail-archive.com/activedir@mail.activedir.org/msg31860.html" mce_href="http://www.mail-archive.com/activedir@mail.activedir.org/msg31860.html"&gt;script&lt;/a&gt; which depends on this tool but allows this operation to be performed on every DC in a domain. &lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;using ntdsutil.exe, which to be honest isn’t most handy tool to perform this task.&lt;/font&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Well … it looks like feedback was heard and as result of this feedback we have new &lt;a href="http://support.microsoft.com/kb/961320" mce_href="http://support.microsoft.com/kb/961320"&gt;KB 961320&lt;/a&gt; article which describes new feature self explained by this KB title: “&lt;i&gt;A feature is available for Windows Server 2008 that lets you synchronize the DSRM Administrator password with a domain user account”&lt;/i&gt;.&lt;/p&gt;  &lt;p&gt;I have to admit that my first thought was … great, now we can:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#444444"&gt;Define new account &lt;/font&gt;&amp;nbsp;&lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;Define new password policy object (we are at W2008 so we can leverage FGPP) and bind it to this object&lt;/font&gt;&amp;nbsp;&lt;/li&gt;    &lt;li&gt;&lt;font color="#444444"&gt;Create operational procedure to ensure that password of this account will get changed every X days. &lt;/font&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Sounds nice, DSRM password management problem is solved. But life isn’t perfect. My colleagues who read that article a bit faster than me pointed me to this section:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;This command synchronizes the DSRM Administrator password one time. If you want to perform another synchronization, you must run this command again.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So, our previous implementation plan has to be extended with something like:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#444444"&gt;On each DC create scheduled task which will execute ntdsutil command every X days or execute it remotely on each DC every X days.&lt;/font&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Overall solution looks somewhat better than using script every X days to set this password however it isn’t perfect. I have this impression that development of this feature stopped at some point in time but I’m sure we will get updates to it later (or at least I hope) which will extend its functionality (like reset password when password will be changed on given user object). &lt;/p&gt;  &lt;p&gt;But this feature is there as a hotfix and if You think that your network operations can benefit from it – grab it and use it.&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3756" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Directory+services/default.aspx">Directory services</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Tools+and+scripts/default.aspx">Tools and scripts</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Active+Directory/default.aspx">Active Directory</category></item></channel></rss>