Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mambojuice

Pages: [1]
1
Directory and Authentication / Re: DNS won't start, AD seems to be broken
« on: February 06, 2019, 07:51:28 pm »
I managed to get things hobbling along well enough to get my users back up and running until I can build a new server and transfer all the roles and services over.

By rebooting into rescue mode and doing the following:

1. Disable Zentyal services
Code: [Select]
systemctl disable zentyal
2. Edit /etc/samba/smb.conf with the following changes:
Comment out the line
Code: [Select]
server services = -dnsAdd the line
Code: [Select]
dns forwarders = 8.8.8.8 8.8.4.4 for Google public DNS or replace with your internal upstream DNS

3. Run the following command to migrate from bind9 to internal samba DNS:
Code: [Select]
samba_upgradedns --dns-backend=SAMBA_INTERNAL --verbose
4. Start services
Code: [Select]
systemctl start smbd
systemctl start samba-ad-dc

5. In my case I was also running a DHCP server, so that needs to be manually started as well
Code: [Select]
systemctl start ise-dhcp-server
Hopefully this helps someone else in the future!

2
I don't think there is a workaround for this. As you said, RSYNC is unidirectional for replication and I don't believe there is any alternative supported by Samba yet.

3
Directory and Authentication / DNS won't start, AD seems to be broken
« on: February 06, 2019, 05:05:43 pm »
My server rebooted unexpectedly due to a power outage that lasted longer than my UPS battery. Now the DNS module won't start and I'm in trouble!

/var/log/zentyal/zentyal.log shows that the services are trying to start on boot, but bind9 is throwing an error:

Code: [Select]
samba_dlz: started for DN DC=mydomain,DC=local
samba_dlz: starting configure
zone mydomain.local/NONE: has no NS records
samba_dlz: failed to configure zone 'mydomain.local'
loading configuration: bad zone

Any help would be greatly appreciated!

4
I'm having the exact same problem. Can't find any information anywhere else online. Does anyone have any help to offer?

Domain controller: Windows 2008 R2 Enterprise SP1
Zentyal Community Edition 3.0.10 running DHCP and DNS services

Pages: [1]