Login issue with DB2 Database using my local account - windows

I have installed DB2 Express-C in my office machine. This machine does not allow me to create new account, so I installed DB2 using my local login account. Database installed successfully.
But when I try to connect to the database, it always says "Username/Password is invalid".
My local user account has appended with the domain name, for example: "INDDEV/Raghav"
"INDDEV" is the domain name, "Raghav" is my username.
I have tried all the possible combination, but am unable to connect
Please help me.
Thanks

The problem comes from your domain user. DB2 does not recognize by default domain users, thus your user cannot be authenticated. You can create a local user for you, OR you can use the instance user OR change the instance configuration to recognize domain users.

Related

Oracle Database Configuration Assistant gives Oracle hom user password is not correct error

I'm trying to create a new database after installing Oracle Database 18c.
when I get to the second page, I always get an error of [DB T-10304] Oracle home user password is not correct.
I get this no matter what I put in there.
Any suggestions? thanks
[![enter image description here][4]][4]
I ran into similar issue with 12c on Windows Server 2016. Because the Oracle Home user is a local account, review the local security policy and verify that it is not blocking "Local account" from accessing the computer over the network.

Anonymous LDAP query - Windows Server 2012

so I have Windows Server 2012 which is running on my virtual machine. I want to have possibility to make anonymous query against LDAP. For example if I'm using software like Softerra LDAP Browser I need to run this program as domain user to be able browse AD groups/users etc. But my point is that I want to be able to do it also as non-domain user(anonymous), or at least using domain user credentials from machine that is not part of the domain.
I was looking for this option in user/group policies, I've grant my user with all privileges that I found - but always with the same result - I was unable to browse LDAP.
So my question is - what have to bet set/changed to be able make anonymous queries against Windows Server LDAP?
I don't know about anonymous queries, but you said that you would also be happy using a domain user from a non-domain machine.
That should work fine. Create a domain user with sufficient privileges to see what you want.
Install a certificate on your LDAP server (or use Kerberos, but that's more annoying on the non-domain machine).
Then do LDAP authentication using the username and password of that domain user.
It works well.

Getting Error ORA-01017 invalid username/password after changing computer name

recently I had to change my computer name and now I am getting this error whenever I try to connect to my local oracle 11g express edition database via OracelSQL Developer.
I have already changed my listener and
tnsnames(D:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN) to reflect the my
computer's new name but I am still getting this error.
Any help would be appreciated.
Thank you
You must be using operating system authentication OPS$ prefixed username. Connect with sys or system and fix your DB user account. Search for OPS$ user in Oracle documentation for more details.

Unable to grant DB2 privileges to my domain account

I am unable to grant my primary work domain account the privileges to create database objects in DB2. Here is my current setup:
OS is Windows 7 enterprise 64-bit
DB2 version 9.7 Enterprise edition
DB2 extended security was enabled during installation
My domain account is member of the Administrators group as well as the DB2ADMNS and DB2USERS groups.
The DB2ADMNS group is granted all authority privileges.
DB2_GROUP_LOOKUP is set in the environment to LOCAL
DB2 sysadm_group is set to DB2ADMNS
The DB2 instance has been restarted but my domain user still cannot create database objects like bufferpools. I created a local administrator account and added it to the DB2ADMNS and it was able to create the bufferpool objects.
I tried using the db2admin user to give all authorization privileges to my domain account in the DB2 control center but my domain account is not showing up in the drop down containing the users.
I removed the DB2_GROUP_LOOKUP environment variables and restarted the DB2 instance then tried to give my domain account user enough authorization privileges and now my domain account in showing up in the drop down. Once the changes are applied, I restarted the database instance and tried the bufferpool creation and it still fails.
Am I missing a configuration step in giving my user enough privileges? I need to have this configured as the IBM product I am installing fails if this privilege is not working. Thanks.
In 9.7 DB2ADMNS is not supposed to be able to access any data. SYSADM level accounts are reserved for maintenance tasks and should not be used for data access. Remove your connecting user from any special groups, and grant after that the proper access rights.

Oracle enterprise manager Net Services Administration refuses SYS login

To configure heterogenous services for connecting to a SQL-SERVER 2005, we are trying to configure the Oracle 11gR2 database via EM.
We login using the SYS account and when we click on the listener link , Net Services Administration login page comes up, when we supply the same username , SYS , it throws out error :
" Validation Error
ERROR: Invalid username and/or password"
We are sure of the username and the password , if it was invalid it would be impossible to login as SYS.
The listener runs outside the database, and if I recall correctly when NSA prompts you it asks for the host login. You need to give the operating system credentials for a user in the DBA group.
Keep it simple..
Just make sure that you have logged in with admin account in your windows system.
If oracle is asking for OS credentials, provide your OS credentials(your windows admin username/password).
give username as "admin"
and password as"your-password".
worked for me!!

Resources