{"id":444,"date":"2026-02-27T04:51:10","date_gmt":"2026-02-27T04:51:10","guid":{"rendered":"https:\/\/mitalgoswami.in\/?p=444"},"modified":"2026-03-06T03:15:31","modified_gmt":"2026-03-06T03:15:31","slug":"%f0%9f%94%90-what-is-ldap-service","status":"publish","type":"post","link":"https:\/\/mitalgoswami.in\/?p=444","title":{"rendered":"&#x1f510; What is LDAP Service? what is DNS?"},"content":{"rendered":"\n<p><strong>LDAP (Lightweight Directory Access Protocol)<\/strong> is a protocol used to <strong>store and manage directory information<\/strong> such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>User accounts<\/li>\n\n\n\n<li>Passwords<\/li>\n\n\n\n<li>Email IDs<\/li>\n\n\n\n<li>Group information<\/li>\n\n\n\n<li>Computer details<\/li>\n<\/ul>\n\n\n\n<p>An <strong>LDAP service<\/strong> allows systems and applications to <strong>authenticate users and retrieve directory data<\/strong> from a centralized server.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">&#x1f5a5;&#xfe0f; What is an LDAP Server?<\/h2>\n\n\n\n<p>An LDAP server is a system that:<\/p>\n\n\n\n<p>&#x2714; Stores directory data<br>&#x2714; Authenticates users<br>&#x2714; Allows centralized login<br>&#x2714; Manages access control<\/p>\n\n\n\n<p>Popular LDAP server software:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>OpenLDAP<\/strong><\/li>\n\n\n\n<li><strong>Microsoft Active Directory<\/strong><\/li>\n\n\n\n<li><strong>Apache Directory Server<\/strong><\/li>\n<\/ul>\n\n\n\n<p>&#x1f4c2; How LDAP Works (Simple Flow)<\/p>\n\n\n\n<p>1&#xfe0f;&#x20e3; User enters username &amp; password<br>2&#xfe0f;&#x20e3; Client sends request to LDAP server<br>3&#xfe0f;&#x20e3; Server checks directory database<br>4&#xfe0f;&#x20e3; If correct \u2192 Access granted<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">&#x1f3eb; Real Example (College Network)<\/h2>\n\n\n\n<p>In a college lab:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>200 computers<\/li>\n\n\n\n<li>1500 students<\/li>\n\n\n\n<li>100 staff<\/li>\n<\/ul>\n\n\n\n<p>Instead of creating accounts on each computer &#x274c;<br>Use LDAP server &#x2705;<\/p>\n\n\n\n<p>Students can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login on any lab PC<\/li>\n\n\n\n<li>Access shared resources<\/li>\n\n\n\n<li>Use WiFi authentication<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">&#x1f511; Where LDAP is Used<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Linux login authentication<\/li>\n\n\n\n<li>Email servers<\/li>\n\n\n\n<li>WiFi authentication<\/li>\n\n\n\n<li>Web applications<\/li>\n\n\n\n<li>VPN access<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What is a DNS Server?<\/h2>\n\n\n\n<p>A <strong>DNS (Domain Name System) server<\/strong> is a server that <strong>translates domain names into IP addresses<\/strong> so that computers can locate each other on a network or the internet. &#x1f310;<\/p>\n\n\n\n<p>Computers communicate using <strong>IP addresses<\/strong>, but humans prefer using <strong>domain names<\/strong>. The DNS server converts the <strong>domain name \u2192 IP address<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example<\/h3>\n\n\n\n<p>When you type:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">www.google.com<\/pre>\n\n\n\n<p>The DNS server converts it to an IP address such as:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">142.250.183.206<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Example of DNS in Ubuntu (BIND9)<\/h2>\n\n\n\n<p>A popular DNS server software in Ubuntu is <strong>BIND9<\/strong>.<\/p>\n\n\n\n<p>Install command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install bind9<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">What is FTP in Ubuntu?<\/h2>\n\n\n\n<p><strong>FTP (File Transfer Protocol)<\/strong> is a <strong>network protocol used to transfer files between a client and a server over a network or the internet<\/strong>. In <strong>Ubuntu<\/strong>, FTP is commonly used to <strong>upload, download, and manage files on a server<\/strong>. &#x1f4c2;<\/p>\n\n\n\n<p>FTP allows users to connect to a server using an FTP client and perform file operations such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Upload files<\/li>\n\n\n\n<li>Download files<\/li>\n\n\n\n<li>Delete files<\/li>\n\n\n\n<li>Create directories<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How FTP Works<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A <strong>client<\/strong> connects to an FTP server using an FTP client (like FileZilla or command line).<\/li>\n\n\n\n<li>The user provides <strong>username and password<\/strong>.<\/li>\n\n\n\n<li>After authentication, the user can <strong>transfer files between the local computer and the server<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">FTP Server in Ubuntu<\/h2>\n\n\n\n<p>In Ubuntu, a commonly used FTP server is <strong>vsftpd (Very Secure FTP Daemon)<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install FTP Server<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update<br>sudo apt install vsftpd<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Start FTP Service<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start vsftpd<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Check Status<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status vsftpd<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Features of FTP in Ubuntu<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fast file transfer &#x1f4c1;<\/li>\n\n\n\n<li>Remote file management<\/li>\n\n\n\n<li>User authentication for security<\/li>\n\n\n\n<li>Supports large file transfers<\/li>\n\n\n\n<li>Works with FTP clients like <strong>FileZilla<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What is Web Service in Ubuntu?<\/h2>\n\n\n\n<p><strong>Web service in Ubuntu<\/strong> refers to the <strong>service that allows a server to host and deliver websites or web applications to users through the internet or a network<\/strong>. &#x1f310;<\/p>\n\n\n\n<p>A web service works using <strong>web server software<\/strong> such as <strong>Apache<\/strong> or <strong>Nginx<\/strong>, which handles requests from web browsers and sends web pages (HTML, CSS, images, etc.) to users.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How Web Service Works<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A user enters a <strong>website URL<\/strong> in a browser.<\/li>\n\n\n\n<li>The request is sent to the <strong>web server<\/strong>.<\/li>\n\n\n\n<li>The web server processes the request.<\/li>\n\n\n\n<li>The server sends the <strong>web page back to the browser<\/strong>.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Common Web Servers in Ubuntu<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Apache2<\/strong>\n<ul class=\"wp-block-list\">\n<li>Most widely used web server.<\/li>\n\n\n\n<li>Easy to configure.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Nginx<\/strong>\n<ul class=\"wp-block-list\">\n<li>High performance and lightweight web server.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Web Service in Ubuntu (Apache)<\/h2>\n\n\n\n<p>Install Apache:<\/p>\n\n\n\n<p>Install Apache:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update<br>sudo apt install apache2<\/pre>\n\n\n\n<p>Start the service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start apache2<\/pre>\n\n\n\n<p>Check status:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status apache2<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Features of Web Service<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hosts websites and web applications<\/li>\n\n\n\n<li>Handles HTTP and HTTPS requests<\/li>\n\n\n\n<li>Supports multiple users simultaneously<\/li>\n\n\n\n<li>Provides secure communication using SSL<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LDAP (Lightweight Directory Access Protocol) is a protocol used to store and manage directory information such as: An LDAP service allows systems and applications to authenticate users and retrieve directory data from a centralized server. &#x1f5a5;&#xfe0f; What is an LDAP Server? An LDAP server is a system that: &#x2714; Stores directory data&#x2714; Authenticates users&#x2714; Allows [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-unix"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/posts\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=444"}],"version-history":[{"count":3,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":451,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/451"}],"wp:attachment":[{"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}