<?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: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/202063#M33652</link>
    <description>&lt;P&gt;I promised to update this thread when the issue is solved, so here I am:&lt;/P&gt;
&lt;P&gt;We got a custom hotfix for this issue. It will be integrated in future jumbos, but this will take a while.&lt;/P&gt;
&lt;P&gt;Bug ID: PRHF-31314&lt;/P&gt;
&lt;P&gt;Hotfix: mgmt_wrapper_HOTFIX_R81_20_JHF_T26_309_MAIN_GA_FULL.tar (md5 330939DBA31DA9068C9FCB24698B759D)&lt;/P&gt;
&lt;P&gt;Content: Fixed versions of ldap.jar and dleserver.jar support case insensitive between LDAP and management server.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2024 13:15:18 GMT</pubDate>
    <dc:creator>Tobias_Moritz</dc:creator>
    <dc:date>2024-01-03T13:15:18Z</dc:date>
    <item>
      <title>Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195364#M32758</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;
&lt;P&gt;in R81, Check Point finally introduced the usage of SID instead of DN for referring LDAP (usually AD) objects in Identity Awareness.&lt;/P&gt;
&lt;P&gt;While this feature was really appreciated (we asked for that already in R77 days), it is still disabled by default and has to be enabled per Gateway:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_IdentityAwareness_AdminGuide/Content/Topics-IDAG/Configuring-Identity-Awareness-Security-ID-Support-LDAP-Users.htm?Highlight=sid" target="_blank"&gt;https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_IdentityAwareness_AdminGuide/Content/Topics-IDAG/Configuring-Identity-Awareness-Security-ID-Support-LDAP-Users.htm?Highlight=sid&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But the real problem is the database for upgraded environments. All objects of type ad_users and ad_groups which are created in Check Point database &lt;U&gt;after upgrade to R81 are having the sid attribute filled&lt;/U&gt;.&lt;/P&gt;
&lt;P&gt;However, users or groups who where added to datebase (because used in some access roles) &lt;U&gt;before the upgrade have an empty SID field&lt;/U&gt;.&lt;/P&gt;
&lt;P&gt;So while the R81 upgrade extended the datebase scheme to support the sid field, there was no process to update existing objects.&lt;/P&gt;
&lt;P&gt;Now to the question: If a customers has thousands of ad_user/group objects in Check Point database and wants to move from DN to SID because of the obvious benefits: How should it do this?&lt;/P&gt;
&lt;P&gt;How can we update existing user or group objects with SID? Manually edditing the CP datebase or removing all users and groups from all access roles and re-add them does not sound like a good idea.&lt;/P&gt;
&lt;P&gt;Does anyone has a better idea?&lt;/P&gt;
&lt;P&gt;Is there any recommendation from Check Point side?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 07:13:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195364#M32758</guid>
      <dc:creator>Tobias_Moritz</dc:creator>
      <dc:date>2023-10-17T07:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195365#M32759</link>
      <description>&lt;P&gt;Found this &lt;A href="https://support.checkpoint.com/results/sk/sk43874" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk43874&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 07:37:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195365#M32759</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2023-10-17T07:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195376#M32762</link>
      <description>&lt;P&gt;Hello Günther,&lt;/P&gt;
&lt;P&gt;thank you, but I think that sk does not match my topic.&lt;/P&gt;
&lt;P&gt;That sk is for setting up an non-domain-admin account for legacy AD query and you need the SID of that account during the steps for rights adjustment.&lt;/P&gt;
&lt;P&gt;I'm talking about ad_users or ad_groups objects in Check Point database.&lt;/P&gt;
&lt;P&gt;If I missed something relevant in that sk, please drop me a hint, which section you meant.&lt;/P&gt;
&lt;P&gt;Here you see two user objects in DB. First one was created in DB by adding it to an access role in SmartConsole picker before upgrade to R81+, second one after. First does not have SID field filled, second has.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;&amp;gt; show generic-object uid 5c3fb0f1-ad6f-4ac5-8a0f-223036850a83
lastName: "User1"
samAccountName: "user1"
dn: "CN=Bob User1,OU=Users,DC=domain,DC=tld"
type: "ad_user"
userName: "User1"
sid: ""
folder: 
  uid: "8593a614-3f8e-43ea-b2ed-d40221ecd429"
  name: "Global Objects"
domain: 
  uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
  name: "SMC User"
  lastModifytime: 1678703835239
  creationTime: 1678703835239
_original_type: "CpmiAdUser"


&amp;gt; show generic-object uid 8c4e65cf-0d24-4107-872f-a3bf856acfed
lastName: "User2"
samAccountName: "user2"
dn: "CN=Simon User2,OU=Users,DC=domain,DC=tld"
type: "ad_user"
userName: "User2"
sid: "AQUAAAAAAAUVAAAAIjc9DKjHQ4gou0vN19gAAA=="
uid: "8c4e65cf-0d24-4107-872f-a3bf856acfed"
folder: 
  uid: "8593a614-3f8e-43ea-b2ed-d40221ecd429"
  name: "Global Objects"
domain: 
  uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
  name: "SMC User"
meta-info: 
  lastModifytime: 1697202257626
  creationTime: 1697202257626
_original_type: "CpmiAdUser"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 08:55:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195376#M32762</guid>
      <dc:creator>Tobias_Moritz</dc:creator>
      <dc:date>2023-10-17T08:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195424#M32767</link>
      <description>&lt;P&gt;I suspect you will have to delete and re-add the relevant objects.&lt;BR /&gt;Having said that, seeing that you can see the information with a generic-object API call, you might be able to set it.&lt;BR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;can it be done?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 14:16:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195424#M32767</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-10-17T14:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195505#M32787</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;we did this via a large shell script that was provided by Check Point TAC. We had the exact same issue one or two years ago.&lt;BR /&gt;&lt;BR /&gt;We executed the script in two Managements systems with hundrends of ad_groups and it worked really well.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am just a litle bit unsure if I can just sent you the scripts + the guide how to use it. Maybe a double check with TAC would be recommended, to ensure, that the script is still working etc.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't know the policy here to be honest.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 08:01:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195505#M32787</guid>
      <dc:creator>ProxyOps</dc:creator>
      <dc:date>2023-10-18T08:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195507#M32788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1408"&gt;@Tobias_Moritz&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;After consulting with R&amp;amp;D guys, here is the what you need to do:&lt;/P&gt;
&lt;P&gt;Please open a TAC case for this. Once you have an SR, please send it to me via PM. I will make sure the relevant R&amp;amp;D ppl will provide you with assistance through the official channels.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 08:38:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/195507#M32788</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2023-10-18T08:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/196379#M32918</link>
      <description>&lt;P&gt;Just to update you folks, after a session with TAC (Debug) yesterday:&lt;/P&gt;
&lt;P&gt;There is a component called SIDupdater nowadays which has the job to update all ad_user and ad_group objects with SID values, if they are empty. This component runs after upgrade to R81+. If it fails for whatever reason, it retries later three more times. After that, it gives up. You can see this in db table SidUpdaterRetriesCounter_data.&lt;/P&gt;
&lt;P&gt;In our case, this job ran, but without success. We modified that table to reset the retry-counter and did a cprestart. Before that, we enabled debug logs for cpm-&amp;gt;SIDupdater to see, what it is doing.&lt;/P&gt;
&lt;P&gt;SIDupdater ran, found all affected ad_user and ad_group objects, aquired SIDs for them successfully but finally crashed with a NullPointerException before being able to push the updates to db.&lt;/P&gt;
&lt;P&gt;R&amp;amp;D will now look at debug logs to understand, why it crashes.&lt;/P&gt;
&lt;P&gt;I will update you again, when this issue is solved.&lt;/P&gt;
&lt;P&gt;Thanks, Val, for routing that TAC case in the right direction &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 08:10:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/196379#M32918</guid>
      <dc:creator>Tobias_Moritz</dc:creator>
      <dc:date>2023-10-27T08:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/196381#M32919</link>
      <description>&lt;P&gt;I hope this will be resolved soon&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 08:21:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/196381#M32919</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2023-10-27T08:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/202063#M33652</link>
      <description>&lt;P&gt;I promised to update this thread when the issue is solved, so here I am:&lt;/P&gt;
&lt;P&gt;We got a custom hotfix for this issue. It will be integrated in future jumbos, but this will take a while.&lt;/P&gt;
&lt;P&gt;Bug ID: PRHF-31314&lt;/P&gt;
&lt;P&gt;Hotfix: mgmt_wrapper_HOTFIX_R81_20_JHF_T26_309_MAIN_GA_FULL.tar (md5 330939DBA31DA9068C9FCB24698B759D)&lt;/P&gt;
&lt;P&gt;Content: Fixed versions of ldap.jar and dleserver.jar support case insensitive between LDAP and management server.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 13:15:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/202063#M33652</guid>
      <dc:creator>Tobias_Moritz</dc:creator>
      <dc:date>2024-01-03T13:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Awareness - SID instead of DN for AD Users - Migration for existing objects</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/232400#M38835</link>
      <description>&lt;P&gt;I have another update for the issue in case if someone has the same problem even after update to R81.20 take 70 or later.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I used results of the command " psql_client cpm postgres -c 'select * from SidUpdaterRetriesCounter_data' " as an entry point to create a TAC case. TAC engineer explained to me that the problem may occur even on the latest JHF takes if SIDUpdater had tried to update SIDs 5 times and failed. The result of the 5 attempts is stored in&amp;nbsp;SidUpdaterRetriesCounter_data. SIDUpdater will not try to update SIDs until the table is reset.&lt;/P&gt;&lt;P&gt;TAC provided the following command to reset the table:&lt;/P&gt;&lt;P&gt;# psql_client cpm postgres -c "begin; alter table&amp;nbsp; SidUpdaterRetriesCounter_data disable trigger all; update SidUpdaterRetriesCounter_data set completed='f' where dlesession=0 and not deleted; update SidUpdaterRetriesCounter_data set retriescount=1 where dlesession=0 and not deleted; alter table&amp;nbsp; SidUpdaterRetriesCounter_data enable trigger all; commit;"&lt;/P&gt;&lt;P&gt;Then I did &lt;STRONG&gt;cprestart&lt;/STRONG&gt; on the Management server and &lt;STRONG&gt;installed policy&lt;/STRONG&gt; on the Identity Awareness related Security Gateways. This forced SIDUpdater to try to update SIDs again and it worked because the solution for&amp;nbsp;&lt;SPAN&gt;PRHF-31314 had been already integrated into the latest JHF.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 05:54:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Identity-Awareness-SID-instead-of-DN-for-AD-Users-Migration-for/m-p/232400#M38835</guid>
      <dc:creator>Gennady</dc:creator>
      <dc:date>2024-11-12T05:54:43Z</dc:date>
    </item>
  </channel>
</rss>

