Can I change hostname ?

hyoscar wu hyoscarwu at gmail.com
Thu Oct 17 21:19:30 MDT 2013


Hi list,

I run samba4 ADDC with internal DNS on my machine.

I got a problem when I change machine hostname.

After changing hostname, I change "netbios name" to new hostname in
smb.conf , restart samba, run dns_update.

Then I check internal DNS and /usr/local/samba/private/sam.ldb entries ,
there are many entries still old hostname.

I can update internal DNS manually (samba-tool dns ) but how to change
entries in sam.ldb ? (ex: fsmo role and CN=${machine},OU=Domain
Controllers,DC=fff,DC=org)
Is there any way to update hostname in samba4 ADDC?

hyoscar


More information about the samba-technical mailing list