LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-09-2015, 11:48 AM   #1
yerunkar11
LQ Newbie
 
Registered: Mar 2015
Posts: 24

Rep: Reputation: Disabled
Unhappy After installing Samba Active Directory Domain Controller, centos took 1 hour to boot


hi

I have installed the Active Directory Domain Controller(Samba) and referred this link http://www.alexwyn.com/computer-tips...ain-controller

DONE THIS STEPS

1. Login as root and update your server
# yum update

2. Install the following packages required for installing and building Samba 4:
# yum install glibc glibc-devel gcc python* libacl-devel krb5-workstation krb5-libs pam_krb5

3. Query your rpm database to find any instances of older samba packages:
# rpm -qa | grep samba

4. If there are any older samba packages remove them with YUM:
# yum remove samba-winbind-client samba-common samba-client

5. Install git to dowload the latest Samba 4 version:
# yum install git-core

6. Use a directory of your choice and download the latest version of samba from git:
# git clone git://git.samba.org/samba.git samba-master

7. Reboot the server as a precaution so that all packages or kernel updates will be applied:
# shutdown -r now

8. Login again as root and then build samba:
# cd samba-master
# ./configure --enable-debug --enable-selftest
# make

9. If everything reports okay you can then install samba:
# make install
You should now have samba installed to '/usr/local/samba'.



Provision Samba 4


The provision step sets up a basic user database, and is used when you are setting up your Samba4 server in its own domain.
As root issue this command:
# /usr/local/samba/bin/samba-tool domain provision


The 'domain provision' tool should pick defaults for you automatically. Change to your configurations if necessary:
Realm [MYDOMAIN.COM]: Domain [MYDOMAIN]: (press Enter)
Server Role (dc, member, standalone) [dc]: (press Enter)
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]: (press Enter)
DNS forwarder IP address (write 'none' to disable forwarding) [192.168.0.1]: 208.67.222.222
Administrator password: <your_secret_admin_password>
Retype password:
If above was successful, stdout should look similar to this:
Creating CN=MicrosoftDNS,CN=System,DC=mydomain,DC=com
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
Setting up sam.ldb rootDSE marking as synchronized
Fixing provision GUIDs
A Kerberos configuration suitable for Samba 4 has been generated at /usr/local/samba/private/krb5.conf
Once the above files are installed, your Samba4 server will be ready to use
Server Role: active directory domain controller
Hostname: samba
NetBIOS Domain: MYDOMAIN
DNS Domain: mydomain.com
DOMAIN SID: S-1-5-xx-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxxx
NOTE: You may need to remove the '/usr/local/samba/etc/smb.conf' file if you are re-running the provision command. If you encounter any errors when running the provision command, you may need to install the necessary missing packages or fix errors and then run './configure', 'make' and 'make install' commands again as stated above. Remember to do a 'make clean' in the root of your 'samba-master' directory before running 'make' again.
If the provision setup was successful reboot the server:


# shutdown -r now




And then i restarted the system, now it is not up and its been an hour.. need help and i dont know where it went wrong?

and ya I have i7 processor and 16gig ram and 1 tb hdd and its brand new. i dont think this is an hardware issue ..
 
Old 04-10-2015, 05:47 AM   #2
yerunkar11
LQ Newbie
 
Registered: Mar 2015
Posts: 24

Original Poster
Rep: Reputation: Disabled
Is there no one who can help me ??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help setting folder size on Samba/CentOS Active Directory Domain alexandervj Linux - General 1 06-19-2014 09:05 AM
Unable to login in to Active Directory(Windows Domain Controller) from Linux redhat z_haseeb Red Hat 0 01-04-2014 10:44 AM
Replace windows Domain controller( Active directory , DNS, DHCP) with Linux box mid_nightslover Linux - Enterprise 1 03-26-2010 10:19 AM
samba to active directory domain Radioactiveman Red Hat 2 03-20-2009 02:18 AM
Samba 3 in MS Active Directory domain psychobyte Linux - Software 3 10-16-2004 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration