<?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: Synchronization code in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191477#M2521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well you posted a link it is indicating a required indentity is missing. You asked something about synchronization. -&amp;gt; The synchronization did delete the required identity?&lt;/P&gt;&lt;P&gt;You posted very little details on&lt;/P&gt;&lt;P&gt;a/ what you did&lt;/P&gt;&lt;P&gt;b/ what has happened&lt;/P&gt;&lt;P&gt;c/ what your environment is and&lt;/P&gt;&lt;P&gt;d/ what the problem is and&lt;/P&gt;&lt;P&gt;e/ what the messages are (loggings pop-ups)&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2014 19:26:14 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-07-23T19:26:14Z</dc:date>
    <item>
      <title>Synchronization code</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191474#M2518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I get this error when i am running the synchronization code on the metadata server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'ERROR: The object reference to Person was requested without an identifier'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, all the objects which are to be written back to the metadata are written to the failed_objects dataset and the job fails.&lt;/P&gt;&lt;P&gt;Do you have any idea what is causing this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/23/599.html" title="http://support.sas.com/kb/23/599.html"&gt;23599 - Why do I get an object identity error when I run LoadPortalStructure.sas?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 18:21:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191474#M2518</guid>
      <dc:creator>akshatadeshpande</dc:creator>
      <dc:date>2014-07-23T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronization code</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191475#M2519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean the synchronization code as documented in Appendix A of the Security Administration guide?&lt;/P&gt;&lt;P&gt;That one is a sample how you van solve user propagation in a RBAC controlled process to LDAP.&amp;nbsp; &lt;BR /&gt;But all exceptions that are not in conforming that own programmed code could cause harming possible required identities only existing in SAS metadata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 19:16:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191475#M2519</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-23T19:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronization code</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191476#M2520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have any idea about the error i mentioned?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 19:19:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191476#M2520</guid>
      <dc:creator>akshatadeshpande</dc:creator>
      <dc:date>2014-07-23T19:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronization code</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191477#M2521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well you posted a link it is indicating a required indentity is missing. You asked something about synchronization. -&amp;gt; The synchronization did delete the required identity?&lt;/P&gt;&lt;P&gt;You posted very little details on&lt;/P&gt;&lt;P&gt;a/ what you did&lt;/P&gt;&lt;P&gt;b/ what has happened&lt;/P&gt;&lt;P&gt;c/ what your environment is and&lt;/P&gt;&lt;P&gt;d/ what the problem is and&lt;/P&gt;&lt;P&gt;e/ what the messages are (loggings pop-ups)&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 19:26:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191477#M2521</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-23T19:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronization code</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191478#M2522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The last step in the synchronization job is adding the updates to the metadata. The code worked fine, the metadata has been synchronized but i get an error as below in the log:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'ERROR: The object reference to Person was requested without an identifier'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Errors returned from Proc Metadata prevented objects from being Added, Updated, or Deleted.&amp;nbsp; Table: work.mduchglb_failedobjs &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;identifies 79 such objects.&amp;nbsp; Consult the SAS Log for the specific Metadata Server errors returned.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even having this error, the objects from the AD group have been added to the metadata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to understand this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 19:32:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191478#M2522</guid>
      <dc:creator>akshatadeshpande</dc:creator>
      <dc:date>2014-07-23T19:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronization code</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191479#M2523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is something more information. Did you review the mentioned Appendix A thoroughly?&lt;/P&gt;&lt;P&gt;There are some details on all relations in the SAS metadata. Aside the login also mail/address/phone etc.&lt;/P&gt;&lt;P&gt;The number of failed objects is relative high. It could be all your identities that are changed. The mentioned objects are not in the same table but a related other one.&lt;/P&gt;&lt;P&gt;The Person (name) is commonly visible as object but as you are reviewing details (SMC) there is actual a identifier used. This construct let you change the name without changing the identifier. All change should at a moment use that identifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message you have got is telling you the lookup name/identifier at some point has failed. It could be a check the record-name is already present. Or referring a field that does not have&amp;nbsp; been used an therefore is missing.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 21:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191479#M2523</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-23T21:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronization code</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191480#M2524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, try to provide some more extracts from your MDUCHGLB_FAILEDOBJS table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- do you spot any LDAP objets attributes (Name, ID, Description etc.) having "unexpected" values ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, using this synchro code, I had an issue once dealing with Description fields values (extracted from the LDAP directory) which had (balanced) single quotes &lt;EM&gt;inside &lt;/EM&gt;the string (Desc= Profile 'Developers').&lt;/P&gt;&lt;P&gt;This caused a large havoc in the metadata XML request generating code since the code did not protect enough the attributes values (XML attributes use single quotes as boundaries).&lt;/P&gt;&lt;P&gt;BTW, to enable the debugging logs in verbose mode, I had to modify some of the Macros : if you run your code on a Unix/Linux machine, be aware that these technical logs rely only on a backslash delimiter for files location &lt;/P&gt;&lt;P&gt;and were tested on Windows only ... :smileyplain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- in metadata, in the SMC User Manager, have you checked the synchronized objects - Users AND/OR Groups or Roles "External Identity"&amp;nbsp; associations ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More specifically, if you click on "External Identity", do you see any "Identifier" value ? or is it still empty ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 13:11:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synchronization-code/m-p/191480#M2524</guid>
      <dc:creator>ronan</dc:creator>
      <dc:date>2014-07-24T13:11:40Z</dc:date>
    </item>
  </channel>
</rss>

