<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.sophos.com/cfs-file/__key/system/syndication/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>VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/sophos-xg-firewall/f/discussions/147981/vpn-with-authentication-active-directory-with-enumeration-blocked</link><description>Hi. 
 
 Anyone has configured Sophos XGS SSLVPN with Active Directory Authentication on AD with enumeration blocked? 
 After configure Server on XGS I can authenticate and retrieve groups/users without problem... My problem appears when try to authenticate</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548884?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 10:32:35 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:7cb762dd-4e10-4cdf-a31e-0c3749562336</guid><dc:creator>Tecnologias Imaginadas</dc:creator><description>&lt;p&gt;I&amp;#39;ve wrote this... so it&amp;#39;s obvious the answer...&lt;/p&gt;
[quote userid="214348" url="~/sophos-xg-firewall/f/discussions/147981/vpn-with-authentication-active-directory-with-enumeration-blocked/548857"]&lt;p&gt;Reason:&lt;/p&gt;
&lt;p&gt;adsusername&amp;nbsp;is located at an OU that enumeration is allowed for all users&lt;/p&gt;
&lt;p&gt;uservpn is located at an OU that has enumeration blocked for a group BLOCKENUMERATION&lt;/p&gt;[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548882?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 10:25:36 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:92e5724d-912c-4947-98cf-bce1af919366</guid><dc:creator>Hardik_R</dc:creator><description>&lt;p&gt;Are&amp;nbsp;&lt;span&gt;adsusername &amp;amp;&amp;nbsp;uservpn part of same OU or different OU?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548857?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2024 14:03:52 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:f09a82d7-7efc-402e-b65d-af6566ac6f6e</guid><dc:creator>Tecnologias Imaginadas</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Thanks for you reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So (tests already done before open this discussion...):&lt;/p&gt;
&lt;p&gt;1. Powershell with user adsusername:&amp;nbsp; &amp;nbsp;Get-ADUser filter sAMAccountName=uservpn&amp;nbsp; &amp;nbsp;-&amp;gt;&amp;nbsp; &amp;nbsp;user IS found&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Powershell with user uservpn:&amp;nbsp; &amp;nbsp;Get-ADUser filter sAMAccountName=uservpn&amp;nbsp; &amp;nbsp;-&amp;gt;&amp;nbsp; &amp;nbsp;user NOT found&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reason:&lt;/p&gt;
&lt;p&gt;adsusername&amp;nbsp;is located at an OU that enumeration is allowed for all users&lt;/p&gt;
&lt;p&gt;uservpn is located at an OU that has enumeration blocked for a group BLOCKENUMERATION&lt;/p&gt;
&lt;p&gt;adsusername is NOT member of&amp;nbsp;&lt;span&gt;BLOCKENUMERATION&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;uservpn&amp;nbsp;IS member of group&amp;nbsp;&lt;span&gt;BLOCKENUMERATION&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;uservpn IS member of group VPNUSERS (permited to VPN on Sophos XGS)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;VPN Result:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;uservpn CAN login to VPNPorta/SSLVPN if NOT member of BLOCKENUMERATION&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;uservpn CANNOT login to VPNPortal/SSLVPN if IS member of&amp;nbsp;BLOCKENUMERATION&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548856?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2024 13:32:53 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:d9bf5029-7805-4c6b-86e7-854ee79271a4</guid><dc:creator>Hardik_R</dc:creator><description>&lt;p&gt;To simplify&amp;nbsp;verify this, login to any domain system using &amp;quot;&lt;span&gt;ADS user name&amp;quot; and from there&amp;nbsp;run Get-AdUser query in power shell using filter&amp;nbsp;SAMAccountName.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;If you get the correct response then permissions are proper for &amp;quot;&lt;span&gt;ADS user name&amp;quot; and same should work for firewall as well however if you&amp;nbsp;see any error then you need to further validate the permissions for &amp;quot;ADS user name&amp;quot;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548766?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 10:49:32 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:6a72bd88-32a4-4a90-9a13-e1be6cea1f81</guid><dc:creator>Tecnologias Imaginadas</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
[quote userid="158458" url="~/sophos-xg-firewall/f/discussions/147981/vpn-with-authentication-active-directory-with-enumeration-blocked/548747"]As per the authentication behavior on Sophos firewall, everytime when user logs in through any mechanism(VPN Portal/User Portal/SSL VPN) , firewall send that request directly to configured AD server using the &amp;quot;ADS user name&amp;quot;&amp;nbsp;[/quote]
&lt;p&gt;No... this is not the behavior at some point!&lt;/p&gt;
&lt;p&gt;ADS user name is at one OU that enumeration is not blocked and it could retrieve every group of that OU (groups used in UTM). But when one user that belongs to one of these groups try to login it can&amp;#39;t and in&amp;nbsp;&lt;span&gt;the logs I can see a failure on search with filter sAMAccouname=xxxxxxx and result on user not found.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This user is at one OU with enumeration blocked.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Only one OU has enumeration allowed for all users.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Every other &amp;quot;normal users&amp;quot; are part of OU that have enumeration blocked.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548747?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 05:52:29 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:67a2bd9c-01ba-42e5-9a73-16271747782d</guid><dc:creator>Hardik_R</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="/members/tecnologias-imaginadas"&gt;Tecnologias Imaginadas&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;As per the authentication behavior on Sophos firewall, everytime when user logs in through any mechanism(VPN Portal/User Portal/SSL VPN) , firewall send that request directly to configured AD server using the &amp;quot;ADS user name&amp;quot;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Now at AD server, the &amp;quot;ADS user name&amp;quot; will search the &amp;quot;user&amp;quot; within all domain users to identify user attributes(such as group membership etc) so I assume that when you block&amp;nbsp;&lt;span&gt;user enumeration on AD, the&amp;nbsp;&amp;quot;ADS user name&amp;quot; is not able to search the user and hence you are getting &amp;quot;user not found&amp;quot; message.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;so, it seems to be necessary to allow enumeration for at least the user that you are using in &amp;quot;&lt;span&gt;ADS user name&amp;quot; and for rest of the group/OU you can deny the read permissions(user enumeration).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Considering the above behavior, I&amp;nbsp;have some queries on your below 2 statement,&amp;nbsp;what&amp;#39;s the difference between them, who is able to authenticate and who is not able to authenticate?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;After configure Server on XGS &lt;strong&gt;I can authenticate&lt;/strong&gt; and retrieve groups/users without problem...&lt;br /&gt; My &lt;strong&gt;problem appears when try to authenticate user on VPN Portal/User Portal/SSL VPN&lt;/strong&gt;...&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548607?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 14:49:20 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:81ce9a27-f92a-4436-aeef-06bceebd5219</guid><dc:creator>Tecnologias Imaginadas</dc:creator><description>&lt;p&gt;All of SSL VPN Users are part of domain groups, one of them for SSLVPN usage, as users are domain users, not local users!. Is this answering to you question?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One more time I ask what is have to do with VPN Portal and SSLVPN Authentication?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548606?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 13:32:32 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:ebfbc338-4b8a-4262-a740-642661dae9a1</guid><dc:creator>Vivek Jagad</dc:creator><description>&lt;p&gt;Are the SSL VPN users part of the group selected in the above config ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548605?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 13:30:18 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:4dd29da9-7273-4f3f-8930-a41594072032</guid><dc:creator>Tecnologias Imaginadas</dc:creator><description>&lt;p&gt;Do you want configuration of what? Active Directory Server?&lt;/p&gt;
&lt;p&gt;&lt;img height="403" src="/resized-image/__size/876x806/__key/communityserver-discussions-components-files/126/pastedimage1731504345595v1.png" width="438" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Yes, 3 groups I need to separate VPN Users are imported to Sophos.&lt;/p&gt;
&lt;p&gt;Authentication for&amp;nbsp;all services except Administration is set to this AD Server.&lt;/p&gt;
&lt;p&gt;For firewall this is the configuration&lt;/p&gt;
&lt;p&gt;&lt;img height="320" src="/resized-image/__size/792x640/__key/communityserver-discussions-components-files/126/pastedimage1731504578955v2.png" width="396" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;but this is nothing to do with SSLVPN!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VPN with Authentication Active Directory with enumeration blocked</title><link>https://community.sophos.com/thread/548604?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 13:05:11 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:08e9dc47-f943-46bd-afb4-e99aafc6fc6b</guid><dc:creator>Vivek Jagad</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/tecnologias-imaginadas"&gt;Tecnologias Imaginadas&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;br /&gt;Thank you for reaching out to the community, can you share the screenshot of the config ? And have you created a separate group for SSL VPN Users ? And under the Firewall authentication have you selected the SSL VPN group and what&amp;#39;s the standard group set to Open ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>