How to disable Standard Login Tab from GitLab home Page - gitlab

I am using GitLab Community Edition Version - 11.3.4 (30f019d).
I have integrated our Gitlab with Atlassian Crowd, Centralized login is working perfectly, now I am looking for a way to disable Standard Login tab from GitLab home Page. Since we have already granted GitLab Admin permission to my Crowd-AD account.

Team, For the same, i have disabled the below settings, Post that i can able to see only my Crowd login Section. Under Admin--> Settings--> General--> Sign-in restrictions

Related

GitLab Account Pending approval from administrator

Your account is pending approval from your GitLab administrator and hence blocked. Please contact your GitLab administrator if you think this is an error
Well as the message states. You have created an account on a self-hosted GitLab instance.
The administrators of that instance have configured it so that they have to manually approve every account that is created. This is usually to prevent spam and exploiting of publicly reachable instance.
When this setting is enabled, any user visiting your GitLab domain and signing up for a new account using the registration form must be explicitly approved by an administrator before they can start using their account. In GitLab 13.6 and later, this setting is enabled by default for new GitLab instances. It is only applicable if sign ups are enabled.
- gitlab docs; link
The first time you access your self-hosted Gitlab it asks you to set up a password. Then you can access using user root and the password you set up. Hope it helps!
I just ran into the same problem (Vbox, VM; self-managed gitlab on my VM's static IP).
I remembered installing with export GITLAB_HOME=/srv/gitlab
sudo more /srv/gitlab/initial_root_password
in that file is a long password which I used along with root as the user.

Website hosted on gitlab pages asks to sign in

My website here asking username and password. No error in console. Website built in jekyll. This starts now a days. Before I was able to deploy the same script. Is this related with any gitlab pages permission issue?
To fix this (from your gitlab repo) try going to Settings > General and scroll down to Visibility, project features, permissions. Now update "Pages access control" to "Everyone."

gitlab crowd exist user ; can't find menu Under “Connected Accounts”

I trey gitlab-ee-11.8 ; gitlab-ce-11.8
new user can login and create account from crowd to gitlab ;
but exist user can't.
Sign-in failed because Email has already been taken
https://docs.gitlab.com/ee/integration/omniauth.html#enable-omniauth-for-an-existing-user
Enable OmniAuth for an Existing User
Existing users can enable OmniAuth for specific providers after the account is created. For example, if the user originally signed in with LDAP, an OmniAuth provider such as Twitter can be enabled. Follow the steps below to enable an OmniAuth provider for an existing user.
Sign in normally - whether standard sign in, LDAP, or another OmniAuth provider.
Go to profile settings (the silhouette icon in the top right corner).
Select the “Account” tab.
***Under “Connected Accounts” select the desired OmniAuth provider, such as Twitter.** where ? I can't find!!!*
The user will be redirected to the provider. Once the user authorized GitLab they will be redirected back to GitLab.
follow code
button_based_providers
crowd is form_based_providers
so only twitter will have "Connected Accounts" menu
crowd not support it !

GitLab CE: Block new users after manual registration

I am locking for the right GitLab CE server configuration to block new users, which signed up manually via the sign-up page (username / name / password). This users should be blocked until manually confirmed by an admin.
I found options to block new (auto-created) users for LDAP and OmniAuth in gitlab.yml but not for plain user accounts, who just registered on the sign-up page:
## LDAP settings
ldap:
servers:
main:
block_auto_created_users: true
## OmniAuth settings
omniauth:
block_auto_created_users: true
I want to let the users register themselves, so completely disabling this the admin area is not wanted:
How can I configure GitLab CE to block new users who just signed-up so that I have an admin confirmation for new users (not using LDAP or OmniAuth)?
GitLab version is 8.5.7 CE.
You now (October 2020) have an alternative with GitLab 13.5:
Required approval for new user registration
To reduce the operational burden on GitLab administrators without compromising security, GitLab 13.5 introduces a new instance-level option to require administrator approval for any new user accounts.
This option is disabled by default but when enabled, will require manual approval by instance administrators before users that completed the sign-up process can access the instance.
See Documentation and Epic.
And:
See GitLab 13.6 (November 2020)
Admin approval required by default for new user registrations
In GitLab 13.5, we introduced the option to require administrator approval for new user registrations.
To increase security of our default configuration, GitLab 13.6 makes this option the default experience for new instances.
We have also introduced email notifications to instance administrators when a new signup occurs and to users when their registration is approved.
Email notifications at these critical steps in the process help reduce the turnaround time to onboard users when administrator approval is required.
See Documentation and Epic.

SharePoint caches incorrect credentials

Every morning when i fire up my VM and IE (in my host OS) and go to my SP site it always logs me on automatically as DOMAIN\george which is a user I created for testing permissions.
So every morning after that I click "sign in as a different user" to sign in as my sys admin user instead and most days that is the only user I use. Any idea why george's credentials are being cached?
Part of "firing up my VM" is running a script that starts IIS as well as some services. I'm not entirely sure SharePoint is responsible for this, could very well be ASP.Net.
EDIT: I've already tried clearing my cookies.
Had a very similar problem! To solve it, go to 'User Accounts' under the Windows Control panel.
Navigate to 'Manage your network passwords'. Select the domain you wish to clear and select 'Remove'.
You should now have a clean login dialogue box and when you check the 'remember me' box, this will be stored as the login default for that domain.
I was able to remove the test login credentials using the User Account control panel applet in Windows 7
Open the Manage Credentials link.
Find the Sharepoint Login in the Windows Vault.
Expand the address for the site
Remove the test login for this site.
After doing this I am no longer prompted for the login and login as different user prompt.
Have you checked that there are no logins and passwords being stored by the browser? Assuming you are using IE, see this article on how to clear them.
If DOMAIN\george is same user ID you are logging in to the VM ? If that is the case try changing the Setting in IE that dictates what user name is send to the Server. Just go to Tools - > Settings - > Security and Click on Custom Level, scroll down to bottom and you will find User Authentication option Select the Prompt for User name and Password.
It could also be that you are using IE8, that caches my credentials as well it seems.
IE8 stores credentials for favourites it seems, don't ask me why. What you should do is log in as the needed user, then save a new favourite (or add it to the favourites bar by dragging it). Then use that link to go to your site.

Resources