Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [authentication]

The process of identifying the party logging into a system.

3
votes
0answers
16 views

Slow Connection to Azure SQL Database using SQL Server Authentication

In SSMS, when connecting to any of our Azure SQL Databases using service accounts and SQL server authentication, the connecting itself can take between 10 to 15 seconds to establish. Once connected, ...
0
votes
2answers
24 views

Source of Entry in Postgres

I want to make a small web app using Postgres as database. Is there a way to accept database access if and only if the SQL command is coming from my app, blocking any other access to the database?
1
vote
0answers
13 views

SSRS Azure SQL Database Active Directory - Universal with MFA

Does anyone know when support for Active Directory - Universal with MFA will be included in Reporting Services? It's available in SSMS. Visual Studio 2017 Data Source Properties Reporting Server ...
0
votes
0answers
14 views

Authenticate Oracle Users (DBs on Linux Servers) through AD Without Buying Any New Products

We are wanting to authenticate Oracle Users (DBs on Linux Servers) through Active Directory Without Buying Any New Products. We don't want to buy any Oracle products such as OID/OUD etc. 1.) Is there ...
1
vote
2answers
39 views

Disable / bypass authentication in PostgreSQL

I need to run benchmarks (pgbench) in different environments on different versions of PostgreSQL. Authentication works inconsistently and is a generally huge headache / adds a lot of fragile ...
0
votes
0answers
32 views

.Net Connector -Authentication error - Reading from the stream has failed

We have recently found too many Authentication Errors in our application. It is not continuous, however it appears multiple times in a day and gets stuck. We are having ASP.Net Application hosted on ...
1
vote
1answer
59 views

Can I query from two databases if my web application is connected to one database?

I have a local database, DB1, that I created and is connected to my web application. My web application takes in stored procedures from DB1 and queries them. My application connects to SQL Server ...
0
votes
1answer
27 views

Am I on the right track for a customer user login database design?

I am designing a back end database that will handle registration and login. I need to be able to deal with different account and authentication types. The main issue here, that is different from ...
0
votes
1answer
29 views

How to use mysql_plugin utility?

I tried to follow this official documentation to install unix_socket plugin using mysql_plugin utility but getting an error that Cannot read plugin config file unix_socket. Bad format in plugin ...
1
vote
0answers
49 views

sys.login_token doesn't include particular windows groups while they can be listed by sys.database_principals

When I query SELECT principal_id, name, [type] FROM sys.login_token I found some local windows groups were not there. However, when I check by SELECT principal_id, name, [type] FROM sys....
0
votes
1answer
86 views

How to get Kerberos working against a named SQL Server instance in Power BI Report Server?

I have a Power BI Report Server working perfectly connecting to SQL Server machines with a default instance only. I can also connect to SSAS named instances with the proper SPNs and by allowing ...
0
votes
1answer
52 views

Percona PAM with AD authentication using SSSD

I have installed percona PAm plugin on my Percona server as shown below: mysql> show plugins; ... | auth_pam | ACTIVE | AUTHENTICATION | auth_pam.so | GPL | | ...
1
vote
0answers
28 views

Which client authentication methods make sense when calling `initdb`?

Postgres offers many client authentication methods: Trust Authentication Password Authentication GSSAPI Authentication SSPI Authentication Ident Authentication Peer Authentication LDAP Authentication ...
1
vote
2answers
96 views

How to Disable Windows Authentication in SQL Server

I would like to say that as per my Organization requirement they want to Disable Windows Authentication in SQL Server. My Environment is as follows:- 1) Microsoft Azure 2) Windows Server 2016 3) ...
0
votes
1answer
69 views

Running loadjava with Windows authentication

I want to run following command under Windows with Oracle Database 12c installed: loadjava -force -genmissing -r -user username/password@database -verbose core-1.7.jar The problem is that I use ...
1
vote
1answer
82 views

How to verify if given user@host with 'password' exists in MySQL 8.0+?

I write sanity check script for an application. One of the tests is supposed to verify that a given user@host with 'password' exists in MySQL. I'm using simple native hash passwords. In MySQL5.7- ...
1
vote
1answer
165 views

Can the new “SCRAM-SHA-256” password authentication mechanism in Postgres 10 and later work with any JDBC drivers?

Postgres 10 added support for a new password authentication mechanism, Salted Challenge Response Authentication Mechanism (SCRAM-SHA-256, see RFC 7677). Discussed by Michael Paquier. ➥ Can this ...
0
votes
1answer
201 views

Can `listen_addresses` system configuration setting in Postgres stop pre-authentication exploits?

You can set various configuration parameters for Postgres by either editing the postgresql.conf file manually or by calling ALTER SYSTEM commands. One of those config settings is listen_addresses. ...
1
vote
2answers
434 views

Can't change authentication mode from Windows to both SQL Server and Windows

As the title suggests I'm having problems changing the authentication mode from Windows to both SQL Server and Windows mode in version 12.0.2. I have tried right right-clicking the server, go to ...
0
votes
1answer
28 views

Integrated Authentication vs? [closed]

my coworker and I had a debate and I am looking for Reddit to resolve it! We have PHP web apps running on IIS and are looking to setup the security to the database using one approach: -What would you ...
0
votes
2answers
39 views

Where is the cache for the MySQL caching_sha2_password auth plugin stored?

Where is the cache for the new default authentication plugin caching_sha2_password in MySQL 8 stored? I want to know for future reference how to clear it in case I ever run into any problems using it.
0
votes
1answer
44 views

ISO 27001 - resetting passwords for SQL Server accounts

We are implementing security changes in order to pass an ISO 27001 audit. We are in the process of setting all domain accounts (user accounts, admin accounts, service accounts) to have their passwords ...
1
vote
1answer
127 views

Cannot add Network Service as User/Login

I want to setup ProGet on a 2016 server with SQL Express and IIS. Both the service and IIS web runs under the Network Service user. None seem to be able to access the Database on a local SQL Express ...
0
votes
1answer
70 views

Authentication type differences in SQL Server

I want to know what is the difference between authentication types(NONE, WINDOWS, INSTANCE) in sys.database_principals table. I can't find clear explanation in documentation. Thanks
2
votes
1answer
43 views

Where is authentication information saved in master?

When using SQL Server Authentication mode, I know that usernames and hashed passwords are saved in the master database. I wonder is there a way to retrieve that information? If yes, which tables ...
2
votes
2answers
338 views
4
votes
1answer
593 views

Using host names in `pg_hba.conf`?

According to the PostgreSQL documentation: A host name specification that starts with a dot (.) matches a suffix of the actual host name. So .example.com would match foo.example.com (but not ...
0
votes
1answer
861 views

The server principal “loginname” is not able to access the database “SSISDB” under the current security context

We have a stored procedure which calls an SSIS package from the SSISdb database. It works when run as myself using my domain account, however the VB6 application which will call this connects to the ...
4
votes
1answer
13k views

What is mysql_native_password?

I was trying to set password for root. When I run: mysql> SELECT * from mysql.user where User="root"; It shows: +-----------+------+-------------+-------------+-------------+-------------+-------...
1
vote
1answer
212 views

Remote login via rman working for one instance but not another

I have Oracle 12c installed on two servers. On server UAT I have an instance RMCAT that hosts an RMAN recovery catalog. On server EXT I have two instances, extdev02 and extuat01. I can use the ...
1
vote
1answer
228 views

MySQL - admin user is able to change password of the super user

I am new to MySQL administration and hence this question - I wanted to create a MySQL admin user who wasn't the super-user. I assumed Amazon RDS MySQL community server will be a good template to work ...
2
votes
0answers
399 views

Unable to start Oracle Listener - “The user name or password is incorrect”

I am trying to install Oracle Database 12c on a Windows Server 2012 machine. The installation goes well for the most part, except that I get the error "Oracle Net Services configuration failed" (that ...
-2
votes
4answers
242 views

Windows authentification to SQL Server authentification

How to change login name from Windows authentification to SQL Server authentification?
3
votes
1answer
2k views

psql, I try to connect to a database and I get “psql: FATAL: Peer authentication failed for user ”, why?

I'm using psql (9.2.23) on my Dell Latitude 3540 laptop running Linux CentOS 7. I want to do a simple thing: create a database username and log in as that username. My operating system username is "...
2
votes
1answer
91 views

How do I enable md5 authentication for only one user?

I just installed Postgres 9.2 on CentOS 7. I want to keep peer authentication for all my users except one, which I would like to be able to access via "psql" through any user's account. I tried ...
1
vote
0answers
106 views

Best way forward for setting up Debian 9 / MariaDB (10.1.26-0+deb9u1) with root user Adminer access

I have a new Debian 9 LAMP server (includes MariaDB v10.1.26 rather than MySQL). I note that in this build, the debian-sys-maint user no longer exists. Instead a unix_socket is used to grant root user ...
2
votes
1answer
109 views

how to create ambari database backup without enter password

We configure the file .pgpass as follows in order to create database backups without entering a password: -bash-4.2$ more .pgpass localhost:5432:postgres:ambari:bigdata -bash-4.2$ pwd /var/lib/pgsql -...
1
vote
1answer
181 views

pg_hba.conf entry query

I'm trying to formulate a rule from pg_hba.conf file. Thus far I have understood that pg_hba.conf file is used to give access to the specific user for a specific host. But I just want to take a second ...
0
votes
0answers
3k views

unable to start psql : no pg_hba.conf entry for host “::1” , user “postgres”, database “postgres”, SSL off

I am unable to connect using psql to PostgreSQL 9.6 on Windows 10. I saw almost all the StackExchange questions regarding this error. While installing Postgres it asked for superuser password and I ...
0
votes
2answers
87 views

Fail to login on Sql server with DNS but not with IP

I'm facing a strange problem : I have a sql server on the IP 80.248.XXX.XXX I've also create an Alias on SQL Server like servername.sql.mydomain.com with this tutorial : https://www.mssqltips.com/...
0
votes
0answers
59 views

Permissions via Trusted Connection partially working

Issue on apparent partial permissions but cant pinpoint. I have SQL-Server that allows trusted connections for Windows Authenticated users. C#/WPF app connection no problem. The database has some ...
2
votes
2answers
472 views

MongoDB Cluster - Can't access member of shard with credentials

I have a Sharded Cluster and I am trying to access a specific member of a replica set within a shard. When connecting to the mongos it is fine, but when using the same credentials on a member of the ...
0
votes
0answers
77 views

How to make Oracle accept any password for login?

We have an old application which we need data and reports from. The application is configured to retrieve data from Oracle DB and the login username and password are hardcoded in the application. ...
3
votes
2answers
2k views

Add host to existing user @ Mysql with the same permission

I would like to add another host for existing users at my DB. I want this new record to have a same privileges with the existing user as well. I saw this thread https://stackoverflow.com/questions/...
4
votes
1answer
591 views

set Windows authentication for postgres

I'm trying to set Windows authentication for a postgres server. The process is not well documented and makes the whole thing, obscure. I found this doc but it is quite unclear. In the necessary ...
1
vote
1answer
117 views

Sql servers are using Kerberros and NTLM Authentication [closed]

Lately I have been facing failed connection errors mainly due to servers using NTLM Authentication. In our environment the servers have a combination of ntlm and kerberoos. My question is If i ask my ...
1
vote
0answers
184 views

Why MS SQL Express cannot find my local Windows user?

First of all: My Images use german as a language, sorry for that but maybe you find the problem though. So I am setting up a SQL Database on a MS SQL Server 2016 Express. While doing so I am using ...
1
vote
0answers
42 views

SQL-Server for Linux WORKGROUP authentication handling

I installed SQL-Server for Linux on a linux Centos 7 distro, it works fine, but I need a workgroup authentication. It's required by the client (SAGE Ligne 100) which runs on a Windows workstation. ...
4
votes
1answer
3k views

SQL Server SSL Encryption - SelfSign Cert working - why?

I realize this is strange behaviour and I wonder if it is supposed to be working that way when using SQL Server generated self-signed certificate. Client (Management Studio) with "encrypt connection" ...
1
vote
0answers
197 views

Error while connecting to PowerBi

I am trying to connect PowerBi to a local SQL Server instance. It has previously worked with a direct Windows Authentication. I tried changing it to a SQL Server Authentication. No luck. I have ...