Web lists-archives.com

[Samba] wbinfo quits working on samba AD DC




Hi,

I have a Samba AD domain running 2 self compiled 4.7.3 DC's running on Centos 7.

Every morning if I run wbinfo -u on DC1 I do not get any info back. I have
tried reloading samba but that does not get it working. Restarting samba seems
to be the only way to get it working again.

DC2 continues to work normally.

DC1 holds the FSMO roles and also runs bind DLZ and ISC dhcp configured
per the samba wiki articles.

DC2 is only acting as a DC and DNS server with bind_DLZ.

The smb.conf files are the same on both DC's.

The smb.conf is as follows:

[global]
    realm = KMG.MYDOMAIN.COM
    server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
    workgroup = KMG
    server role = active directory domain controller
    idmap_ldb:use rfc2307 = yes
    log file = /var/log/samba/%m.log
    max log size = 5000
    log level = 2
    idmap config KMG:unix_nss_info = yes
    template shell = /bin/bash
    template homedir = /home/samba/users/%U
    deadtime = 5

[netlogon]
    path = /usr/local/samba/var/locks/sysvol/kmg.mydomain.com/scripts
    read only = No

[sysvol]
    path = /usr/local/samba/var/locks/sysvol
    read only = No

When things are not working a ps shows the following:

(vdc1 pts6) # ps axf | egrep "samba|smbd|winbindd"
111627 pts/6    D+     0:00  |   \_ grep -E --color=auto samba|smbd|winbindd
 36675 ?        Ss     0:00 /usr/local/samba/sbin/samba -D
 36685 ?        S      0:00  \_ /usr/local/samba/sbin/samba -D
 36688 ?        S      0:00  |   \_ /usr/local/samba/sbin/samba -D
 36690 ?        Ss     0:07  |       \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
 36708 ?        S      0:00  |           \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
 36709 ?        S      0:00  |           \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
 36710 ?        S      0:00  |           \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
 72144 ?        S      0:00  |           \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
 72768 ?        S      0:00  |           \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
111561 ?        S      0:00  |           \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
 36686 ?        S      6:13  \_ /usr/local/samba/sbin/samba -D
 72207 ?        S      0:00  |   \_ /usr/local/samba/sbin/samba -D
 73128 ?        S      0:00  |   \_ /usr/local/samba/sbin/samba -D
 36687 ?        S      0:09  \_ /usr/local/samba/sbin/samba -D
 36689 ?        S      0:00  \_ /usr/local/samba/sbin/samba -D
 36691 ?        S      0:04  \_ /usr/local/samba/sbin/samba -D
 36950 ?        S      1:00  |   \_ /usr/local/samba/sbin/samba -D
105803 ?        S      0:00  |   \_ /usr/local/samba/sbin/samba -D
 36692 ?        S      0:06  \_ /usr/local/samba/sbin/samba -D
 36693 ?        S      0:20  \_ /usr/local/samba/sbin/samba -D
 36694 ?        S      0:47  \_ /usr/local/samba/sbin/samba -D
 36695 ?        S      0:00  \_ /usr/local/samba/sbin/samba -D
 36702 ?        S      0:00  |   \_ /usr/local/samba/sbin/samba -D
 36704 ?        Ss     0:10  |       \_ /usr/local/samba/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
 36706 ?        S      0:32  |           \_ /usr/local/samba/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
 39428 ?        S      0:00  |           \_ /usr/local/samba/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
 62873 ?        S      0:00  |           \_ /usr/local/samba/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
 36696 ?        S      0:00  \_ /usr/local/samba/sbin/samba -D
 36697 ?        S      0:00  \_ /usr/local/samba/sbin/samba -D
 36698 ?        S      0:01  \_ /usr/local/samba/sbin/samba -D
(vdc1 pts6) #
(vdc1 pts6) # wbinfo -u
(vdc1 pts6) #

It looks to me like everything is running.
I do not see anything obvious in the logs.

Does anyone have any idea how to troubleshoot this?
Is there something in particular I should be looking for in the logs?

Regards,

--
Tom			me@xxxxxxxxxx

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba