<?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: Is \n in a windows domain user name interpretted as a line feed? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433681#M16735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was just working with Miguel at ESRI tech support who was amazed at this behavior on my server, and then was able to get the same kind of error using the Create Database User tool on his end with both Arc Catalog 10.5 and 10.6.1 when the user name started with n.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think there is a way to escape out of the \n combination in the domain user name when using ArcCatalog &amp;gt;Administration&amp;gt;Add User&amp;gt;Create Database User?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to use SSMS to add this ykfp\nrom*** login to my instance, geodatabases and roles,&amp;nbsp; but I was hoping that tomorrow I could demonstrate a simple workflow on how to add users and privileges using ArcDesktop tools to a fairly new employee that I want to take over as administrator for me soon.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2019 22:29:58 GMT</pubDate>
    <dc:creator>PaulHuffman</dc:creator>
    <dc:date>2019-04-04T22:29:58Z</dc:date>
    <item>
      <title>Is \n in a windows domain user name interpretted as a line feed?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433679#M16733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had this happen when I was adding two new employees to my geodatabases with their OS logins from our Windows domain, using ArcCatalog 10.6.1 and the Administration&amp;gt; Add User workflow.&amp;nbsp; The first guy went easy,&amp;nbsp; the next guy didn't work. His domain login is ykfp/nrom***. The error message made us wonder if /n is getting read as a line feed and if I needed to escape this with quotes or something.&amp;nbsp; There must have been other places where someone had a domain name that included /n however, so it seems unlikely that I am the first to encounter this. &amp;nbsp; I also tried the other syntax for his domain name &lt;A href="mailto:nromero@KFO.local"&gt;nrom***@KFO.local&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.dropbox.com/s/t1lb6l13n3m5mtu/AddingnromeroEd.png?dl=0" title="https://www.dropbox.com/s/t1lb6l13n3m5mtu/AddingnromeroEd.png?dl=0"&gt;Dropbox - AddingnromeroEd.png&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday, I successfully added ykfp\Nrom*** as a user to one geodatabase.&amp;nbsp; But my domain manager had given me ykfp\nrom*** as the login.&amp;nbsp; I haven't heard back from the domain manager when I asked him to check on the capitalization.&amp;nbsp; Does capitalization matter in Windows OS authentication?&amp;nbsp; I don't have a way to test this to see if it will work for the user.&amp;nbsp; I can't make an account on a PC in the domain as this user to try the geodatabase connection as ykfp\Nrom*** because I don't know the user's password.&amp;nbsp; Tomorrow, I plan to be in the user's office where I hope to work with him to install Desktop and add his geodatabase connections.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 19:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433679#M16733</guid>
      <dc:creator>PaulHuffman</dc:creator>
      <dc:date>2019-04-04T19:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is \n in a windows domain user name interpretted as a line feed?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433680#M16734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In python, \n is interpreted as a newline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;print("ykfp\nrom***")&lt;BR /&gt;ykfp&lt;BR /&gt;rom***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\N is worse in python&lt;/P&gt;&lt;P&gt;print("ykfp\Nrom***")&lt;BR /&gt;&amp;nbsp; File "&amp;lt;ipython-input-4-4938522fd86a&amp;gt;", line 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print("ykfp\Nrom***")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;BR /&gt;SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 4-5: malformed \N character escape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because they lack raw encoding in python and in the world of Unicode, things are going to get worse.&lt;/P&gt;&lt;P&gt;The underscore _ is pretty well the only safe non-alphabetic/numeric acceptable character in many situations... don't know if it applies to your but an FYI at least&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 20:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433680#M16734</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-04T20:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is \n in a windows domain user name interpretted as a line feed?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433681#M16735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was just working with Miguel at ESRI tech support who was amazed at this behavior on my server, and then was able to get the same kind of error using the Create Database User tool on his end with both Arc Catalog 10.5 and 10.6.1 when the user name started with n.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think there is a way to escape out of the \n combination in the domain user name when using ArcCatalog &amp;gt;Administration&amp;gt;Add User&amp;gt;Create Database User?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to use SSMS to add this ykfp\nrom*** login to my instance, geodatabases and roles,&amp;nbsp; but I was hoping that tomorrow I could demonstrate a simple workflow on how to add users and privileges using ArcDesktop tools to a fairly new employee that I want to take over as administrator for me soon.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 22:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433681#M16735</guid>
      <dc:creator>PaulHuffman</dc:creator>
      <dc:date>2019-04-04T22:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is \n in a windows domain user name interpretted as a line feed?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433682#M16736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No clue, but if \n fails, you might want to check for a few more trailing a slash&lt;/P&gt;&lt;DIV&gt;print("\nx\rx\tx\ax")&lt;/DIV&gt;&lt;DIV&gt;x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xx&lt;/DIV&gt;&lt;DIV&gt;There are loads... called escape characters&lt;/DIV&gt;&lt;DIV&gt;&lt;A class="link-titled" href="https://python-reference.readthedocs.io/en/latest/docs/str/escapes.html" title="https://python-reference.readthedocs.io/en/latest/docs/str/escapes.html"&gt;Escape Characters — Python Reference (The Right Way) 0.1 documentation&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Which is why I don't like \ anything in the windows Unicode and/or python world &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/DIV&gt;&lt;DIV&gt;sometimes they throw useful error messages, leaving people a tad confused.&amp;nbsp; Your IT department should have a protocol setup I am sure&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;print("\nx\rx\tx\ax\xx")&lt;BR /&gt;&amp;nbsp; File "&amp;lt;ipython-input-2-fcf9ff201aa5&amp;gt;", line 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print("\nx\rx\tx\ax\xx")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;BR /&gt;SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 12-13: truncated \xXX escape&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 22:39:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433682#M16736</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-04T22:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is \n in a windows domain user name interpretted as a line feed?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433683#M16737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&amp;nbsp; this is a known bug.&amp;nbsp; &lt;A class="link-titled" href="https://support.esri.com/en/bugs/nimbus/TklNMDgyNjc2" title="https://support.esri.com/en/bugs/nimbus/TklNMDgyNjc2"&gt;https://support.esri.com/en/bugs/nimbus/TklNMDgyNjc2&lt;/A&gt;&amp;nbsp;&amp;nbsp; It could turn up with other tools and Arcpy functions and also with /t.&amp;nbsp; Capitalize these if you can. Thanks to Miguel at ESRI Support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 22:00:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433683#M16737</guid>
      <dc:creator>PaulHuffman</dc:creator>
      <dc:date>2019-04-08T22:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is \n in a windows domain user name interpretted as a line feed?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433684#M16738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if they checked the others I listed as well... \a&amp;nbsp; \r&amp;nbsp;&lt;/P&gt;&lt;P&gt;plus all the others that will throw Unicode errors &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2019 00:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-n-in-a-windows-domain-user-name-interpretted-as/m-p/433684#M16738</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-09T00:44:39Z</dc:date>
    </item>
  </channel>
</rss>

