Gitlab SAML logout issue - gitlab

I have the old VM that running the enterprise version of Gitlab.
This version of Gitlab was already integrated with SAML, it managed to perform login and logout.
I already clone that VM and create the new VM and reconfigure it to Gitlab community version and managed to integrate with SAML.
However, during logout, the new VM was redirecting to the old VM IP address.
I already configured the logout syntax at gitlab.rb as per below:
idp_slo_target_url' => 'https://abc.com.au/idpaa/saml2/idp/SingleLogoutService.php','
From the log, I saw below message:
Redirected to https://10.1.7.11:8443/gitlab/users/auth/saml/spslo
May I know is there any other place that makes the new VM is pointing to the old gitlab URL?
I already grep in the new server, but I cant find any.
Thank you.

Related

google cloud disabled publickey?

I was sshd_config change disabled publickey then I don't connecting server.
I have a user but user have not privillege.
Google cloud debian 9 server, bitnami wordpress deploy server
Please check documentation that describes how to connect to the instance using ssh.
You may also check troubleshooting SSH documentation.
You may also try to use gloucd compoute ssh. where you can even connect as a service account
If above does not work for you. Please update your question with more details like: precise error message that you get, user,

git clone from Linux to TFS git repo

I've been trying to solve an issue with Git repo that is hosted on an on-prem TFS2017, cannot do a "git clone" command from a linux machine which is not in the domain, keep getting
"fatal: Authentication failed for".
The user i am using is a local user on the Linux machine (same name as domain user, same password)
the user is granted user in the Git repo
While working same drill from a domain joined Windows machine, everything works fine (i use Git Bash).
Ive created ssh key on the Linux and updated it in the TFS user profile as public, didnt help.
Here is a TFS activity log:
In the picture we can see the TOP request has no Authentication, no identity and Application (when trying to access from Linux), yet on the bottom, same access from Git Bash (Win machine), Authentication type is "Negotiate", there is Identity name and the Application.
TY guys.
Ive managed to overcome the issue, one of the steps was to configure the SSH authentication..1. On the Linux Machine, ive added the TFS server to HOSTS file and installed Git client. Then ive followed this guide guide for ContOS >> AD authentication, i followed up to step 4.2. On the Linux machine generate Public Key using "ssh-keygen", and use this key as 3. On the TFS web page, at the user icon, we have security tab, went to SSH public keys and added the generated key from Linux (must be from public key, not private). 4. Eventually from the Linux i type in the full repo address, for example git clone ssh://tfs.domain.com:22/Defaultcollection/_projectname/git It will prompt you to authorize the RSA connection, and that's it.
Hope that helps.
First, please double confirm you have followed this tutorial-- Use SSH key authentication to connect to your Git repos. Avoid adding whitespace or new lines into the Key Data field-they can cause VSTS to use an invalid public key.
Besides, you could also try to configure Basic Authentication on your TFS Application Tier server or use Git Credential Managers to authenticate from Linux. This will narrow down if the issue is related your ssh authentication type or environment on your Linux machine.
Try to disable the firewall on the Linux build agent during the git clone command test.

View file structure of my Azure Linux VM

I'm new to Azure; I wanted to take advantage of being able to run PrestaShop (e-commerce software) and Azure marketplace has single VM plan. I followed this video and got it up and running. Trouble is to login to the site's Admin interface you need to know the secret folder that is randomly created by the installer. I have tried the Azure Storage Explorer , but nothing useful is displayed. I also tried to login using putty and SSH, but keep getting access denied. I suspect I need to configure an endpoint for port 22, as described here in order to get ftp working, but apparently this is not possible with a free subscription (?).
Any help as to how I can find that folder name would be appreciated.
With Azure Free Trial Subscription, I can successfully login into the PrestaShop Azure Linux VM without any issue.
Note: No need to configure an endpoint for port 22.
To connect to your Linux virtual machine using SSH, use the following command: ssh username#IPAddress and password.
If you are facing an issue with your login, you can reset the password.

SonarQube and Azure Active Directory Domain services

Since Oauth 2 support will only be here with SonarQube 5.4 I'm trying to make it work with Azure AD DS (preview)
The principle is Azure AD can have a emulation point for legacy AD domain services supporting ntlm kerberos ldap and so on (think of it as a domain controller basically)
I've configured the AAD DS part and updated the dns servers of my sonarqube machine.
The domain resolves properly from sonarqube VM. Then I installed the LDAP module and added this to the sonar config file.
But sonarqube doesn't work anymore when I try that (also tried variations of that)
Note that I'm running on Ubuntu (up to date) with sonarqube 5.3 and the machine is not "joined" to the domain.
Any idea how to make it work? I've found only little documentation about that.
Thanks
sonar.security.realm=LDAP
ldap.windows.compatibilityMode=true
sonar.forceAuthentication=true
ldap.url=ldap://10.0.0.5:10389
ldap.user.baseDn=cn=users,dc=baywetdev,dc=onmicrosoft,dc=com
sonarqube released support for AAD via Oauth on march the 8th.
This is now the recommended approach.
For more information see https://github.com/SonarQubeCommunity/sonar-auth-aad

Neo4j: Ubuntu hosted endpoint protection on Microsoft Azure

I am trying to host the neo4j server on an Azure Ubuntu VM and opened up the endpoint to enable access from my machine so that I can access the webadmin portal and also debug Asp.net portal code from my machine.
I am however unable to understand how to password protect the access to neo4j endpoint on that VM so that its not open for everyone on the net. looking for at least a simple protection like:
http://<user>:<pass>#myneo4j.cloudapp.net:7474/db/data
Is there any guide on how to setup the neo4j on the Azure cloud that I can refer to.
I found authentication-extension but unable to understand if this is all i need when setting up connection via Neo4jClient
Regards
Kiran
If you use ubuntu you can set up nginx as reverse proxy: http://joewhite86.wordpress.com/2013/05/29/secure-neo4j-webadmin-using-http-auth-and-ssl/
Once I downloaded the right version of 'authentication-extension' and put it in the plugin folder, it was exactly what i wanted,
added few users and pointed the URI to database as below :
http(s)://<user>:<pass>#myneo4j.cloudapp.net:7474/db/data.
and that's all I needed to protect my back end like old fashion SQL server ways.

Resources