Hello, I am running two Samba Domain Controllers on as Ubuntu 18.04 VMs installed on two physical hosts. I've managed to bind them and to run the replication. My issues is that the private IP address is advertised and the replication fails. Even though I update the DNS entry? after a few minutes the changes are overwritten and the replication fails again. Can someone help me with this issue? Is there any option to make this changes permanent? Thank you in advance! Best regards!
On Fri, 2019-12-20 at 09:22 +0200, cristiant--- via samba wrote:> Hello, > I am running two Samba Domain Controllers on as Ubuntu 18.04 VMs > installed on two physical hosts. I've managed to bind them and to run > the replication. My issues is that the private IP address is advertised > and the replication fails. Even though I update the DNS entry after a > few minutes the changes are overwritten and the replication fails again. > Can someone help me with this issue? Is there any option to make this > changes permanent? > Thank you in advance!There is a --current-ip option to samba_dnsupdate, the smb.conf could be updated to call it with that IP. I've not tested it but I did add it in the hope it would help here. Typically folks just bridge their VM onto the LAN however, rather than pushing it via NAT. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
On 20/12/2019 07:22, cristiant--- via samba wrote:> Hello, > I am running two Samba Domain Controllers on as Ubuntu 18.04 VMs > installed on two physical hosts. I've managed to bind them and to run > the replication. My issues is that the private IP address is > advertised and the replication fails. Even though I update the DNS > entry? after a few minutes the changes are overwritten and the > replication fails again. > Can someone help me with this issue? Is there any option to make this > changes permanent? > Thank you in advance! > > Best regards! > >Why have you posted this again ? Rowland
Most probely he is using public ip for webservers mail etc. But uses samba with private range to setup and control user/groups and he does not want to public ip and samba ip/ports to the internet. But still, this is a error, in my personal opinion, in the resolving setup. :-/ And thats why i hammer on a correct resolving setup. But he could also add VPN this setup, and will help in fixing it also, Or Andrew's suggestion. Multiple options here. Only thing is, we know to little of the setup to make a good assesment for him. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: vrijdag 20 december 2019 10:17 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Samba public IP issue > > On 20/12/2019 07:22, cristiant--- via samba wrote: > > Hello, > > I am running two Samba Domain Controllers on as Ubuntu 18.04 VMs > > installed on two physical hosts. I've managed to bind them > and to run > > the replication. My issues is that the private IP address is > > advertised and the replication fails. Even though I update the DNS > > entry? after a few minutes the changes are overwritten and the > > replication fails again. > > Can someone help me with this issue? Is there any option to > make this > > changes permanent? > > Thank you in advance! > > > > Best regards! > > > > > Why have you posted this again ? > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Sorry for re-posting... On 12/20/19 11:31 AM, L.P.H. van Belle via samba wrote:> Most probely he is using public ip for webservers mail etc. > But uses samba with private range to setup and control user/groups > and he does not want to public ip and samba ip/ports to the internet. > > But still, this is a error, in my personal opinion, in the resolving setup. > :-/ And thats why i hammer on a correct resolving setup. > > But he could also add VPN this setup, and will help in fixing it also, Or Andrew's suggestion. > Multiple options here. > Only thing is, we know to little of the setup to make a good assesment for him. > > Greetz, > > Louis > > >> -----Oorspronkelijk bericht----- >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens >> Rowland penny via samba >> Verzonden: vrijdag 20 december 2019 10:17 >> Aan: samba at lists.samba.org >> Onderwerp: Re: [Samba] Samba public IP issue >> >> On 20/12/2019 07:22, cristiant--- via samba wrote: >>> Hello, >>> I am running two Samba Domain Controllers on as Ubuntu 18.04 VMs >>> installed on two physical hosts. I've managed to bind them >> and to run >>> the replication. My issues is that the private IP address is >>> advertised and the replication fails. Even though I update the DNS >>> entry? after a few minutes the changes are overwritten and the >>> replication fails again. >>> Can someone help me with this issue? Is there any option to >> make this >>> changes permanent? >>> Thank you in advance! >>> >>> Best regards! >>> >>> >> Why have you posted this again ? >> >> Rowland >> >> >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >> >