<?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>CarlStanley.com</title>
	<atom:link href="https://carlstanley.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://carlstanley.com/</link>
	<description>A resource for Network and Systems Admins</description>
	<lastBuildDate>Fri, 28 May 2021 23:44:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>How to: Create a custom attribute in Active Directory</title>
		<link>https://carlstanley.com/how-to-create-a-custom-attribute-in-active-directory/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-create-a-custom-attribute-in-active-directory</link>
					<comments>https://carlstanley.com/how-to-create-a-custom-attribute-in-active-directory/#comments</comments>
		
		<dc:creator><![CDATA[Carl]]></dc:creator>
		<pubDate>Fri, 28 May 2021 23:03:32 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Custom Attribute]]></category>
		<guid isPermaLink="false">https://carlstanley.com/?p=304</guid>

					<description><![CDATA[<p>This article will show you how to create a custom attribute in Active Directory and associate it with the User Class. You must be a Schema Admin to complete these steps. For this example I&#8217;ll show you how to add<span class="ellipsis">&#8230;</span></p>
<div class="read-more"><a href="https://carlstanley.com/how-to-create-a-custom-attribute-in-active-directory/">Read more <span class="screen-reader-text">How to: Create a custom attribute in Active Directory</span><span class="meta-nav"> &#8250;</span></a></div>
<p><!-- end of .read-more --></p>
<p>The post <a href="https://carlstanley.com/how-to-create-a-custom-attribute-in-active-directory/">How to: Create a custom attribute in Active Directory</a> appeared first on <a href="https://carlstanley.com">CarlStanley.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This article will show you how to create a custom attribute in Active Directory and associate it with the User Class.  You must be a Schema Admin to complete these steps. For this example I&#8217;ll show you how to add a Favorite Beer attribute. (Why isn&#8217;t this in there already!)</p>



<p><strong><em>Disclaimer: Editing the AD schema should not be taken lightly. Changes can be irreversible. Do this at your own risk!</em></strong></p>



<span id="more-304"></span>



<h2 class="wp-block-heading">Open the Active Directory Schema</h2>



<p>First, Open the<strong> Schema Management Snap-in</strong>. By default, Microsoft wants to keep you out of the Schema, so you may need to enable it by registering the Schema Management DLL.  To do this, run this command from a command prompt: </p>



<pre class="wp-block-code"><code lang="powershell" class="language-powershell">regsvr32 schmmgmt.dll</code></pre>



<figure class="wp-block-image size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-3.png"><img decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-3.png" alt="" class="wp-image-307" width="370" height="112" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-3.png 739w, https://carlstanley.com/wp-content/uploads/2021/05/image-3-300x91.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-3-100x30.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-3-150x45.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-3-200x61.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-3-450x136.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-3-600x182.png 600w" sizes="(max-width: 370px) 100vw, 370px" /></a></figure>



<p>Next, Open MMC and add a new Snap-In.  You&#8217;ll now see &#8220;<strong>Active Directory Schema</strong>&#8221; in the list. Select it, click <strong>add</strong> and click <strong>OK</strong>.</p>



<figure class="wp-block-image size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-4.png"><img fetchpriority="high" decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-4-1024x720.png" alt="" class="wp-image-309" width="512" height="360" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-4-1024x720.png 1024w, https://carlstanley.com/wp-content/uploads/2021/05/image-4-300x211.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-4-768x540.png 768w, https://carlstanley.com/wp-content/uploads/2021/05/image-4-100x70.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-4-150x105.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-4-200x141.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-4-450x316.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-4-600x422.png 600w, https://carlstanley.com/wp-content/uploads/2021/05/image-4-900x633.png 900w, https://carlstanley.com/wp-content/uploads/2021/05/image-4.png 1374w" sizes="(max-width: 512px) 100vw, 512px" /></a></figure>



<p></p>



<h2 class="wp-block-heading">Create the Custom Attribute</h2>



<p>Expand <strong>Active Directory Schema</strong>, Right click on <strong>Attributes</strong> and click <strong>Create Attribute</strong></p>



<figure class="wp-block-image size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-5.png"><img decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-5.png" alt="Active Directory Custom Attribute" class="wp-image-310" width="326" height="216" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-5.png 651w, https://carlstanley.com/wp-content/uploads/2021/05/image-5-300x199.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-5-100x66.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-5-150x100.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-5-200x133.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-5-450x299.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-5-600x398.png 600w" sizes="(max-width: 326px) 100vw, 326px" /></a></figure>



<p>You will get a warning instructing you of the dangers of modifying the schema. If you are ready to proceed, click <strong>Continue</strong>.</p>



<figure class="wp-block-image size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-7.png"><img loading="lazy" decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-7.png" alt="" class="wp-image-312" width="366" height="159" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-7.png 732w, https://carlstanley.com/wp-content/uploads/2021/05/image-7-300x130.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-7-100x43.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-7-150x65.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-7-200x87.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-7-450x195.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-7-600x261.png 600w" sizes="auto, (max-width: 366px) 100vw, 366px" /></a></figure>



<p>The <strong>Create New Attribute</strong> form will appear. Enter the name of the custom attribute in the <strong>Common Name</strong> field. In my case, it&#8217;s FavoriteBeer. Avoid special characters and spaces.</p>



<p>The <strong>LDAP Display Name </strong>should automatically be created with first letter lowercase. (This follows the camelCase like standard for most of other attributes)  Modify it if needed, but it&#8217;s probably best left alone.</p>



<p>The <strong>Unique X500 Object ID</strong> requires a little extra work. (Why don&#8217;t they just have a &#8220;generate OID&#8221; button).  We have to generate our own unique OID. This OID must be in the correct format and must also contain the correct prefix.  To make this easy, <strong>open up a PowerShell window</strong> and <strong>copy\paste the following commands</strong> (Tip: You can paste the whole block at once):</p>



<pre class="wp-block-code"><code lang="powershell" class="language-powershell"> $Prefix="1.2.840.113556.1.8000.2554"&nbsp;
 $GUID=[System.Guid]::NewGuid().ToString()&nbsp;
 $Parts=@()&nbsp;
 $Parts+=[UInt64]::Parse($guid.SubString(0,4),"AllowHexSpecifier")&nbsp;
 $Parts+=[UInt64]::Parse($guid.SubString(4,4),"AllowHexSpecifier")&nbsp;
 $Parts+=[UInt64]::Parse($guid.SubString(9,4),"AllowHexSpecifier")&nbsp;
 $Parts+=[UInt64]::Parse($guid.SubString(14,4),"AllowHexSpecifier")&nbsp;
 $Parts+=[UInt64]::Parse($guid.SubString(19,4),"AllowHexSpecifier")&nbsp;
 $Parts+=[UInt64]::Parse($guid.SubString(24,6),"AllowHexSpecifier")&nbsp;
 $Parts+=[UInt64]::Parse($guid.SubString(30,6),"AllowHexSpecifier")&nbsp;
 $OID=[String]::Format("{0}.{1}.{2}.{3}.{4}.{5}.{6}.{7}",$prefix,$Parts[0],$Parts[1],$Parts[2],$Parts[3],$Parts[4],$Parts[5],$Parts[6])&nbsp;
 $oid
</code></pre>



<p>Here is an example of what this looks like.  The OID is the highlighted text below.  Copy and paste this in the <strong>X500 Object ID </strong>field. This is example output. <strong>Do not</strong> use the same OID that I got. Run the commands to get your own.</p>



<div class="wp-block-image"><figure class="alignleft size-large"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-9.png"><img loading="lazy" decoding="async" width="1024" height="262" src="https://carlstanley.com/wp-content/uploads/2021/05/image-9-1024x262.png" alt="" class="wp-image-317" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-9-1024x262.png 1024w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-300x77.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-768x197.png 768w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-1536x394.png 1536w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-2048x525.png 2048w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-100x26.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-150x38.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-200x51.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-450x115.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-600x154.png 600w, https://carlstanley.com/wp-content/uploads/2021/05/image-9-900x231.png 900w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure></div>



<p>Feel free to give your new attribute a useful <strong>Description</strong>. </p>



<p>Next is <strong>Syntax</strong>.  This is the data type of your new attribute. Since I need to store names of drinks that may contain letters and numbers, I selected Unicode String for alpha-numeric data. I left the Minimum and Maximum range blank. Here&#8217;s what mine looks like:</p>



<figure class="wp-block-image size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-12.png"><img loading="lazy" decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-12.png" alt="Active Directory Custom Attribute" class="wp-image-322" width="393" height="418" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-12.png 786w, https://carlstanley.com/wp-content/uploads/2021/05/image-12-282x300.png 282w, https://carlstanley.com/wp-content/uploads/2021/05/image-12-768x817.png 768w, https://carlstanley.com/wp-content/uploads/2021/05/image-12-100x106.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-12-150x160.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-12-200x213.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-12-300x319.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-12-450x479.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-12-600x638.png 600w" sizes="auto, (max-width: 393px) 100vw, 393px" /></a><figcaption>Again don&#8217;t use the same OID as me.  Generate your own.</figcaption></figure>



<p>When finished, <strong>double check everything </strong>(Remember this can&#8217;t be undone). Then <strong>click OK</strong>. </p>



<p>You have now created a new Active Directory Custom Attribute. Next step is to bind it to the User Class.</p>



<p></p>



<h2 class="wp-block-heading">Bind the Attribute to the the User Class</h2>



<p>To do this, <strong>Click on Classes</strong>, then find and double click on the <strong>User Class</strong>:</p>



<figure class="wp-block-image size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-13.png"><img loading="lazy" decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-13-1024x497.png" alt="" class="wp-image-326" width="621" height="302" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-13-1024x497.png 1024w, https://carlstanley.com/wp-content/uploads/2021/05/image-13-300x146.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-13-768x372.png 768w, https://carlstanley.com/wp-content/uploads/2021/05/image-13-1536x745.png 1536w, https://carlstanley.com/wp-content/uploads/2021/05/image-13-100x49.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-13-150x73.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-13-200x97.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-13-450x218.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-13-600x291.png 600w, https://carlstanley.com/wp-content/uploads/2021/05/image-13-900x437.png 900w, https://carlstanley.com/wp-content/uploads/2021/05/image-13.png 1668w" sizes="auto, (max-width: 621px) 100vw, 621px" /></a></figure>



<p>Click the <strong>Attributes tab</strong>, then click <strong>Add</strong> and find your new attribute and click <strong>OK</strong>. Your attribute will be added to the Optional attributes.  Click <strong>OK</strong> to save and close the User Class Properties.</p>



<figure class="wp-block-image size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-14.png"><img loading="lazy" decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-14-1024x618.png" alt="Active Directory Custom Attribute" class="wp-image-327" width="768" height="464" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-14-1024x618.png 1024w, https://carlstanley.com/wp-content/uploads/2021/05/image-14-300x181.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-14-768x464.png 768w, https://carlstanley.com/wp-content/uploads/2021/05/image-14-1536x927.png 1536w, https://carlstanley.com/wp-content/uploads/2021/05/image-14-100x60.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-14-150x91.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-14-200x121.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-14-450x272.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-14-600x362.png 600w, https://carlstanley.com/wp-content/uploads/2021/05/image-14-900x543.png 900w, https://carlstanley.com/wp-content/uploads/2021/05/image-14.png 1602w" sizes="auto, (max-width: 768px) 100vw, 768px" /></a></figure>



<p>That&#8217;s it.  You can close the Schema Management snap-in.</p>



<p></p>



<h2 class="wp-block-heading">Test it</h2>



<p>You can now modify this like any other user attribute.  Open Active Directory Users and Computers (with Advanced Features enabled) and go to the Attribute Editor tab.</p>



<figure class="wp-block-image size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-15.png"><img loading="lazy" decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-15-771x1024.png" alt="Active Directory Custom Attribute" class="wp-image-328" width="386" height="512" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-15-771x1024.png 771w, https://carlstanley.com/wp-content/uploads/2021/05/image-15-226x300.png 226w, https://carlstanley.com/wp-content/uploads/2021/05/image-15-768x1020.png 768w, https://carlstanley.com/wp-content/uploads/2021/05/image-15-100x133.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-15-150x199.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-15-200x266.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-15-300x398.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-15-450x598.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-15-600x797.png 600w, https://carlstanley.com/wp-content/uploads/2021/05/image-15.png 848w" sizes="auto, (max-width: 386px) 100vw, 386px" /></a></figure>



<p>You can also query and set this new custom attribute via PowerShell:</p>



<figure class="wp-block-image size-large"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-16.png"><img loading="lazy" decoding="async" width="1024" height="381" src="https://carlstanley.com/wp-content/uploads/2021/05/image-16-1024x381.png" alt="" class="wp-image-329" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-16-1024x381.png 1024w, https://carlstanley.com/wp-content/uploads/2021/05/image-16-300x112.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-16-768x286.png 768w, https://carlstanley.com/wp-content/uploads/2021/05/image-16-1536x571.png 1536w, https://carlstanley.com/wp-content/uploads/2021/05/image-16-100x37.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-16-150x56.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-16-200x74.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-16-450x167.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-16-600x223.png 600w, https://carlstanley.com/wp-content/uploads/2021/05/image-16-900x335.png 900w, https://carlstanley.com/wp-content/uploads/2021/05/image-16.png 1570w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption><em>I should have named this attribute FavoriteDrink</em></figcaption></figure>



<p></p>



<p>-Carl</p>
<p>The post <a href="https://carlstanley.com/how-to-create-a-custom-attribute-in-active-directory/">How to: Create a custom attribute in Active Directory</a> appeared first on <a href="https://carlstanley.com">CarlStanley.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://carlstanley.com/how-to-create-a-custom-attribute-in-active-directory/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to fix: FortiClient Connection Error  -112</title>
		<link>https://carlstanley.com/how-to-fix-forticlient-connection-error-112/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fix-forticlient-connection-error-112</link>
					<comments>https://carlstanley.com/how-to-fix-forticlient-connection-error-112/#respond</comments>
		
		<dc:creator><![CDATA[Carl]]></dc:creator>
		<pubDate>Thu, 27 May 2021 18:16:26 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[FortiClient]]></category>
		<category><![CDATA[FortiGate]]></category>
		<guid isPermaLink="false">https://carlstanley.com/?p=259</guid>

					<description><![CDATA[<p>Problem: Some users trying to connect to VPN using FortiClient receive the error &#8220;Connection Error!&#8221; This error appears with no apparent pattern in OS or FortiClient version. This error on its own is not helpful. For more detail export the<span class="ellipsis">&#8230;</span></p>
<div class="read-more"><a href="https://carlstanley.com/how-to-fix-forticlient-connection-error-112/">Read more <span class="screen-reader-text">How to fix: FortiClient Connection Error  -112</span><span class="meta-nav"> &#8250;</span></a></div>
<p><!-- end of .read-more --></p>
<p>The post <a href="https://carlstanley.com/how-to-fix-forticlient-connection-error-112/">How to fix: FortiClient Connection Error  -112</a> appeared first on <a href="https://carlstanley.com">CarlStanley.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-1.png"><img loading="lazy" decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-1.png" alt="" class="wp-image-262" width="370" height="249" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-1.png 740w, https://carlstanley.com/wp-content/uploads/2021/05/image-1-300x202.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-1-100x67.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-1-150x101.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-1-200x135.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-1-450x303.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-1-600x404.png 600w" sizes="auto, (max-width: 370px) 100vw, 370px" /></a><figcaption>This error is from Big Sur, but a similar message appears on Windows and other MacOS versions.</figcaption></figure></div>



<p><strong><em>Problem:</em></strong> Some users trying to connect to VPN using FortiClient receive the error &#8220;Connection Error!&#8221; This error appears with no apparent pattern in OS or FortiClient version.</p>



<span id="more-259"></span>



<p>This error on its own is not helpful. For more detail export the FortiClient logs and open fortiagent.log:</p>



<p><code>20210524 13:07:34.070 [sslvpn:INFO] unknown:0 try to get cookie for the first time<br>20210524 13:07:35.084 [sslvpn:EROR] unknown:0 no SVPNCOOKIE found<br>20210524 13:07:35.085 [sslvpn:EROR] libsslvpn:587 Failed to login to fortigate : -112<br>20210524 13:07:35.085 [fctgui:EROR] FCTVpnConnection:1704 -112 -<br>20210524 13:07:35.085 [fctgui:INFO] FCTVpnConnection:1760 failure happens so terminate this vpn connection</code></p>



<p>&#8220;Failed to login to fortigate : -112&#8221; was a consistent error on the non-working clients.  I also noted codes -111 and -113 on a couple machines.  Most of my research into this error indicates that it can be resolved by trying different versions of the client.  Try it, it may work for you.  But for me I tried several different versions with no luck. I had to keep digging.</p>



<p>In my case this error is caused by how we used AD to provision VPN. We use nested security groups and gave the parent group VPN access. Normally this is a good practice as it makes management easy but the FortiGate didn&#8217;t like it. The result was that some users worked just fine while others didn&#8217;t. The ones who did work were direct members of the group.</p>



<p><em><strong>How to fix:</strong> </em>You could change your AD group membership and add people directly, but if you have a lot of users that&#8217;s not ideal.  Instead, modify the VPN User Group on the FortiGate so that the nested AD groups are specified directly in the Remote Groups section. You can specify multiple groups.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><a href="https://carlstanley.com/wp-content/uploads/2021/05/image-2.png"><img loading="lazy" decoding="async" src="https://carlstanley.com/wp-content/uploads/2021/05/image-2-1024x650.png" alt="" class="wp-image-263" width="768" height="488" srcset="https://carlstanley.com/wp-content/uploads/2021/05/image-2-1024x650.png 1024w, https://carlstanley.com/wp-content/uploads/2021/05/image-2-300x190.png 300w, https://carlstanley.com/wp-content/uploads/2021/05/image-2-768x487.png 768w, https://carlstanley.com/wp-content/uploads/2021/05/image-2-1536x975.png 1536w, https://carlstanley.com/wp-content/uploads/2021/05/image-2-100x63.png 100w, https://carlstanley.com/wp-content/uploads/2021/05/image-2-150x95.png 150w, https://carlstanley.com/wp-content/uploads/2021/05/image-2-200x127.png 200w, https://carlstanley.com/wp-content/uploads/2021/05/image-2-450x286.png 450w, https://carlstanley.com/wp-content/uploads/2021/05/image-2-600x381.png 600w, https://carlstanley.com/wp-content/uploads/2021/05/image-2-900x571.png 900w, https://carlstanley.com/wp-content/uploads/2021/05/image-2.png 1730w" sizes="auto, (max-width: 768px) 100vw, 768px" /></a><figcaption>Add your nested groups directly to the Remote Groups</figcaption></figure></div>
<p>The post <a href="https://carlstanley.com/how-to-fix-forticlient-connection-error-112/">How to fix: FortiClient Connection Error  -112</a> appeared first on <a href="https://carlstanley.com">CarlStanley.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://carlstanley.com/how-to-fix-forticlient-connection-error-112/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top 10 things all new Simplivity admins must know</title>
		<link>https://carlstanley.com/top-10-things-new-simplivity-admins-must-know/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=top-10-things-new-simplivity-admins-must-know</link>
					<comments>https://carlstanley.com/top-10-things-new-simplivity-admins-must-know/#comments</comments>
		
		<dc:creator><![CDATA[Carl]]></dc:creator>
		<pubDate>Sat, 14 Mar 2015 20:01:21 +0000</pubDate>
				<category><![CDATA[DataCenter News]]></category>
		<category><![CDATA[Simplivity]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">http://carlstanley.com/?p=47</guid>

					<description><![CDATA[<p>First off, PLEASE don&#8217;t take these as a negative view toward the product. That is not the intent here.  These are simply some things I have learned that I feel should be shared.   Simplivity has become the fastest growing<span class="ellipsis">&#8230;</span></p>
<div class="read-more"><a href="https://carlstanley.com/top-10-things-new-simplivity-admins-must-know/">Read more <span class="screen-reader-text">Top 10 things all new Simplivity admins must know</span><span class="meta-nav"> &#8250;</span></a></div>
<p><!-- end of .read-more --></p>
<p>The post <a href="https://carlstanley.com/top-10-things-new-simplivity-admins-must-know/">Top 10 things all new Simplivity admins must know</a> appeared first on <a href="https://carlstanley.com">CarlStanley.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://carlstanley.com/top-10-things-new-simplivity-admins-must-know/simplivity_logo/"><img loading="lazy" decoding="async" class="aligncenter wp-image-68 size-medium" src="https://carlstanley.com/wp-content/uploads/2014/07/Simplivity_logo-300x76.png" alt="Simplivity_logo" width="300" height="76" /></a></p>
<p>First off, PLEASE don&#8217;t take these as a negative view toward the product. That is not the intent here.  These are simply some things I have learned that I feel should be shared.   Simplivity has become the fastest growing infrastructure company to achieve a valuation of over $1 Billion, EVER.   And I really am blown away by their product.  There is still no better or cheaper way to give yourself a hyper-converged infrastructure. I will leave all that for a more thorough review later.  But based on my experience, these are things you need to know if you&#8217;re thinking making the plunge in to Simplivity.</p>
<p><strong>&#8211;Update:<br />
</strong>I replaced an item on the list regarding advertised usable memory.  Simplivity has fixed this.</p>
<p><span id="more-47"></span></p>
<ol>
<li><strong>Use the Simplivity tab in the vSphere client for correct datastore usage stats.</strong> The hosts see the raw capacity of the disks, not the capacity of the datastore.  This actually makes sense considering the host is also a node in the datastore, but will cause some initial confusion.</li>
<li><strong>The OmniCubes CAN be put in to maintenance mode, but&#8230;</strong> If vMotion and DRS are enabled, the VMs WILL evacuate.  All except for the OVC.  You MUST shut down the OVC VM prior to entering maintenance mode.  It will yell at you for doing so,  warning that you shouldn&#8217;t shut it down, but that&#8217;s the only way.</li>
<li><strong>The vCenter appliance is NOT supported.</strong>  This is probably to be expected with all their customizations.  There are APIs missing from the appliance that Simplivity needs.</li>
<li><strong>vCenter MUST be run outside of the OmniCube Federation.</strong>  The shared storage requires a witness or the Arbiter.  And because of SSO, you might want to also run your domain controller outside of the federation.</li>
<li><strong>Do not install vCenter using the Simple Install.</strong>  Take the time and install it correctly.  A simple install will prevent the use of Linked Mode.</li>
<li><strong>Understand the difference between a VMware Clone and a Simplivity Clone. </strong>With a VMware clone, VMware is copying the files, while Simplivity simply modifies the metadata for the data blocks.  The VMware clone is still your only way to clone to other (non-omnicube) datastores and your only way to customize during the clone.</li>
<li><strong>You don&#8217;t need a 10Gb switch if you only have two OmniCubes.  </strong>You can directly connect two cubes at 10Gb.</li>
<li><span style="color: #000000;"><b>You must use the vSphere thick client to manage the Simplivity stuff.  </b> Those of you who want to use the web client exclusively like VMware recommends, can&#8217;t.  The Simplivity plugin only works with the thick client.  This hasn&#8217;t changed in vSphere 6.0 though they say it&#8217;s coming.  </span></li>
<li><strong>Come up with a plan to back up your data OFF of the federation. </strong>Simplivity calls what they have &#8220;backups.&#8221;  Yes you can back up your data and restore it if needed.  All it&#8217;s doing is adding a little more meta data to those de-duped bits.  And it backs it up to itself.  Not so cool if your entire federation goes up in smoke or those deduped bits get corrupted.  This can be great in larger geographically separated federations. Then it&#8217;s awesome.   But even then think of it as more of a belt and suspenders approach.  Use your usual backup tools, Veeam or CLI scripts to get that data off the OmniCubes.</li>
<li><strong>Upgrades&#8230;  </strong>They still haven&#8217;t refined their upgrade process.  Upgrading from vSphere 5.1 to 5.5 was a lengthy process. Each OmniCube (we upgraded two) had to be manually upgraded by a Simplivity technician.  Even simple patches work the same way. For larger environments this would dissuade people from applying updates.  Lets hope some Heart Bleed style exploit doesn&#8217;t need to be patched in a hurry.  Though they tell me that with more than two cubes this process is a little faster. Indications are that future updates wont be any different.  The good news is that you can still migrate VMs to another cube during these upgrades and thus no VM downtime is required.  I fully expect that Simplivity will continue to improve in this area. With the explosive growth they are seeing, this kind of update \ patch model is not scalable.</li>
</ol>
<p>The post <a href="https://carlstanley.com/top-10-things-new-simplivity-admins-must-know/">Top 10 things all new Simplivity admins must know</a> appeared first on <a href="https://carlstanley.com">CarlStanley.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://carlstanley.com/top-10-things-new-simplivity-admins-must-know/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>How to flush the DNS cache on Mac OS X</title>
		<link>https://carlstanley.com/how-to-flush-the-dns-cache-on-mac-os-x/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-flush-the-dns-cache-on-mac-os-x</link>
					<comments>https://carlstanley.com/how-to-flush-the-dns-cache-on-mac-os-x/#respond</comments>
		
		<dc:creator><![CDATA[Carl]]></dc:creator>
		<pubDate>Fri, 11 Jul 2014 22:32:07 +0000</pubDate>
				<category><![CDATA[Apple]]></category>
		<guid isPermaLink="false">http://carlstanley.com/?p=38</guid>

					<description><![CDATA[<p>There are so many unnecessarily long articles on how to do this. So here&#8217;s the short version \ TLDR of how to flush (or reset) the DNS cache on Mac OS: Open up a Terminal window and enter the following<span class="ellipsis">&#8230;</span></p>
<div class="read-more"><a href="https://carlstanley.com/how-to-flush-the-dns-cache-on-mac-os-x/">Read more <span class="screen-reader-text">How to flush the DNS cache on Mac OS X</span><span class="meta-nav"> &#8250;</span></a></div>
<p><!-- end of .read-more --></p>
<p>The post <a href="https://carlstanley.com/how-to-flush-the-dns-cache-on-mac-os-x/">How to flush the DNS cache on Mac OS X</a> appeared first on <a href="https://carlstanley.com">CarlStanley.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>There are so many unnecessarily long articles on how to do this. So here&#8217;s the short version \ TLDR of how to flush (or reset) the DNS cache on Mac OS:</p>



<p>Open up a Terminal window and enter the following command (choose the correct OS) to flush the DNS cache.  Enter your password when prompted.</p>



<p><strong>MacOS 11 &#8211; Big Sur</strong></p>



<pre class="wp-block-preformatted">sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder</pre>



<p><strong>Mac OS X 10.7, 10.8 &amp; 10.9 &amp; 10.10</strong></p>



<pre class="wp-block-preformatted">sudo killall -hup mDNSResponder</pre>



<p><strong>Mac OS X 10.6</strong></p>



<pre class="wp-block-preformatted">sudo dscacheutil -flushcache
</pre>
<p>The post <a href="https://carlstanley.com/how-to-flush-the-dns-cache-on-mac-os-x/">How to flush the DNS cache on Mac OS X</a> appeared first on <a href="https://carlstanley.com">CarlStanley.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://carlstanley.com/how-to-flush-the-dns-cache-on-mac-os-x/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
