[Samba] demote old dc
Corrado Ravinetto
corrado.ravinetto at lanificiocerruti.com
Mon Jan 2 14:46:25 UTC 2023
Happy new year at all
I sould substitute an old dc wiht this parameters in smb.conf
[global]
dns forwarder = 192.168.1.1
os level = 250
passdb backend = samba_dsdb
realm = LXCERRUTI.COM
server role = active directory domain controller
template homedir = //srvcerruti/Cerruti/usr/%U
workgroup = LXCERRUTI
rpc_server:tcpip = no
rpc_daemon:spoolssd = embedded
rpc_server:spoolss = embedded
rpc_server:winreg = embedded
rpc_server:ntsvcs = embedded
rpc_server:eventlog = embedded
rpc_server:srvsvc = embedded
rpc_server:svcctl = embedded
rpc_server:default = external
winbindd:use external pipes = true
idmap_ldb:use rfc2307 = yes
idmap config * : backend = tdb
the new one have :
[global]
netbios name = DC4
realm = LXCERRUTI.COM
server role = active directory domain controller
workgroup = LXCERRUTI
idmap_ldb:use rfc2307 = yes
dns update command = /usr/local/samba/sbin/samba_dnsupdate --use-samba-tool
os level = 250
min protocol = NT1
client min protocol = NT1
dns forwarder = 192.168.1.1
template homedir = //srvcerruti/Cerruti/usr/%U
my question is : i must merge two smb.conf or i can use the new one ???
Two dc are in replica whitout problem, can i demote old dc or should i expect toruble ??
[Lanificio F.lli CERRUTI]
Corrado Ravinetto
Sistemi informativi
corrado.ravinetto at lanificiocerruti.com <mailto:corrado.ravinetto at lanificiocerruti.com>
T: +39 015 3591283
[Lanificio F.lli CERRUTI]
Lanificio F.lli Cerruti S.p.A.
Via Cernaia 40, 13900 - Biella (BI) Italy
www.lanificiocerruti.com <http://www.lanificiocerruti.com/>
[Twitter] <https://twitter.com/Lan_Cerruti> [Facebook] <https://www.facebook.com/LanificioCerruti> [Instagram] <https://www.instagram.com/lanificiocerruti/>
Rispetta l'ambiente, non stampare questa mail se non necessario
Respect the environment, don't print unless necessary
[Unesco]
More information about the samba
mailing list