This is great tutorial but i have questions.
In my company we have 3 server for our domain, example:
Our domain name: INT.COMPANY.COM
3 servers that give as above domain name:
dc-1.int.company.com this is main server
dc-2.int.company.com
dc-3.int.company.com
Is this good configuration of krb5.conf file for my situation:
Code:
[logging]
default = FILE10000:/var/log/krb5lib.log
[libdefaults]
ticket_lifetime = 24000
default_realm = INT.COMPANY.COM
default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc
[realms]
INT.COMPANY.COM =
{
kdc = dc-1.int.company.com
kdc = dc-2.int.company.com
kdc = dc-3.int.company.com
admin_server = dc-1.int.company.com
master_kdc = dc-1.int.company.com
default_domain = INT.COMPANY.COM
}
[domain_realm]
.domain.local = INT.COMPANY.COM
domain.local = INT.COMPANY.COM
The part that is confusing me is:
Is it good that i defined my main domain server as master_kdc?
Do i need define admin_server for secondary domain servers (dc-2 and dc-3 ) so it looks like this?
Code:
admin_server = dc1.int.company.com
admin_server = dc2.int.company.com
admin_server = dc3.int.company.com
Will this configuration automatically switch me to secondary kdc if kdc1 crash?
And this is my smb.conf file how i think it should be configured
Code:
[global]
workgroup = INT
realm = INT.COMPANY.COM
#netbios name = computer_name
server string = %h server (Samba %v, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = ADS
domain master = no
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
template homedir = /home/%D/%U
winbind enum groups = yes
winbind enum users = yes
winbind use default domain = yes
usershare allow guests = yes
Do i need in smb.conf file add this lines because we have multiple servers for same domain and one is master server?
password server = dc1.int.company.com
domain master = dc1.int.company.com?
I hope you understand me
Bookmarks