<?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: Libname with NOPROMPT option not working for the service account in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Libname-with-NOPROMPT-option-not-working-for-the-service-account/m-p/489541#M127863</link>
    <description>&lt;P&gt;It sounds like your database needs authentication to access.&amp;nbsp; There isn't a way round that, you need to provide some sort of credentials.&amp;nbsp; If you need a generic account of some sort then discuss with your database group to setup such a generic account with specific permissions.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2018 10:30:57 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-08-24T10:30:57Z</dc:date>
    <item>
      <title>Libname with NOPROMPT option not working for the service account</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-with-NOPROMPT-option-not-working-for-the-service-account/m-p/489537#M127859</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have executed the below code in order to test the windows authentication.and got an error as shown below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; TEST &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;odbc&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;noprompt&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"server=Servername,14331;DSN=ECTEST5;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;DRIVER=/app/sas/sashome/AccessClients/9.4/SQLServer/lib/S0sqls27.so;Trusted_Connection=yes"&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;QUALIFIER&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = EBusinessTest1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;SCHEMA&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = dbo;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI error trying to establish connection: [SAS][ODBC SQL Server Wire Protocol driver]Insufficient information to connect to&lt;/P&gt;&lt;P&gt;the data source.&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I include the userid and password, then I am able to connect the database. But I need to connect with the DB without using userid and password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please suggest a solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sampath&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 10:21:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-with-NOPROMPT-option-not-working-for-the-service-account/m-p/489537#M127859</guid>
      <dc:creator>bmsampath</dc:creator>
      <dc:date>2018-08-24T10:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Libname with NOPROMPT option not working for the service account</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-with-NOPROMPT-option-not-working-for-the-service-account/m-p/489541#M127863</link>
      <description>&lt;P&gt;It sounds like your database needs authentication to access.&amp;nbsp; There isn't a way round that, you need to provide some sort of credentials.&amp;nbsp; If you need a generic account of some sort then discuss with your database group to setup such a generic account with specific permissions.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 10:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-with-NOPROMPT-option-not-working-for-the-service-account/m-p/489541#M127863</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-24T10:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Libname with NOPROMPT option not working for the service account</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-with-NOPROMPT-option-not-working-for-the-service-account/m-p/489548#M127866</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My id is already provided access to the SQL server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In EG, I am able to connect the Database and am able to query the tables using Windows&amp;nbsp;authentication. For this, I have made the necessary changes in the odbc.ini file as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make the same connection via libname with out passing user/password info as I already logged in using my credentials. I expect the connection should happen automatically as we use NOPROMPT option in the libname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sampath&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 10:58:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-with-NOPROMPT-option-not-working-for-the-service-account/m-p/489548#M127866</guid>
      <dc:creator>bmsampath</dc:creator>
      <dc:date>2018-08-24T10:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Libname with NOPROMPT option not working for the service account</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-with-NOPROMPT-option-not-working-for-the-service-account/m-p/489570#M127873</link>
      <description>&lt;P&gt;Sounds like you've got EG, and connecting to a SAS session running on a linux server?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's working when you provide the DSN for the ODBC connection defined in the odbc.ini file, right?&amp;nbsp; And did you hardcode the username and password into the odbc.ini?&amp;nbsp; If so, that explains why it would work.&amp;nbsp; But when you use NOPROMPT, you are bypassing the ODBC.ini, so you would need to give it the username and password.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 13:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-with-NOPROMPT-option-not-working-for-the-service-account/m-p/489570#M127873</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2018-08-24T13:02:02Z</dc:date>
    </item>
  </channel>
</rss>

