<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FreeIPA LDAP authentication Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/freeipa-ldap-authentication/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 04 Jan 2020 13:10:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Configure FreeIPA LDAP Authentication</title>
		<link>https://www.osradar.com/how-to-configure-freeipa-ldap-authentication/</link>
					<comments>https://www.osradar.com/how-to-configure-freeipa-ldap-authentication/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Sat, 04 Jan 2020 13:08:03 +0000</pubDate>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[FreeIPA LDAP authentication]]></category>
		<category><![CDATA[how to configure FreeIPa LDAP authentication]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17162</guid>

					<description><![CDATA[<p>In our previous guide you have learned to Install and Configure GitLab on CetnOS 8. Today we are going to learn that How we can configure FreeIPA LDAP Authentication. What is FreeIPA ? FreeIPA is an Open source Identity management system sponsored by RedHat. GitLab is fully-featured platform for the development of different types of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-freeipa-ldap-authentication/">How To Configure FreeIPA LDAP Authentication</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In our previous guide you have learned to <a href="https://www.osradar.com/?p=17064">Install and Configure GitLab on CetnOS 8</a>. Today we are going to learn that How we can configure FreeIPA LDAP Authentication.</p>



<h2><strong>What is FreeIPA ?</strong></h2>



<p>FreeIPA is an Open source Identity management system sponsored by RedHat. GitLab is fully-featured platform for the development of different types of software&#8217;s providing features like integrated CI/CD, Auto DevOps, Kubernetes integration, GitLab Container Registry e.t.c. By leveraging FreeIPA advanced user management features, it becomes easy to manage user access to your GitLab server. You don&#8217;t have to create users manually on GitLab Server, which can be tedious for large companies.</p>



<h3><strong>Configuring GitLab FreeIPA Authentication</strong></h3>



<h3><strong>Pre-Requisites</strong></h3>



<ul><li>GitLab Server (running)</li><li>FreeIPA Server (running)</li></ul>



<p>Move toward the configuration of GitLab FreeIPA authentication. Simply follow the given steps</p>



<h3><strong>Step 1: Create LDAP Bind user on FreeIPA</strong> </h3>



<p>First of all you will require a user for binding to FreeIPA Server. Go to the FreeIPA Server and create a user called gitlab.</p>



<p>Navigate to <strong>Identity&gt;Users&gt;Add</strong> to add a new user.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="583" height="438" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/add-user-to-gitlab.jpg" alt="" class="wp-image-17243" srcset="https://www.osradar.com/wp-content/uploads/2019/12/add-user-to-gitlab.jpg 583w, https://www.osradar.com/wp-content/uploads/2019/12/add-user-to-gitlab-300x225.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/add-user-to-gitlab-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/add-user-to-gitlab-265x198.jpg 265w, https://www.osradar.com/wp-content/uploads/2019/12/add-user-to-gitlab-559x420.jpg 559w" sizes="(max-width: 583px) 100vw, 583px" /></figure></div>



<p>Provide details as required and then click on &#8220;<strong>Add</strong>&#8221; button. If you want to add another user or want to edit user specification click on the associated buttons.</p>



<h3><strong>Step 2: Configuring GitLab Server</strong></h3>



<p>For users who don&#8217;t have a domain name for FreeIPA Server Configured on DNS, can add the line to /etc/hosts file.</p>



<pre class="wp-block-verse">echo "192.168.3.10 ipa.example.com" | sudo tee -a /etc/hosts</pre>



<p>Now, edit <strong>/etc/gitlab/gitlab.rb</strong> &amp; enable LDAP</p>



<pre class="wp-block-verse">gitlab_rails['ldap_enabled'] = true</pre>



<p>At the end, create the YAML file to hold the IPA connection settings.</p>



<pre class="wp-block-verse">sudo vim /etc/gitlab/freeipa_settings.yml</pre>



<p>Do similar configuration like below:</p>



<pre class="wp-block-verse">main: <br>   label: 'FreeIPA'<br>   host: 'ipa.example.com'<br>   port: 389<br>   uid: 'uid'<br>   method: 'tls'<br>   bind_dn: 'uid=gitlab,cn=users,cn=accounts,dc=example,dc=com'<br>   password: 'gitlabuserpassword'<br>   encryption: 'plain'<br>   base: 'cn=accounts,dc=example,dc=com'<br>   verify_certificates: false<br>   attributes:<br>     username: ['uid']<br>     email: ['mail']<br>     name: 'displayName'<br>     first_name: 'givenName'<br>     last_name: 'sn'</pre>



<p>Note: Replace the mentions with your&#8217;s</p>



<p><strong>ipa.example.com</strong> = FreeIPA Server hostname<br> All appearances of <strong>example</strong> &amp; <strong>com </strong>with with your FreeIPA Server domain components.<br> <strong>gitlabuserpassword</strong> with your GitLab user password.</p>



<p>Save the file then reconfigure GitLab.</p>



<pre class="wp-block-verse">sudo gitlab-ctl reconfigure.</pre>



<h3><strong>Step 3: Login to GitLab via FreeIPA </strong></h3>



<p>As you finished configuring, it&#8217;s time to login to GitLab server. Provide the credentials as on FreeIPA server to login.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="293" height="230" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/freeipa-user.jpg" alt="" class="wp-image-17244"/></figure></div>



<p>Click Sign in to continue to the Dashboard.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="539" height="173" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/dashboard-gitlab.jpg" alt="" class="wp-image-17245" srcset="https://www.osradar.com/wp-content/uploads/2019/12/dashboard-gitlab.jpg 539w, https://www.osradar.com/wp-content/uploads/2019/12/dashboard-gitlab-300x96.jpg 300w" sizes="(max-width: 539px) 100vw, 539px" /></figure></div>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-freeipa-ldap-authentication/">How To Configure FreeIPA LDAP Authentication</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-configure-freeipa-ldap-authentication/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
