Web lists-archives.com

Re: [Samba] winbind service panics "randomly"




Hi Rowland,
thank you for another quick reply.

1) I did all the changes on the smb.conf you suggested and restart
samba-ad-dc on both DCs.
2) Changed file server log to 10 and rebooted it just because.
3) Winbind crashed.
3.1) I have a gut felling that if I leave it alone, it lasts longer. If I
do a wbinfo -u it's ok, but if I go and check it often, it eventually
crashes. Again, gut felling, maybe it's just a bad dinner. I'll try to find
a way to automate this.
4)  wbinfo --group-info="Domain Users"
EUROHIDRA\domain users:x:10001:
5) Don't really know what to look for in the logs, but I can't see anything
clearly wrong. Any tips for things to look for? Log 10 is, well, verbose...
I think I didn't overlook anything obvious, but still
6) Here's the last seconds of the log before winbind panicked.

Anything else?
Best regards
Carlos

[2018/11/13 22:59:41.440640, 10, pid=2914, effective(0, 0), real(0, 0),
class=registry] ../source3/registry/reg_backend_db.c:904(regdb_close)
  regdb_close: decrementing refcount (3->2)
[2018/11/13 22:59:41.440686,  7, pid=2914, effective(0, 0), real(0, 0)]
../source3/param/loadparm.c:4229(lp_servicenumber)
  lp_servicenumber: couldn't find printers
[2018/11/13 22:59:41.440731,  7, pid=2914, effective(0, 0), real(0, 0)]
../source3/param/loadparm.c:4229(lp_servicenumber)
  lp_servicenumber: couldn't find printers
[2018/11/13 22:59:41.440760, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/smbd/server_reload.c:87(delete_and_reload_printers)
  reloading printer services from pcap cache
[2018/11/13 22:59:41.440823,  7, pid=2914, effective(0, 0), real(0, 0)]
../source3/param/loadparm.c:4229(lp_servicenumber)
  lp_servicenumber: couldn't find printers
[2018/11/13 22:59:41.440851,  5, pid=2914, effective(0, 0), real(0, 0)]
../source3/param/loadparm.c:2161(process_registry_service)
  process_registry_service: service name printers
[2018/11/13 22:59:41.440879,  7, pid=2914, effective(0, 0), real(0, 0),
class=registry] ../source3/registry/reg_api.c:143(regkey_open_onelevel)
  regkey_open_onelevel: name = [printers]
[2018/11/13 22:59:41.440907, 10, pid=2914, effective(0, 0), real(0, 0),
class=registry] ../source3/registry/reg_backend_db.c:859(regdb_open)
  regdb_open: incrementing refcount (2->3)
[2018/11/13 22:59:41.440937, 10, pid=2914, effective(0, 0), real(0, 0),
class=registry] ../source3/registry/reg_cachehook.c:125(reghook_cache_find)
  reghook_cache_find: Searching for keyname
[\HKLM\SOFTWARE\Samba\smbconf\printers]
[2018/11/13 22:59:41.440963, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/adt_tree.c:367(pathtree_find)
  pathtree_find: Enter [\HKLM\SOFTWARE\Samba\smbconf\printers]
[2018/11/13 22:59:41.440993, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/adt_tree.c:440(pathtree_find)
  pathtree_find: Exit
[2018/11/13 22:59:41.441018, 10, pid=2914, effective(0, 0), real(0, 0),
class=registry] ../source3/registry/reg_cachehook.c:130(reghook_cache_find)
  reghook_cache_find: found ops 0x7f938c9b8580 for key
[\HKLM\SOFTWARE\Samba\smbconf\printers]
[2018/11/13 22:59:41.441056, 10, pid=2914, effective(0, 0), real(0, 0),
class=registry]
../source3/registry/reg_backend_db.c:1741(regdb_fetch_keys_internal)
  key [HKLM\SOFTWARE\Samba\smbconf\printers] not found
[2018/11/13 22:59:41.441085, 10, pid=2914, effective(0, 0), real(0, 0),
class=registry] ../source3/registry/reg_backend_db.c:904(regdb_close)
  regdb_close: decrementing refcount (3->2)
[2018/11/13 22:59:41.441128,  7, pid=2914, effective(0, 0), real(0, 0)]
../source3/param/loadparm.c:4229(lp_servicenumber)
  lp_servicenumber: couldn't find printers
[2018/11/13 22:59:41.441258, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages_dgm.c:1430(messaging_dgm_send)
  messaging_dgm_send: Sending message to 2933
[2018/11/13 22:59:41.441340, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages_dgm.c:1430(messaging_dgm_send)
  messaging_dgm_send: Sending message to 5170
[2018/11/13 22:59:41.441406, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages_dgm.c:1430(messaging_dgm_send)
  messaging_dgm_send: Sending message to 2882
[2018/11/13 22:59:41.441412, 10, pid=5170, effective(0, 0), real(0, 0)]
../source4/lib/messaging/messaging.c:527(imessaging_dgm_recv)
  imessaging_dgm_recv: dst 5170 matches my id: 5170, type=0x207
[2018/11/13 22:59:41.441442, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages.c:871(send_all_fn)
  send_all_fn: Skip ourselves in messaging_send_all
[2018/11/13 22:59:41.441453, 10, pid=5170, effective(0, 0), real(0, 0)]
../source3/lib/messages.c:400(messaging_recv_cb)
  messaging_recv_cb: Received message 0x207 len 0 (num_fds:0) from 2914
[2018/11/13 22:59:41.441504, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages_dgm.c:1430(messaging_dgm_send)
  messaging_dgm_send: Sending message to 2861
[2018/11/13 22:59:41.441569, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages_dgm.c:1430(messaging_dgm_send)
  messaging_dgm_send: Sending message to 2888
[2018/11/13 22:59:41.441632, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages_dgm.c:1430(messaging_dgm_send)
  messaging_dgm_send: Sending message to 5171
[2018/11/13 22:59:41.441696, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages_dgm.c:1430(messaging_dgm_send)
  messaging_dgm_send: Sending message to 5178
[2018/11/13 22:59:41.441760, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages_dgm.c:1430(messaging_dgm_send)
  messaging_dgm_send: Sending message to 5179
[2018/11/13 22:59:41.441827, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/messages_dgm.c:1430(messaging_dgm_send)
  messaging_dgm_send: Sending message to 2889
[2018/11/13 22:59:41.441880, 10, pid=2914, effective(0, 0), real(0, 0)]
../source3/lib/util_event.c:53(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(print_queue_housekeeping) (nil)
rescheduled
[2018/11/13 23:00:29.579577, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd_util.c:472(trustdom_list_done)
  trustdom_list_done: parsing response line
'EUROHIDRA\eurohidra.local\S-1-5-21-2578023650-2965493730-3822412211\29\2\0'
[2018/11/13 23:01:20.579414,  6, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:881(new_connection)
  accepted socket 25
[2018/11/13 23:01:20.579531, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:722(process_request)
  process_request: request fn INTERFACE_VERSION
[2018/11/13 23:01:20.579565,  3, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd_misc.c:522(winbindd_interface_version)
  [ 7306]: request interface version (version = 30)
[2018/11/13 23:01:20.579648, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd.c:825(winbind_client_response_written)
  winbind_client_response_written[7306:INTERFACE_VERSION]: delivered
response to client
[2018/11/13 23:01:20.579721, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:722(process_request)
  process_request: request fn WINBINDD_PRIV_PIPE_DIR
[2018/11/13 23:01:20.579752,  3, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd_misc.c:555(winbindd_priv_pipe_dir)
  [ 7306]: request location of privileged pipe
[2018/11/13 23:01:20.579825, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd.c:825(winbind_client_response_written)
  winbind_client_response_written[7306:WINBINDD_PRIV_PIPE_DIR]: delivered
response to client
[2018/11/13 23:01:20.579879,  6, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:881(new_connection)
  accepted socket 29
[2018/11/13 23:01:20.579931,  6, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd.c:930(winbind_client_request_read)
  closing socket 25, client exited
[2018/11/13 23:01:20.579998, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:722(process_request)
  process_request: request fn INTERFACE_VERSION
[2018/11/13 23:01:20.580029,  3, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd_misc.c:522(winbindd_interface_version)
  [ 7306]: request interface version (version = 30)
[2018/11/13 23:01:20.580090, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd.c:825(winbind_client_response_written)
  winbind_client_response_written[7306:INTERFACE_VERSION]: delivered
response to client
[2018/11/13 23:01:20.580156, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:722(process_request)
  process_request: request fn INFO
[2018/11/13 23:01:20.580187,  3, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd_misc.c:510(winbindd_info)
  [ 7306]: request misc info
[2018/11/13 23:01:20.580248, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd.c:825(winbind_client_response_written)
  winbind_client_response_written[7306:INFO]: delivered response to client
[2018/11/13 23:01:20.580313, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:722(process_request)
  process_request: request fn NETBIOS_NAME
[2018/11/13 23:01:20.580344,  3, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd_misc.c:543(winbindd_netbios_name)
  [ 7306]: request netbios name
[2018/11/13 23:01:20.580403, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd.c:825(winbind_client_response_written)
  winbind_client_response_written[7306:NETBIOS_NAME]: delivered response to
client
[2018/11/13 23:01:20.580485, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:722(process_request)
  process_request: request fn DOMAIN_NAME
[2018/11/13 23:01:20.580513,  3, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd_misc.c:532(winbindd_domain_name)
  [ 7306]: request domain name
[2018/11/13 23:01:20.580570, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd.c:825(winbind_client_response_written)
  winbind_client_response_written[7306:DOMAIN_NAME]: delivered response to
client
[2018/11/13 23:01:20.580632, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:722(process_request)
  process_request: request fn DOMAIN_INFO
[2018/11/13 23:01:20.580660,  3, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd_misc.c:364(winbindd_domain_info)
  [ 7306]: domain_info [EUROHIDRA]
[2018/11/13 23:01:20.580723, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd.c:825(winbind_client_response_written)
  winbind_client_response_written[7306:DOMAIN_INFO]: delivered response to
client
[2018/11/13 23:01:20.580785, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd.c:695(process_request)
  process_request: Handling async request 7306:LIST_USERS
[2018/11/13 23:01:20.580816,  3, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/winbindd_list_users.c:59(winbindd_list_users_send)
  list_users EUROHIDRA
[2018/11/13 23:01:20.580854,  1, pid=5170, effective(0, 0), real(0, 0),
class=rpc_parse] ../librpc/ndr/ndr.c:471(ndr_print_function_debug)
       wbint_QueryUserRidList: struct wbint_QueryUserRidList
          in: struct wbint_QueryUserRidList
[2018/11/13 23:01:20.580925, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind] ../source3/winbindd/winbindd_cache.c:4765(wcache_fetch_ndr)
  Entry has timed out
[2018/11/13 23:01:21.746769,  1, pid=5170, effective(0, 0), real(0, 0),
class=rpc_parse] ../librpc/ndr/ndr.c:471(ndr_print_function_debug)
       wbint_QueryUserRidList: struct wbint_QueryUserRidList
          out: struct wbint_QueryUserRidList
              rids                     : *
                  rids: struct wbint_RidArray
                      num_rids                 : 0x0000001f (31)
                      rids: ARRAY(31)
                          rids                     : 0x000004b9 (1209)
                          rids                     : 0x00000847 (2119)
                          rids                     : 0x0000045d (1117)
                          rids                     : 0x000004a4 (1188)
                          rids                     : 0x0000045a (1114)
                          rids                     : 0x00000464 (1124)
                          rids                     : 0x000001f4 (500)
                          rids                     : 0x00000459 (1113)
                          rids                     : 0x00000491 (1169)
                          rids                     : 0x000004ca (1226)
                          rids                     : 0x00000457 (1111)
                          rids                     : 0x00000645 (1605)
                          rids                     : 0x000004a9 (1193)
                          rids                     : 0x0000047c (1148)
                          rids                     : 0x00000473 (1139)
                          rids                     : 0x00000455 (1109)
                          rids                     : 0x00000456 (1110)
                          rids                     : 0x000004aa (1194)
                          rids                     : 0x00000844 (2116)
                          rids                     : 0x000001f5 (501)
                          rids                     : 0x000001f6 (502)
                          rids                     : 0x0000045b (1115)
                          rids                     : 0x00000490 (1168)
                          rids                     : 0x00000461 (1121)
                          rids                     : 0x00000494 (1172)
                          rids                     : 0x00000475 (1141)
                          rids                     : 0x0000048a (1162)
                          rids                     : 0x0000044f (1103)
                          rids                     : 0x0000045f (1119)
                          rids                     : 0x00000643 (1603)
                          rids                     : 0x000004ba (1210)
              result                   : NT_STATUS_OK
[2018/11/13 23:01:21.747188, 10, pid=5170, effective(0, 0), real(0, 0),
class=winbind]
../source3/winbindd/wb_query_user_list.c:77(wb_query_user_list_gotrids
)
  dcerpc_wbint_QueryUserList returned 31 users
[2018/11/13 23:01:21.747226,  1, pid=5170, effective(0, 0), real(0, 0),
class=rpc_parse] ../librpc/ndr/ndr.c:471(ndr_print_function_debug)
       wbint_LookupRids: struct wbint_LookupRids
          in: struct wbint_LookupRids
              domain_sid               : *
                  domain_sid               :
S-1-5-21-2578023650-2965493730-3822412211
              rids                     : *
                  rids: struct wbint_RidArray
                      num_rids                 : 0x0000001f (31)
                      rids: ARRAY(31)
                          rids                     : 0x000004b9 (1209)
                          rids                     : 0x00000847 (2119)
                          rids                     : 0x0000045d (1117)
                          rids                     : 0x000004a4 (1188)
                          rids                     : 0x0000045a (1114)
                          rids                     : 0x00000464 (1124)
                          rids                     : 0x000001f4 (500)
                          rids                     : 0x00000459 (1113)
                          rids                     : 0x00000491 (1169)
                          rids                     : 0x000004ca (1226)
                          rids                     : 0x00000457 (1111)
                          rids                     : 0x00000645 (1605)
                          rids                     : 0x000004a9 (1193)
                          rids                     : 0x0000047c (1148)
                          rids                     : 0x00000473 (1139)
                          rids                     : 0x00000455 (1109)
                          rids                     : 0x00000456 (1110)
                          rids                     : 0x000004aa (1194)
                          rids                     : 0x00000844 (2116)
                          rids                     : 0x000001f5 (501)
                          rids                     : 0x000001f6 (502)
                          rids                     : 0x0000045b (1115)
                          rids                     : 0x00000490 (1168)
                          rids                     : 0x00000461 (1121)
                          rids                     : 0x00000494 (1172)
                          rids                     : 0x00000475 (1141)
                          rids                     : 0x0000048a (1162)
                          rids                     : 0x0000044f (1103)
                          rids                     : 0x0000045f (1119)
                          rids                     : 0x00000643 (1603)
                          rids                     : 0x000004ba (1210)
[2018/11/13 23:01:21.841826,  1, pid=5170, effective(0, 0), real(0, 0),
class=rpc_parse] ../librpc/ndr/ndr.c:471(ndr_print_function_debug)
       wbint_LookupRids: struct wbint_LookupRids
          out: struct wbint_LookupRids
              domain_name              : *
                  domain_name              : *
                      domain_name              : 'EUROHIDRA'
              names                    : *
                  names: struct wbint_Principals
                      num_principals           : 31
                      principals: ARRAY(31)
                          principals: struct wbint_Principal
                              sid                      :
S-1-5-21-2578023650-2965493730-3822412211-1209
                              type                     : SID_NAME_UNKNOWN
(8)
                              name                     : NULL
                          principals: struct wbint_Principal
                              sid                      :
S-1-5-21-2578023650-2965493730-3822412211-2119
                              type                     : SID_NAME_USER (1)
                              name                     : *
                                  name                     : 'XXXXXXXXX'

Then, a lot more lines like this for every user. I removed them for
security reasons. Then

              result                   : NT_STATUS_OK
[2018/11/13 23:01:21.843593,  0, pid=5170, effective(0, 0), real(0, 0)]
../lib/util/fault.c:79(fault_report)
  ===============================================================
[2018/11/13 23:01:21.843677,  0, pid=5170, effective(0, 0), real(0, 0)]
../lib/util/fault.c:80(fault_report)
  INTERNAL ERROR: Signal 11 in pid 5170 (4.8.5)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2018/11/13 23:01:21.843743,  0, pid=5170, effective(0, 0), real(0, 0)]
../lib/util/fault.c:82(fault_report)
  ===============================================================
[2018/11/13 23:01:21.843793,  0, pid=5170, effective(0, 0), real(0, 0)]
../source3/lib/util.c:815(smb_panic_s3)
  PANIC (pid 5170): internal error
[2018/11/13 23:01:21.845329,  0, pid=5170, effective(0, 0), real(0, 0)]
../lib/util/fault.c:261(log_stack_trace)
  BACKTRACE: 56 stack frames:
   #0 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0x1f)
[0x7f1e7b301a26]
   #1 /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x6d)
[0x7f1e7764ee81]
   #2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x28)
[0x7f1e7b3019f1]
   #3 /usr/local/samba/lib/libsamba-util.so.0(+0x216b5) [0x7f1e7b3016b5]
   #4 /usr/local/samba/lib/libsamba-util.so.0(+0x216ca) [0x7f1e7b3016ca]
   #5 /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0) [0x7f1e7d0e10c0]
   #6
/usr/local/samba/lib/private/libsamba3-util-samba4.so(strlower_m+0x34)
[0x7f1e7699cfac]
   #7 /usr/local/samba/sbin/winbindd(fill_domain_username_talloc+0x4a)
[0x56162e1cbae9]
   #8 /usr/local/samba/sbin/winbindd(+0x78965) [0x56162e214965]
   #9
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #10 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #11 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #12 /usr/local/samba/lib/private/libdcerpc-samba4.so(+0xafb9)
[0x7f1e7ac88fb9]
   #13
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #14 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #15 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #16 /usr/local/samba/lib/private/libdcerpc-samba4.so(+0xabf1)
[0x7f1e7ac88bf1]
   #17
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #18 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #19 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #20 /usr/local/samba/lib/libdcerpc-binding.so.0(+0x1f069)
[0x7f1e7b784069]
   #21
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #22 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #23 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #24 /usr/local/samba/lib/libdcerpc-binding.so.0(+0x1e5ac)
[0x7f1e7b7835ac]
   #25
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #26 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #27 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #28 /usr/local/samba/sbin/winbindd(+0x6504e) [0x56162e20104e]
   #29
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #30 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #31 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #32 /usr/local/samba/sbin/winbindd(+0x60e21) [0x56162e1fce21]
   #33
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #34 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #35 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #36 /usr/local/samba/sbin/winbindd(+0x5fd36) [0x56162e1fbd36]
   #37
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #38 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #39 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #40 /usr/local/samba/lib/private/libLIBWBCLIENT-OLD-samba4.so(+0x2074)
[0x7f1e750a5074]
   #41
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #42 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #43 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #44 /usr/local/samba/lib/private/libLIBWBCLIENT-OLD-samba4.so(+0x1ab2)
[0x7f1e750a4ab2]
   #45
/usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)
[0x7f1e7a84bf80]
   #46 /usr/local/samba/lib/private/libtevent.so.0(+0x7055) [0x7f1e7a84c055]
   #47 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)
[0x7f1e7a84c07d]
   #48 /usr/local/samba/lib/private/libsmb-transport-samba4.so(+0x26ac)
[0x7f1e74e9f6ac]
   #49 /usr/local/samba/lib/private/libtevent.so.0(+0xe5a1) [0x7f1e7a8535a1]
   #50 /usr/local/samba/lib/private/libtevent.so.0(+0xebd9) [0x7f1e7a853bd9]
   #51 /usr/local/samba/lib/private/libtevent.so.0(+0xb8d5) [0x7f1e7a8508d5]
   #52 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0x10f)
[0x7f1e7a84a1b1]
   #53 /usr/local/samba/sbin/winbindd(main+0xe3f) [0x56162e1c7291]
   #54 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)
[0x7f1e744aa2e1]
   #55 /usr/local/samba/sbin/winbindd(_start+0x2a) [0x56162e1bfcea]
[2018/11/13 23:01:21.846429,  0, pid=5170, effective(0, 0), real(0, 0)]
../source3/lib/dumpcore.c:315(dump_core)
  dumping core in /var/log/samba/cores/winbindd


Rowland Penny via samba <samba@xxxxxxxxxxxxxxx> escreveu no dia terça,
13/11/2018 à(s) 19:26:

> On Tue, 13 Nov 2018 18:44:47 +0000
> Carlos Jesus via samba <samba@xxxxxxxxxxxxxxx> wrote:
>
> > Hi all,
> > on a recently installed samba file server, the winbind service crashes
> > apparently randomly. Every few hours it's necessary to  restart the
> > winbind service and then it works for a few more hours. Any ideas are
> > welcome. 1) the environment: 2 debian stretch DC's with round-robind
> > bind+dhcp with dns-update. 1 fileserver also (AD backend) on debian
> > stretch. All on self compiled samba 4.8.5 with, a hopefully thorough,
> > reading of the wiki. Several windows 10 and ubuntu clients. About 30
> > user accounts. 2) DC smb.conf (for the other DC is basically the
> > same) : [global]
>
> >         username map = /usr/local/samba/etc/user.map
>
> You should remove the above line, it has no place in a DC smb.conf, a
> DC has idmap.ldb instead.
>
> >         passwd program = /usr/bin/passwd %u
>
> Again the above shouldn't in a DC smb.conf
>
> >         unix password sync = yes
>
> The above definitely shouldn't be in a DC smb.conf, you cannot have
> users in /etc/passwd and AD with the same name.
>
> >         dedicated keytab file = /etc/krb5.keytab
> >         kerberos method = secrets and keytab
> >         winbind refresh tickets = Yes
>
> You only need the above lines if you need access to keytabs for a
> mail server, nfs, etc.
>
> >         winbind use default domain = yes
>
> The above line doesn't work on a DC
>
> > 3) FileServer smb.conf (stripped of the shares section)
> > [global]
> >         security = ADS
> >         workgroup = EUROHIDRA
> >         realm = EUROHIDRA.LOCAL
> >         netbios name = EHFS
> >         interfaces = lo br0
> >         bind interfaces only = yes
> >         log file = /var/log/samba/%U.log
> >         log level = 2
> >         username map = /usr/local/samba/etc/user.map
> >
> >         idmap config EUROHIDRA : backend = ad
> >         idmap config EUROHIDRA : range = 10000-999999
> >         idmap config EUROHIDRA : schema_mode = rfc2307
> >         idmap config EUROHIDRA : unix_nss_info = yes
> >         idmap config * : backend = tdb
> >         idmap config * : range = 3000-7999
>
> I take it that the Domain Users group has a gidNumber inside the
> '10000-999999' range and that your users have a uidNumber inside the
> same range.
>
> Try changing the log level to '10' and see if anything pops out.
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba