config/settings.rb
# Curl expects username/password for authentication. However when using GSS-Negotiate not credentials should be needed.
# By inserting in the Kerberos dedicated URL ":@", we give to curl an empty username and password and GSS auth goes ahead
# Known bug reported in http://sourceforge.net/p/curl/bugs/440/ and http://curl.haxx.se/docs/knownbugs.html
Curl expects username/password for authentication. However when using GSS-Negotiate not credentials should be needed.
Curl expects username / password for authentication . However when using GSS - Negotiate not credentials should be needed .
def build_gitlab_kerberos_url
      [
        kerberos_protocol,
        "://:@",
        gitlab.host,
        ":#{kerberos_port}",
        gitlab.relative_url_root
      ].join('')
    end
def build_gitlab_kerberos_url [ kerberos_protocol , "://:@" , gitlab . host , ":#{kerberos_port}" , gitlab . relative_url_root ] . join ( '' ) end
Curl expects username/password for authentication.
Curl expects username / password for authentication .