When I try to build a connection string (dbGO ADO) in Delphi and use user name and password to connect to a SQL Server Express database using Native SQL client 11, I get "connection successful" however when I click OK to save the connection string it automatically reverts to a blank password.
I tried to define the connection string in Before Connect event however it keeps saying login incorrect and the credentials are correct.
If I enable login prompt the connection works fine after inserting the password.
Is there a way to avoid using the login prompt?
PS the database is on my desktop at home and I try to connect to it from work. I can make an account with a blank password in which case everything works with no login prompt enabled however I would like to have a password.
SOLVED:
The solution to this problem is to set the Persist Security Info to true thnks TLama
Related
Recently setup a connection to an Informix database from Dbeaver (JDBC) but getting error:
Incorrect password or user com.informix.asf.IfxASFRemoteException: testuser#xxx.xx.xx.xx is not known on the database server.
It appears that user account I'm testing with gets the IP address appended to it in the connection string which won't match the user in the Informix database.
I've tested an ODBC connection using the credentials I was given to test with, and they work so seems it's a configuration issue for my Informix connection.
Anyone know how to disable the feature that appends the IP address to the user in the connection?
I typed bolt://localhost:7687 as a connect URL,
neo4j as user and
neo4j as psw
but I faced this error msg
" Neo.ClientError.Security.Unauthorized: The client is unauthorized due to authentication failure."
what should I do please
When you create a new database instance with Neo4j Desktop it will ask you there and then to change the default password of neo4j to something else, and it will not let you keep it as neo4j. This is most likely why you are getting that error.
If you are unable to remember what password you selected at the time of creation of the database, you can change it via Neo4j Desktop by navigating to the 'Manage' cog on that database, click the 'Administration' tab, and change the password there.
I've successfully changed my username and password for my neo4j database and I can successfully connect from my app. However now I cannot log in from the desktop browser.
Every attempt to run :server connect returns the same message, indicating that I'm still attempting to connect as user "neo4j", that the database access requires an authenticated connection, and that connection credentials are stored in my web browser.
I've checked everywhere I can think of for where these credentials are stored so I can change the user I am attempting to authenticate with.
Where is this information stored and how can I change it?
This may solve your issue. In the neo4j Desktop window:
Select your Project in the left pane.
Click the Manage button of the appropriate Graph in the right pane.
Click the Administration tab.
Set your new password.
I found the solution. I had to use :server disconnect and then :server connect, which allowed me to re-enter new credentials.
We need to access the intranet site called as "http://mysite/myapp".
And with using IE, every domain users can access the site without any prompt.
But, if the user try it with Chrome, the logon prompt shows at first. After entering credential just once, the prompt doesn't appear anymore for the access.
I'm just wondering any way to avoid the first-time logon prompt on Chrome.
And we don't want any chrome browser setting or shortcut for white listing per user. Because we can't handle many users Chrome one by one.
Any help will be appreciated.
Thanks.
Check the details of the Integration Authentication in this Chromium documentation:
http://www.chromium.org/developers/design-documents/http-authentication
With Integrated Authentication, Chrome can authenticate the user to an
Intranet server or proxy without prompting the user for a username or
password. It does this by using cached credentials which are
established when the user initially logs in to the machine that the
Chrome browser is running on. Integrated Authentication is supported
for Negotiate and NTLM challenges only.
Basically, execute Chrome with these switches to specify the auth schemes:
Chrome.exe --auth-server-whitelist="MYIISSERVER.DOMAIN.COM" --auth-negotiate-delegatewhitelist="MYIISSERVER.DOMAIN.COM" --auth-schemes="digest,ntlm,negotiate"
I tried running the command line but it wasn't working. I had to configure the same settings via the Windows Registry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"AuthSchemes"="basic,digest,ntlm,negotiate"
"AuthServerWhitelist"="*domain"
"AuthNegotiateDelegateWhitelist"="domain,server.domain.com"
Then I Killed Chrome (cmd line: TaskKill /im chrome.exe) and restarted chrome and tried again and voila. Everything worked as expected.
I tried to set up username and password for Neo4j instance running on linux machine. I couldn't find any documentation.Please let me know how to do this.
After going to localhost:7474 in your browser, go to the :server connect prompt and enter the default login info:
user: neo4j
password: neo4j
it should then ask you to change your password. You're now connected.
The username used on install as a service by default is neo4j, group is also neo4j.
I think you can configure the used user in conf/neo4j-wrapper.conf
# Name of the service
wrapper.name=neo4j
# User account to be used for linux installs. Will default to current
# user if not set.
wrapper.user=
You change the password for an user on Linux with passwd, see man passwd for details.
start the Neo4j server.
- Open the url(http://127.0.0.1:7474/browser/) in browser.
- click on Database icon from left side menu.
- Find "Connected as" -> :server user add , click on and add your desire user name and password in right windows.
Open the url http://localhost:7474/db/data/
this will prompt the user name password authentication windows. enter the added user/password created above and click on OK.
Neo4j doesn't have the support for using a username and password for accessing the database (as you would do with MySQL for instance). So you have to rely on other security mechanisms, like for instance the security groups in AWS, or a firewall. You may want to check the documentation and the other stackoverflow questions on this matter:
http://docs.neo4j.org/chunked/stable/security-server.html#_server_authorization_rules
How to secure access to neo4j remote shell?