How to join a member of Debian clients into Samba Domain Controller.
Pre-Requirement1. 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
0 comments:
Post a Comment