Skip to main content

Posts

Showing posts from December, 2015

"samba-tool" to Manage a Linux based Active Directory

A linux based Active Directory server can be managed from a Windows client using the Remote System Administration Tool very easily, and it is the convenient way for system administrators with only Microsoft Windows background. But for administrators who love to use the command line,  "samba-tool" is a great command line tool to manage Active Directory configured on a Linux Box. Throughout this post and on my future posts I will be showing hands-on examples about using the  "samba-tool"  command. User Management using samba-tool Create a new user using samba-tool Syntax: samba-tool user create <username> [<password>] [options] samba-tool user create user1 password --given-name=firstname --surname=surname The above command will create a new user with the name as user1 and password will be password, you can type your desired password. The options --given-name and --surname are to assign user first name and surname. To make the user change ...

Managing a Linux based Domain Controller from a Windows Machine

On my last post I had demonstrated how to setup a Linux machine as Active Directory Domain Controller. On this post I will help you managing a Linux based domain controller from a Windows client machine. Most of the Active Directory administration tasks such as user & group creation, dns management cab be done using Samba server provided tool "samba-tool" , but for system administrators who has no experience working in a linux environment it can be a difficult task, even for experienced linux administrators it can be a bit time consuming to use "samba-tool" command for managing every active directory task. The Microsoft Remote System Administration Tool is a very nice software to manage a Linux based domain controller. Next I will help you downloading, installing and managing a Linux based domain controller from Windows client machine. I will be using a 64 bit Windows 7 pc for this example. RSAT Download Link: https://www.microsoft.com/en-in/download/det...

How to setup Active Directory in Linux using Samba4

Samba version 4 can work as a domain controller which is compatible with Microsoft Active Directory, companies can save licensing cost by switching to Samba4 for Active Directory. I will put below the complete steps. Software Requirements: 1. A latest linux based operating system, I will be using Centos 7 for this example, you can use any flavor of linux  2. We will be using Sernet Samba version 4.2, because the samba package provided in Centos 7 DVD uses MIT Kerberos which does not support Active Directory. Hardware Requirements: 1. A system with at least 1 GB RAM for better performance, at least 10 GB of disk space and a decent processor 2. You can use a desktop class or server class system depending on choice Download Links for required softwares: 1. Download Centos 7 DVD from the below link      CentOS 7 DVD 2. Download Sernet Samba & other required rpm packages      Sernet Samba 4.2 and other dependent packages for...