<?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 PostgreSQL OS authentification username mapping trouble in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/postgresql-os-authentification-username-mapping/m-p/1338375#M74034</link>
    <description>&lt;P&gt;Hello everyone! I have installed PostgreSQL 14.6 directly from the ESRI website and am now currently configuring it to use the operating system authentification to connect to the databases. Both the install and OS users are on Windows so I use SSPI for authentification&lt;/P&gt;&lt;P&gt;My pg_hba config looks something like this:&lt;/P&gt;&lt;TABLE border="1" width="83.33333333333334%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%"&gt;TYPE&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;DATABASE&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;USER&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;ADDRESS&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;METHOD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%"&gt;host&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;all&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;all&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;::1/128&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;sspi map=root&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;And my pg_ident config looks like this:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;MAPNAME&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;SYSTEM-USERNAME&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;PG-USERNAME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;root&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;john.smith@domain.com&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;postgres&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I want the OS user to be connected as user postgres when the OS authentification is successful. When connecting directly in pgAdmin it works, but I have ran into an issue when trying to do the same in ArcGIS Pro. When trying to connect using the operating system authentification it tries to authenticate using the following:&lt;/P&gt;&lt;TABLE border="1" width="44.4444427099984%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;SYSTEM-USERNAME&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;PG-USERNAME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;john.smith@domain.com&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;john.smith&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Since this entry does not exist in pg_ident the authentification fails. So my question is the following, is there a way to tell ArcGIS to connect as the user postgres using the OS authentification or do I have to create a new user for every person that needs access to the install?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 19:10:36 GMT</pubDate>
    <dc:creator>NicolasRacine</dc:creator>
    <dc:date>2023-10-16T19:10:36Z</dc:date>
    <item>
      <title>PostgreSQL OS authentification username mapping trouble</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/postgresql-os-authentification-username-mapping/m-p/1338375#M74034</link>
      <description>&lt;P&gt;Hello everyone! I have installed PostgreSQL 14.6 directly from the ESRI website and am now currently configuring it to use the operating system authentification to connect to the databases. Both the install and OS users are on Windows so I use SSPI for authentification&lt;/P&gt;&lt;P&gt;My pg_hba config looks something like this:&lt;/P&gt;&lt;TABLE border="1" width="83.33333333333334%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%"&gt;TYPE&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;DATABASE&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;USER&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;ADDRESS&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;METHOD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%"&gt;host&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;all&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;all&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;::1/128&lt;/TD&gt;&lt;TD width="16.666666666666668%"&gt;sspi map=root&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;And my pg_ident config looks like this:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;MAPNAME&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;SYSTEM-USERNAME&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;PG-USERNAME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;root&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;john.smith@domain.com&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;postgres&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I want the OS user to be connected as user postgres when the OS authentification is successful. When connecting directly in pgAdmin it works, but I have ran into an issue when trying to do the same in ArcGIS Pro. When trying to connect using the operating system authentification it tries to authenticate using the following:&lt;/P&gt;&lt;TABLE border="1" width="44.4444427099984%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;SYSTEM-USERNAME&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;PG-USERNAME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;john.smith@domain.com&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;john.smith&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Since this entry does not exist in pg_ident the authentification fails. So my question is the following, is there a way to tell ArcGIS to connect as the user postgres using the OS authentification or do I have to create a new user for every person that needs access to the install?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 19:10:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/postgresql-os-authentification-username-mapping/m-p/1338375#M74034</guid>
      <dc:creator>NicolasRacine</dc:creator>
      <dc:date>2023-10-16T19:10:36Z</dc:date>
    </item>
  </channel>
</rss>

