Hello,
We are currently using Bitbucket Data Center and have successfully integrated it with Active Directory (AD). While all users can access Bitbucket with their credentials, one user is encountering an issue. Despite entering the correct username and password, they are receiving an "invalid username or password" error. The AD team has confirmed that there are no issues with the user's AD account. Additionally, the necessary permissions have been granted to the user in Bitbucket. Could you kindly advise on how to resolve this issue?
Thank you in advance for your assistance.
Hi @Venkat Jira Admin
If the user exists in Bitbucket and enters the correct password while logging in, we should examine the logs to identify the potential cause of the problem. You can activate the debug logs via the GUI and use a curl command to enable two additional debug loggers. After reproducing the issue, review the logs for the specific error.
I am providing the steps to enable and disable the necessary debug logs, but please note that such cases might require further investigation depending on the error. Therefore, I recommend raising a support case to review the issue.
Procedure to Enable/Disable Debug logs:
curl -u <adminuser> -v -X PUT -d "" -H "Content-Type: application/json" <Bitbucket_BASE_url>/rest/api/latest/logs/logger/com.atlassian.crowd/debug curl -X PUT -u <ADMIN_USERNAME> <Bitbucket_BASE_url>/rest/api/latest/logs/logger/com.atlassian.plugins.authentication/debug
curl -u <adminuser> -v -X PUT -d "" -H "Content-Type: application/json" <bitbucket_url>/rest/api/latest/logs/logger/com.atlassian.crowd/info curl -X PUT -u <ADMIN_USERNAME> <Bitbucket_BASE_url>/rest/api/latest/logs/logger/com.atlassian.plugins.authentication/info
Regards,
Aman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.