<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: custom groups using ldap-filter/query to use with GlobalProtect in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245882#M70049</link>
    <description>&lt;P&gt;hi @TommieVan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems the query is case sensitive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on my ldap browser I searched for:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"(&amp;amp;(objectCategory=person)(objectClass=user)(msNPAllowDialin=TRUE))"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this returned all users correctly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then tried:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(&amp;amp;(objectCategory=person)(objectClass=user)(msNPAllowDialin=True))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this returned no users at all..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried FALSE and False with the same results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also ... the "*" wildcard returned both TRUE and FALSE but not Not-Set, so be warned...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so.. I captured the LDAP query from the palo and it converts to lowercase as below.&lt;/P&gt;&lt;P&gt;so this is your problem,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is a dump of my custom group settings and wireshark capture for "FALSE"&lt;/P&gt;&lt;P&gt;as you can see the Gweneth Paltro has converted to lower case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="msnpdialin.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/18257i9EF582D0E79DF22C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="msnpdialin.png" alt="msnpdialin.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jan 2019 13:20:34 GMT</pubDate>
    <dc:creator>Mick_Ball</dc:creator>
    <dc:date>2019-01-14T13:20:34Z</dc:date>
    <item>
      <title>custom groups using ldap-filter/query to use with GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245702#M70005</link>
      <description>&lt;P&gt;Hello.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm currently working on a setup involving Global protect for teleworking.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the company has users who are allowed to connect remotely with their id, and users who aren't.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;the decision for this is based on a user-attribute: msNPAllowDialin (of type boolean)&lt;/P&gt;&lt;P&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;if set to allow --&amp;gt; useer should be able to logon to GP portal/gateway&lt;/P&gt;&lt;P&gt;if set to deny --&amp;gt; user is not allowed to connect remotely&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to be possible to implement via custom group under user identification.&amp;nbsp;&lt;/P&gt;&lt;P&gt;with an ldap filter (msNPAllowDialin=true)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however I can't seem to get it to work and can't find much documentation how to troubleshoot this on a palo alto. (without access to teh AD environment)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm fairly certain the issue is with the custom group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ldap test when I have all or a specific group configured in allow list: both my testusers( 1 with the attribute to allow, the other with deny) can logon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;both via test command cli. or via GP portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however as soon as i change the allow list to the custom group I configured( teleworkers) both CLI test and gp login fail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;cli command states this is because the user is not in the allowlist. --&amp;gt; custom group issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my question:&amp;nbsp;&lt;/P&gt;&lt;P&gt;does anybody have experience with this? or perhaps a great resource where I can brush up on how to configure these custom groups?&amp;nbsp;&lt;/P&gt;&lt;P&gt;if not I'm also looking for cli commands that can aid me in troubleshooting this apart from testing ldap authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as currently I'm not even sure if I can use the msNPAllowDialin attribute --&amp;gt; are some attributes not usable in ldap filter and is this one of them?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And yes I have played a bit with the ldap filter: so trying TRUE, true, etc I've already done.&amp;nbsp;&lt;BR /&gt;unless AD uses other values for boolean?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated. thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 14:26:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245702#M70005</guid>
      <dc:creator>TommieVanHove</dc:creator>
      <dc:date>2019-01-11T14:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: custom groups using ldap-filter/query to use with GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245723#M70010</link>
      <description>&lt;P&gt;i have never created a custom group but will have a play soon as need to set something similar...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;msNPAllowDialin is a std user attribute and should work OK,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as a first test I would cli..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;show user group list&amp;nbsp;&amp;nbsp; (to ensure group listing is recognised)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;show user group name " your custom group from above output" (to see if it has any recognised members)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see what output you get and post back&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 16:32:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245723#M70010</guid>
      <dc:creator>Mick_Ball</dc:creator>
      <dc:date>2019-01-11T16:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: custom groups using ldap-filter/query to use with GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245743#M70015</link>
      <description>&lt;P&gt;Just an update...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the custom group with attributes works fine, i have tested with the user attributes sn and department. I cannot get it to work with msnpdialin. You may be correct in your assumption but i will test further on monday as i can remove ldap/ssl on test lab and capture palo packets vs openldap search.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 18:59:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245743#M70015</guid>
      <dc:creator>Mick_Ball</dc:creator>
      <dc:date>2019-01-11T18:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: custom groups using ldap-filter/query to use with GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245747#M70017</link>
      <description>&lt;P&gt;and an update from my part as well.&lt;BR /&gt;&lt;BR /&gt;I did some extra tests myself(after letting the problem rest for a while)&lt;/P&gt;&lt;P&gt;and strangely if I create a custom group with following filter:&lt;/P&gt;&lt;P&gt;(msNPAllowDialin=*)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a few users in the group. including my 2 testusers.&lt;/P&gt;&lt;P&gt;however when I try&lt;/P&gt;&lt;P&gt;(msNPAllowDialin=true)&lt;/P&gt;&lt;P&gt;I get an empty group.&lt;BR /&gt;&lt;BR /&gt;starting to think I may need to ask the ppl managing the AD to give me some more info.&lt;BR /&gt;as according to my logic creating a filter with (msNPAllowDialin=*) should basically give me a list of ALL users&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as the attribute only has 3 possible values: Not Set, True, False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:15:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245747#M70017</guid>
      <dc:creator>TommieVanHove</dc:creator>
      <dc:date>2019-01-11T20:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: custom groups using ldap-filter/query to use with GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245749#M70018</link>
      <description>&lt;P&gt;Hmmmm... nicely diagnosed....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;not sure if the wildcard actually means “any” in this case, the boolean attributes are wierd.. i do know that some of them that are not set require the use of a null string “” to complete the search...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also noted that the true or false is stored in upper case but tried that aswell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Talk soon..&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:34:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245749#M70018</guid>
      <dc:creator>Mick_Ball</dc:creator>
      <dc:date>2019-01-11T20:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: custom groups using ldap-filter/query to use with GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245882#M70049</link>
      <description>&lt;P&gt;hi @TommieVan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems the query is case sensitive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on my ldap browser I searched for:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"(&amp;amp;(objectCategory=person)(objectClass=user)(msNPAllowDialin=TRUE))"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this returned all users correctly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then tried:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(&amp;amp;(objectCategory=person)(objectClass=user)(msNPAllowDialin=True))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this returned no users at all..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried FALSE and False with the same results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also ... the "*" wildcard returned both TRUE and FALSE but not Not-Set, so be warned...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so.. I captured the LDAP query from the palo and it converts to lowercase as below.&lt;/P&gt;&lt;P&gt;so this is your problem,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is a dump of my custom group settings and wireshark capture for "FALSE"&lt;/P&gt;&lt;P&gt;as you can see the Gweneth Paltro has converted to lower case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="msnpdialin.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/18257i9EF582D0E79DF22C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="msnpdialin.png" alt="msnpdialin.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 13:20:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/245882#M70049</guid>
      <dc:creator>Mick_Ball</dc:creator>
      <dc:date>2019-01-14T13:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: custom groups using ldap-filter/query to use with GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/246781#M70259</link>
      <description>&lt;P&gt;good to know the * filter only returns users with attribute set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;according to various documenation about msNPAllowDialin if the attribute is not configured teh value should either be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not Set --&amp;gt; unlickely as that would fall under *&lt;/P&gt;&lt;P&gt;or an empty stirng: " " --&amp;gt; might be this one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any way long story short: with the current palo alto it will not be possible to create custom groups based on user attributes that are case sensitive. as palo does a "to lowercase" on it's query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe all Boolean type attributes are case sensitive in AD( and these are I believe the only ones that are case sensitive).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so note: building custom groups based on Boolean attributes will not be possible in palo alto.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 09:47:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/246781#M70259</guid>
      <dc:creator>TommieVanHove</dc:creator>
      <dc:date>2019-01-21T09:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: custom groups using ldap-filter/query to use with GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/246782#M70260</link>
      <description>&lt;P&gt;Perhaps report it as a bug &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/96790"&gt;@TommieVanHove&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 09:51:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/246782#M70260</guid>
      <dc:creator>Mick_Ball</dc:creator>
      <dc:date>2019-01-21T09:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: custom groups using ldap-filter/query to use with GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/246784#M70261</link>
      <description>&lt;P&gt;I was planning to.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for checking and the support as well.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;my plan is to report this to paloalto.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but for our custoemr the fastest solution will be to make a change on AD&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 10:01:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-groups-using-ldap-filter-query-to-use-with-globalprotect/m-p/246784#M70261</guid>
      <dc:creator>TommieVanHove</dc:creator>
      <dc:date>2019-01-21T10:01:08Z</dc:date>
    </item>
  </channel>
</rss>

