Ubuntu Linux
 
 
 
 
Home      domain setup in linux
ubuntu linux

Ubuntu Technical ocumentation
ubuntu 7.10 to 9.04 Documentation
 
 
LDAP(Lightweight Directory Access Protocol), port number 389. Its works like a windowsActve directory concepts. LDAP directory service is based on a client-server model. One or more LDAP servers contain the data making up the LDAP directory tree or LDAP backend database. An LDAP client connects to an LDAP server and asks it a question. The server responds with the answer. In this document I have descirbes

The overall goal is to have a server computer with the role of "domain controller." My definition of domain controller is a server computer with a central user database that client computers can authenticate against. This guide will accomplish the following goals:

  1. Central user authentication using an LDAP database

  2. Central storage of users home directories using a combination of NFS and SAMBA

  3. The creation of a SAMBA domain that Windows XP Professional SP2 computers can "join" and participate in

  4. A DNS server that can be used on your network

Configure A Fully Qualified Domain Name

We need to change our hostname to be a fully qualified domain name (FQDN). The safe way to do this is to add it to the /etc/hosts file and then edit the /etc/hostname file to reflect the change. Your FQDN if you follow this guide exactly will be dc01-ubuntu.example.local
 

Once again I will post the command and my resulting file for your reference.

vim /etc/hosts
127.0.0.1       localhost 127.0.1.1       dc01-ubuntu dc01-ubuntu.example.local

/etc/hostname

dc01-ubuntu.example.local