<?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: Regex for Chromebook Username in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/regex-for-chromebook-username/m-p/223083#M64134</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/90041"&gt;@jcalzada&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not sure if this is really going to be possible and still have everything work properly; but if it is you'll be looking at changing this Parse Profile to Regex instead of Field. Right now your simply telling the firewall which field corresponds to what the firewall is looking for, and it will read anything in-between that and the delimiter.&lt;/P&gt;&lt;P&gt;Switching to Regex you should be able to build out an expression like (a-zA-Z0-9) which wouldn't allow the _ character to be accounted for.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jul 2018 13:40:07 GMT</pubDate>
    <dc:creator>BPry</dc:creator>
    <dc:date>2018-07-20T13:40:07Z</dc:date>
    <item>
      <title>Regex for Chromebook Username</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/regex-for-chromebook-username/m-p/223047#M64121</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a little hiccup with our chromebook integration. The issue is, when a user logs in, the info is reporting to the PAN as "domain\john_smith". The PAN is setup to read users as "domain\john smith" so it tags the user incorrectly and applies the incorrect policies.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to use regex to parse the username and if an "_" is there, replace it with a white-space? I say "if" because our staff log in with "first-name last-name" (john smith), however students log in with first-initial last-name and sometimes a number (jsmith, kwilson3). Here is the syslog parse profile as it is now:&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="Screen Shot 2018-07-19 at 9.45.41 PM.png" style="width: 500px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/15988iBA41C34BF3E5A752/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-07-19 at 9.45.41 PM.png" alt="Screen Shot 2018-07-19 at 9.45.41 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated. We are also open to other methods that someone else might be using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 05:02:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/regex-for-chromebook-username/m-p/223047#M64121</guid>
      <dc:creator>jcalzada</dc:creator>
      <dc:date>2018-07-20T05:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for Chromebook Username</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/regex-for-chromebook-username/m-p/223083#M64134</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/90041"&gt;@jcalzada&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not sure if this is really going to be possible and still have everything work properly; but if it is you'll be looking at changing this Parse Profile to Regex instead of Field. Right now your simply telling the firewall which field corresponds to what the firewall is looking for, and it will read anything in-between that and the delimiter.&lt;/P&gt;&lt;P&gt;Switching to Regex you should be able to build out an expression like (a-zA-Z0-9) which wouldn't allow the _ character to be accounted for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 13:40:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/regex-for-chromebook-username/m-p/223083#M64134</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2018-07-20T13:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for Chromebook Username</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/regex-for-chromebook-username/m-p/223093#M64137</link>
      <description>&lt;P&gt;I will test this out, but in theory, if the "_" is there would it just leave an empty space in it's place? I'm just trying to get some better undestanding.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 14:56:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/regex-for-chromebook-username/m-p/223093#M64137</guid>
      <dc:creator>jcalzada</dc:creator>
      <dc:date>2018-07-20T14:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for Chromebook Username</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/regex-for-chromebook-username/m-p/223101#M64139</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/90041"&gt;@jcalzada&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In theory since the _ isn't an allowed character it will be completely ignored; I don't beleive a ' ' would be inserted in it's place.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 15:14:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/regex-for-chromebook-username/m-p/223101#M64139</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2018-07-20T15:14:42Z</dc:date>
    </item>
  </channel>
</rss>

