Monday, 28 November 2016

How to join a member of Debian clients into Samba Domain Controller.

Pre-Requirement
1. First of All check the date of client machine. Or install NTP client to match the correct date & time     between server & client.

2. Give a host name to client machine. Path is /etc/hostname

3. Check your resolv.conf file for  DNS entry. Path is /etc/resolv.conf egg:-



4. Check the connectivity between server and client machine.

5. You must have a account with admin access to join the client into domain.

6. Your Kerberos configuration must be configured according to your DC.
    To configure the Kerberos:-
    create a file in vim /etc/krb5.conf




edit file change realm name and kdc  server name according to your domain.
save the file and exit


7. Install samba (client) package

     apt-get install samba


       Defaults configuration file is under /etc/samba/
8. Rename your /etc/samba/smb.conf file to smb.conf.org

9. now create a new file smb.conf
    edit the file

      save the file and exit

10. Now we are ready to join the system into domain

    net ads join -U username
    provide the password for user.





















System is join as a client of samba domain controller.
To check is system into domain or not. just see the krb5.keytab file in /etc/ or check the ID of any of domain user.






















Samba service status

systemctl status smbd


Related Posts:

  • How to add SSH Keys to Lap There are multiple ways of adding ssh keys to ldap. 1.     Download Apache Directory Studio 2.     Extract and Install it. For Linux 3.  tar xvfz ApacheDirectoryStudio-… Read More
  • Ldap Authentication for Owncloud Configure own cloud to access with centralized  ldap authentication. You can say it accessing own cloud with domain authentication. Or how to access ldap with Single sign on. First of all login into your own cloud con… Read More
  • How to Extend & Reduce the LVM The need of LVM extend is when we require extra disk space to store the raw data. First we have to provide the storage or extra hardware to volume group. Extend the Volume Group :- # vgextend <vg name> <new pv&… Read More
  • Configure a Secure FTP Server Open Source Very Secure FTP Server (VSFTPD) FTP is a file transfer protocol  which is use to:-                                      … Read More
  • OpenVPN Client Configuration in Linux OpenVPN installation and configuration on Ubuntu 1.     sudo apt-get update 2.     sudo apt-get install network-manager-openvpn 3.     Click on networ… Read More

0 comments:

Post a Comment

Sample Text

Powered by Blogger.

Video

Popular Posts

Our Facebook Page