Create an Active Directory Infrastructure with Samba4 on Ubuntu – Part 1

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

12 Responses

  1. Graewer says:

    There is a LITTLE mistake in the code for installation of winbind…

    sudo apt-get install samba krb5-user krb5-config winbind libpam-winbind libnss-windbind

    If you have problems installing libnss-winbind, try to write it without “d” in mid ;)

    Beside this little thing: Awesome tut! Thx a lot!

    • Matei Cezar says:

      Yes, there’s a typo in the code you’ve mentioned. The correct misspelling of the package is libnss-winbind . It error will be fixed.

  2. Matei Cezar says:

    There is type there! I’ve noticed and took the screenshot before correcting the error. Anyway the second nameserver belongs to second AD DC, which is offline most of the time. You should be probably safe as long as local DNS resolution or first AD DC is online.

  3. Rahul Tidke says:

    Is this series applicable to CentOS 7 also (with all the equivalent CentOS 7 commands)? Thanks..looking forward to next parts!!

    • Ravi Saive says:

      @Rahul,

      The series is specially based on Ubuntu distribution, but it will also work on all Linux distributions with slight changes in command installation.

  4. Flodumi says:

    Why so many reboots?

    • Matei Cezar says:

      There are two reboots. First to apply system-wide hostname correctly and second to apply network interface changes accurately. You can choose to modify both files and then issue one reboot after you’ve modified the last file.

  5. helloworld says:

    edit file /etc/nsswitch.conf
    hosts: files mdns4_minimal [NOTFOUND=return] dns

    #new line
    hosts: dns files mdns4_minimal [NOTFOUND=return]

  6. Ernie Johnston says:

    It is near the end of Point 15.

  7. Ernie Johnston says:

    Anyone notice the line
    nameserver 102.168.1.253 ?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?