ubuntu:samba:configure_samba_active_directory_domain_controller
This is an old revision of the document!
Ubuntu - Samba - Configure Samba Active Directory Domain Controller
This example configures on the environment bellow:
- Domain name : SMB01
- Realm : SRV.SHAREWIZ
- Hostname : smb.srv.sharewiz
Install Samba
Install required packages
sudo apt install samba krb5-config winbind smbclient
and answer:
# set Realm +------------------+ Configuring Kerberos Authentication +------------------+ | When users attempt to use Kerberos and specify a principal or user name | | without specifying what administrative Kerberos realm that principal | | belongs to, the system appends the default realm. The default realm may | | also be used as the realm of a Kerberos service running on the local | | machine. Often, the default realm is the uppercase version of the local | | DNS domain. | | | | Default Kerberos version 5 realm: | | | | SRV.SHAREWIZ_____________________________________________________________ | | | | <Ok> | | | +---------------------------------------------------------------------------+ # specify the hostname +------------------+ Configuring Kerberos Authentication +------------------+ | Enter the hostnames of Kerberos servers in the SRV.SHAREWIZ Kerberos | | realm separated by spaces. | | | | Kerberos servers for your realm: | | | | smb.srv.sharewiz_________________________________________________________ | | | | <Ok> | | | +---------------------------------------------------------------------------+ # specify the hostname +------------------+ Configuring Kerberos Authentication +------------------+ | Enter the hostname of the administrative (password changing) server for | | the SRV.SHAREWIZ Kerberos realm. | | | | Administrative server for your Kerberos realm: | | | | smb.srv.sharewiz_________________________________________________________ | | | | <Ok> | | | +---------------------------------------------------------------------------+
ubuntu/samba/configure_samba_active_directory_domain_controller.1575842097.txt.gz · Last modified: 2020/07/15 09:30 (external edit)