Well I may have been over zealous and upgraded my Samba AD server to CentOS 7.5. After doing so the named service will not start. The error message I get is: May 12 00:50:55 nureyev named[11351]: Loading 'AD DNS Zone' using driver dlopen May 12 00:50:55 nureyev named[11351]: dlz_dlopen of 'AD DNS Zone' failed May 12 00:50:55 nureyev named[11351]: SDLZ driver failed to load. May 12 00:50:55 nureyev named[11351]: DLZ driver failed to load. May 12 00:50:55 nureyev named[11351]: loading configuration: out of memory May 12 00:50:55 nureyev named[11351]: exiting (due to fatal error) Everything was fine with the previous version of CentOS 7.4. If I comment out the line from /etc/named.conf // include "/var/lib/samba/private/named.conf"; then named starts up. Permissions were correct prior to the upgrade and after upgrade: > cd /var/lib > ls -alt | grep samba drwxr-xr-x 10 root root 4096 May 12 00:50 samba > ls -alt ./samba | grep private drwxr-x--- 8 root named 4096 May 12 00:59 private > ls -alt ./samba/private | grep named.conf -r--r--r-- 1 root root 241 May 6 12:24 named.conf.update -rw-r--r-- 1 root root 720 Apr 15 17:00 named.conf Needless to say the failure for named to start is causing serious issues. If I could take back the upgrade I would. I am running the Sernet 4.7 packages. Here is what I tried. First a downgraded bind from 9.9.4-61 back down to 9.9.4-51-4.2. That did not help. So next I tried recompiling the packages on the upgraded system and replacing /usr/lib64/samba/bind9/dlz_bind9_9.so with a recompiled version. That did not help. Any other ideas on how to debug or fix the problem? Thank you for your help. -- Paul (ganci at nurdog.com) Cell: (303)257-5208
On Sat, 12 May 2018 01:17:02 -0600 "Paul R. Ganci via samba" <samba at lists.samba.org> wrote:> Well I may have been over zealous and upgraded my Samba AD server to > CentOS 7.5. After doing so the named service will not start. The > error message I get is: > > May 12 00:50:55 nureyev named[11351]: Loading 'AD DNS Zone' using > driver dlopen > May 12 00:50:55 nureyev named[11351]: dlz_dlopen of 'AD DNS Zone' > failed May 12 00:50:55 nureyev named[11351]: SDLZ driver failed to > load. May 12 00:50:55 nureyev named[11351]: DLZ driver failed to load. > May 12 00:50:55 nureyev named[11351]: loading configuration: out of > memory May 12 00:50:55 nureyev named[11351]: exiting (due to fatal > error) > > Everything was fine with the previous version of CentOS 7.4. If I > comment out the line from /etc/named.conf > > // include "/var/lib/samba/private/named.conf"; >Wrong 'include' line ;-) I think you will find that your /etc/krb5.conf starts with an 'include' line, remove this and your problem will go away. Rowland
On 05/12/2018 02:04 AM, Rowland Penny via samba wrote:> Wrong 'include' line ;-) > I think you will find that your /etc/krb5.conf starts with an 'include' > line, remove this and your problem will go away.Thank you. Yes that fixed the problem. -- Paul (ganci at nurdog.com) Cell: (303)257-5208