<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Active Directory on John Billekens | Notes from the field</title><link>https://blog.j81.nl/categories/active-directory/</link><description>Recent content in Active Directory on John Billekens | Notes from the field</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 John Billekens</copyright><lastBuildDate>Thu, 28 Oct 2021 15:22:49 +0000</lastBuildDate><atom:link href="https://blog.j81.nl/categories/active-directory/index.xml" rel="self" type="application/rss+xml"/><item><title>Manipulate the 'NameID' SAML content - part 1</title><link>https://blog.j81.nl/posts/manipulate-the-nameid-saml-content-part-1/</link><pubDate>Thu, 28 Oct 2021 15:22:45 +0000</pubDate><guid>https://blog.j81.nl/posts/manipulate-the-nameid-saml-content-part-1/</guid><description>&lt;p&gt;Some companies want to allow other (guest) companies to connect to their environment and for example allow them to open a Citrix Desktop. This can be achieved by Connecting an existing Citrix environment to the guest company via SAML (and yes there are other possibilities). SAML is an authentication method based on a two-way trust. Two Microsoft products that can offer SAML authentication are ADFS (Active Directory Federation Services, an on-premises solution) and the other is and Enterprise App you can configure from the Azure portal. The other requirement is Citrix FAS (Federated Authentication Services). In this article I will show you a way to connect a guest (company) via SAML to allow them access to your Citrix environment without the need for adding the guest companies suffix to your domain. &lt;/p&gt;</description></item><item><title>Manage Native OTP tokens via Windows, Part 2</title><link>https://blog.j81.nl/posts/manage-native-otp-tokens-via-windows-part-2/</link><pubDate>Tue, 20 Apr 2021 19:31:56 +0000</pubDate><guid>https://blog.j81.nl/posts/manage-native-otp-tokens-via-windows-part-2/</guid><description>&lt;p&gt;A couple weeks ago someone asked me if OTP4ADC could also support encrypted tokens. And at that time I hadn&amp;rsquo;t done anything with encrypted tokens on a Citrix ADC. And if you not have heard of the OTP4ADC tool/script you can read my &lt;a href="https://blog.j81.nl/2020/09/29/manage-native-otp-tokens-via-windows/" target="_blank" rel="nofollow noopener" title="Manage Native OTP tokens via Windows"&gt;initial blog article&lt;/a&gt; from when I released the first version and the basics of how it works.&lt;/p&gt;</description></item><item><title>Manage Native OTP tokens via Windows</title><link>https://blog.j81.nl/posts/manage-native-otp-tokens-via-windows/</link><pubDate>Tue, 29 Sep 2020 20:36:32 +0000</pubDate><guid>https://blog.j81.nl/posts/manage-native-otp-tokens-via-windows/</guid><description>&lt;p&gt;Today I want to release an early (beta) version of a new tool I created, &amp;ldquo;OTP4ADC&amp;rdquo; With this tool you can add, remove or change the native OTP tokens used within your Citrix ADC, previously called NetScaler. &lt;/p&gt;</description></item><item><title>Changing Microsoft ADCS from sha1 to sha256</title><link>https://blog.j81.nl/posts/changing-microsoft-adcs-from-sha1-to-sha256/</link><pubDate>Wed, 05 Nov 2014 13:34:14 +0000</pubDate><guid>https://blog.j81.nl/posts/changing-microsoft-adcs-from-sha1-to-sha256/</guid><description>&lt;p&gt;When ADCS uses sha1 for their certificates, you might want to change it to sha254. &lt;em&gt;&lt;strong&gt;NOTE: Make sure all your devices support sha256&lt;/strong&gt;&lt;/em&gt; sha1 &lt;a href="https://blog.j81.nl/wp-content/uploads/2014/11/2014-11-05-13_59_49-sha1-1-1.png" &gt;&lt;img src="//10.250.1.231/wp-content/uploads/2014/11/2014-11-05-13_59_49-sha1.png" class="alignnone size-medium wp-image-228" width="300" height="104" alt="2014-11-05 13_59_49-sha1" /&gt;&lt;/a&gt; sha256 &lt;a href="https://blog.j81.nl/wp-content/uploads/2014/11/2014-11-05-13_59_12-sha256-1-1.png" &gt;&lt;img src="//10.250.1.231/wp-content/uploads/2014/11/2014-11-05-13_59_12-sha256.png" class="alignnone size-medium wp-image-229" width="300" height="108" alt="2014-11-05 13_59_12-sha256" /&gt;&lt;/a&gt; To achieve this enter the following commands in an elivated DOS-box:&lt;/p&gt;</description></item><item><title>Active Directory RecycleBin</title><link>https://blog.j81.nl/posts/active-directory-recyclebin/</link><pubDate>Sun, 23 Feb 2014 08:57:10 +0000</pubDate><guid>https://blog.j81.nl/posts/active-directory-recyclebin/</guid><description>&lt;p&gt;&lt;strong&gt;Requirements:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;At least one Domain Controller running Windows Server 2012 with the Active Directory Administrative Center enabled.&lt;/li&gt;
&lt;li&gt;All Domain Controllers (or servers running AD LDS) must be running Windows Server 2008 R2 or higher.&lt;/li&gt;
&lt;li&gt;The Forest must be running at Windows Server 2008 R2 functional level.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Import the Active Directory modules in PowerShell&lt;/p&gt;</description></item><item><title>AD Defragmentatie (Server 2012)</title><link>https://blog.j81.nl/posts/ad-defragmentatie-server-2012/</link><pubDate>Tue, 14 May 2013 10:16:42 +0000</pubDate><guid>https://blog.j81.nl/posts/ad-defragmentatie-server-2012/</guid><description>&lt;p&gt;Stop de ADDS Service&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ntdsutil
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;activate instance ntds
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;files
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;compact to c:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;copy &amp;#34;c:ntds.dit&amp;#34; &amp;#34;c:WindowsNTDSntds.dit&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;del c:WindowsNTDS*.log&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Start de ADDS Service  &lt;/p&gt;</description></item><item><title>Profile Permissions</title><link>https://blog.j81.nl/posts/profile-permissions/</link><pubDate>Mon, 18 Mar 2013 18:40:37 +0000</pubDate><guid>https://blog.j81.nl/posts/profile-permissions/</guid><description>&lt;p&gt;&lt;strong&gt;NTFS Permissions for Roaming Profile Parent Folder&lt;/strong&gt; User Account    : Minimum Permissions Required Creator Owner    : Full Control, Subfolders and Files Only Administrator    : Full Control (Microsoft actually recommends none but it simplifies things if you give admins full control) Security group of users needing to put data on share    : List Folder/Read Data, Create Folders/Append Data - This Folder Only Everyone    : No permissions Local System    : Full Control, This Folder, Subfolders and Files &lt;strong&gt;Share level (SMB) Permissions for Roaming Profile Share&lt;/strong&gt; User Account    : Minimum Permissions Required Everyone    : No permissions Security group of users needing to put data on share    : Full Control&lt;/p&gt;</description></item><item><title>FSMO</title><link>https://blog.j81.nl/posts/fsmo/</link><pubDate>Sat, 29 Dec 2012 16:35:11 +0000</pubDate><guid>https://blog.j81.nl/posts/fsmo/</guid><description>&lt;p&gt;&lt;strong&gt;How to place FSMO and Global Catalog roles in Active Directory&lt;/strong&gt; During installation of Active Directory on a Windows Server 2000/2003/2008 all FSMO roles will automatically be installed on the first server. But Best Practice dictates to move some of theese Flexible Single Master of Operation (FSMO) roles to seperate servers. If you only have one domain controller (not recommended), there is nothing to do since all roles must be on this server, but if you have multiple servers you should move some of theese roles on to more servers. It is also important to be aware of what servers are Global Catalog servers, especially if you have more than one domain and even if only one domain, they will be prefered by applications like Exchange server. It is recommended to place the forest roles on one Domain Controller (DC) and the domain roles on another server. If not all Domain Controllers are Global Catalog servers, it is also important to place the infrastructure master on a server that is NOT a Global Catalog server. &lt;strong&gt;Recommended Best Practice setup of FSMO roles.&lt;/strong&gt; &lt;em&gt;&lt;strong&gt;Domain Controller #1&lt;/strong&gt;&lt;/em&gt; Place the two forest roles on this server.&lt;/p&gt;</description></item></channel></rss>