[Samba] PAM Offline Authentication in Ubuntu 22.04...

Marco Gaiarin gaio at lilliput.linux.it
Fri Jun 9 15:46:08 UTC 2023


Mandi! Rowland Penny via samba
  In chel di` si favelave...

> Since last week, I have set up 4 different VM's, 2 distros, 2 different 
> desktops and they all worked offline. I know this doesn't help you, but 
> it does show that it works.

And i'm very frustrated of that. I've tried on cable network, the same
behaviour.

What i see on winbind side (log at 10) for a 'id gaio':

[2023/06/09 17:08:54.057015,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:677(new_connection)
  Accepted client socket 23
[2023/06/09 17:08:54.057084, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:525(process_request_send)
  process_request_send: process_request: request fn INTERFACE_VERSION
[2023/06/09 17:08:54.057115,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_misc.c:355(winbindd_interface_version)
  winbindd_interface_version: [nss_winbind (3733)]: request interface version (version = 32)
[2023/06/09 17:08:54.057150, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:609(process_request_written)
  process_request_written: [nss_winbind(3733):INTERFACE_VERSION]: delivered response to client
[2023/06/09 17:08:54.057195,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:497(process_request_send)
  process_request_send: [nss_winbind (3733)] Handling async request: GETPWUID
[2023/06/09 17:08:54.057216,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_getpwuid.c:49(winbindd_getpwuid_send)
  [nss_winbind (3733)] Winbind external command GETPWUID start.
  Search UID 10000.
[2023/06/09 17:08:54.057236,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:261(wb_xids2sids_send)
  WB command xids2sids start.
  Looking up 1 XID(s).
[2023/06/09 17:08:54.057275, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:294(wb_xids2sids_send)
  wb_xids2sids_send: Found UID in cache: S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:08:54.057298, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:64(wb_xids2sids_dom_send)
  Searching for 1 xid(s) in domain DANE.
[2023/06/09 17:08:54.057313, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:95(wb_xids2sids_dom_send)
  0: XID 10000 is already found in cache.
[2023/06/09 17:08:54.057332, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:64(wb_xids2sids_dom_send)
  Searching for 1 xid(s) in domain lnffvg.
[2023/06/09 17:08:54.057349, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:95(wb_xids2sids_dom_send)
  0: XID 10000 is already found in cache.
[2023/06/09 17:08:54.057365, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:64(wb_xids2sids_dom_send)
  Searching for 1 xid(s) in domain *.
[2023/06/09 17:08:54.057381, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:89(wb_xids2sids_dom_send)
  0: XID 10000 is out of range.
[2023/06/09 17:08:54.057400,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:405(wb_xids2sids_recv)
  WB command xids2sids end.
[2023/06/09 17:08:54.057414,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_xids2sids.c:415(wb_xids2sids_recv)
  0: XID 10000 mapped to SID S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:08:54.057431,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_getpwsid.c:49(wb_getpwsid_send)
  WB command getpwsid start.
  Query user SID S-1-5-21-160080369-3601385002-3131615632-1105.
[2023/06/09 17:08:54.057449,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:56(wb_queryuser_send)
  WB command queryuser start.
  Query user sid S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:08:54.057469, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:95(wb_queryuser_idmap_setup_done)
  Convert the user SID S-1-5-21-160080369-3601385002-3131615632-1105 to XID.
[2023/06/09 17:08:54.057485,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:84(wb_sids2xids_send)
  WB command sids2xids start.
  Resolving 1 SID(s).
[2023/06/09 17:08:54.057507, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:156(wb_sids2xids_send)
  0: SID S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:08:54.057538, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:175(wb_sids2xids_send)
  Found 1 (out of 1) SID(s) in cache.
[2023/06/09 17:08:54.057556,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:775(wb_sids2xids_recv)
  WB command sids2xids end.
[2023/06/09 17:08:54.057569,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:779(wb_sids2xids_recv)
  0: Found XID 10000 for SID S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:08:54.057611, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:134(wb_queryuser_got_uid)
  Received XID 10000 for SID S-1-5-21-160080369-3601385002-3131615632-1105.
[2023/06/09 17:08:54.057629, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:148(wb_queryuser_got_uid)
  Preconfigured 'Domain Users' RID 513 was used to create group SID S-1-5-21-160080369-3601385002-3131615632-513 from user SID S-1-5-21-160080369-3601385002-3131615632-1105.
[2023/06/09 17:08:54.057651, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:154(wb_queryuser_got_uid)
  Setting 'homedir' to the template '/home/%D/%U'.
[2023/06/09 17:08:54.057667, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:160(wb_queryuser_got_uid)
  Setting 'shell' to the template '/bin/false'.
[2023/06/09 17:08:54.057710, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:167(wb_queryuser_got_uid)
  Filling data received from netsamlogon_cache
[2023/06/09 17:08:54.057745, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:198(wb_queryuser_got_uid)
  Domain name is set, calling dcerpc_wbint_GetNssInfo_send()

then seems to timeout for the 5 seconds i've set:

[2023/06/09 17:09:00.070945,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:966(remove_timed_out_clients)
  Client request timed out, shutting down sock 20, pid 1276
[2023/06/09 17:09:00.071134,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:966(remove_timed_out_clients)
  Client request timed out, shutting down sock 23, pid 3733
[2023/06/09 17:09:00.148506,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:677(new_connection)
  Accepted client socket 20
[2023/06/09 17:09:00.148672, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:525(process_request_send)
  process_request_send: process_request: request fn INTERFACE_VERSION
[2023/06/09 17:09:00.148715,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_misc.c:355(winbindd_interface_version)
  winbindd_interface_version: [nss_winbind (1276)]: request interface version (version = 32)
[2023/06/09 17:09:00.148772, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:609(process_request_written)
  process_request_written: [nss_winbind(1276):INTERFACE_VERSION]: delivered response to client
[2023/06/09 17:09:00.148849,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:497(process_request_send)
  process_request_send: [nss_winbind (1276)] Handling async request: GETPWNAM
[2023/06/09 17:09:00.148884,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_getpwnam.c:59(winbindd_getpwnam_send)
  [nss_winbind (1276)] Winbind external command GETPWNAM start.
  Query username 'gaio'.
[2023/06/09 17:09:00.148924,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_lookupname.c:52(wb_lookupname_send)
  WB command lookupname start.
  Search namespace 'LNFFVG' and domain 'LNFFVG' for name 'gaio'.
[2023/06/09 17:09:00.149026, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_dual_ndr.c:112(wbint_bh_raw_call_send)
  wbint_bh_raw_call_send: Got opnum 3 for domain LNFFVG from cache
[2023/06/09 17:09:00.149077,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_lookupname.c:118(wb_lookupname_recv)
  WB command lookupname end.
  Found SID S-1-5-21-160080369-3601385002-3131615632-1105 with SID type 1.
[2023/06/09 17:09:00.149118,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_getpwsid.c:49(wb_getpwsid_send)
  WB command getpwsid start.
  Query user SID S-1-5-21-160080369-3601385002-3131615632-1105.
[2023/06/09 17:09:00.149166,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:56(wb_queryuser_send)
  WB command queryuser start.
  Query user sid S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:09:00.149214, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:95(wb_queryuser_idmap_setup_done)
  Convert the user SID S-1-5-21-160080369-3601385002-3131615632-1105 to XID.
[2023/06/09 17:09:00.149256,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:84(wb_sids2xids_send)
  WB command sids2xids start.
  Resolving 1 SID(s).
[2023/06/09 17:09:00.149308, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:156(wb_sids2xids_send)
  0: SID S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:09:00.149365, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:175(wb_sids2xids_send)
  Found 1 (out of 1) SID(s) in cache.
[2023/06/09 17:09:00.149407,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:775(wb_sids2xids_recv)
  WB command sids2xids end.
[2023/06/09 17:09:00.149446,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:779(wb_sids2xids_recv)
  0: Found XID 10000 for SID S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:09:00.149491, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:134(wb_queryuser_got_uid)
  Received XID 10000 for SID S-1-5-21-160080369-3601385002-3131615632-1105.
[2023/06/09 17:09:00.149534, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:148(wb_queryuser_got_uid)
  Preconfigured 'Domain Users' RID 513 was used to create group SID S-1-5-21-160080369-3601385002-3131615632-513 from user SID S-1-5-21-160080369-3601385002-3131615632-1105.
[2023/06/09 17:09:00.149608, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:154(wb_queryuser_got_uid)
  Setting 'homedir' to the template '/home/%D/%U'.
[2023/06/09 17:09:00.149652, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:160(wb_queryuser_got_uid)
  Setting 'shell' to the template '/bin/false'.
[2023/06/09 17:09:00.149741, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:167(wb_queryuser_got_uid)
  Filling data received from netsamlogon_cache
[2023/06/09 17:09:00.149823, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:198(wb_queryuser_got_uid)
  Domain name is set, calling dcerpc_wbint_GetNssInfo_send()
[2023/06/09 17:09:10.013148, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_util.c:715(winbindd_ping_offline_domains)
  winbindd_ping_offline_domains: Domain BUILTIN is online
[2023/06/09 17:09:10.013271, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_util.c:720(winbindd_ping_offline_domains)
  winbindd_ping_offline_domains: We are globally offline, do nothing.
[2023/06/09 17:09:10.077554,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:966(remove_timed_out_clients)
  Client request timed out, shutting down sock 20, pid 1276
[2023/06/09 17:09:10.089462,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:677(new_connection)
  Accepted client socket 20
[2023/06/09 17:09:10.089540, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:525(process_request_send)
  process_request_send: process_request: request fn INTERFACE_VERSION
[2023/06/09 17:09:10.089555,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_misc.c:355(winbindd_interface_version)
  winbindd_interface_version: [nss_winbind (1276)]: request interface version (version = 32)
[2023/06/09 17:09:10.089609, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:609(process_request_written)
  process_request_written: [nss_winbind(1276):INTERFACE_VERSION]: delivered response to client
[2023/06/09 17:09:10.089664,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:497(process_request_send)
  process_request_send: [nss_winbind (1276)] Handling async request: GETGROUPS
[2023/06/09 17:09:10.089679,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_getgroups.c:63(winbindd_getgroups_send)
  [nss_winbind (1276)] Winbind external command GETGROUPS start.
  Searching groups for username 'root'.
[2023/06/09 17:09:10.089709,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_lookupname.c:52(wb_lookupname_send)
  WB command lookupname start.
  Search namespace 'LNFFVG' and domain 'LNFFVG' for name 'root'.
[2023/06/09 17:09:10.089766, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_dual_ndr.c:112(wbint_bh_raw_call_send)
  wbint_bh_raw_call_send: Got opnum 3 for domain LNFFVG from cache
[2023/06/09 17:09:10.089838,  1, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_getgroups.c:259(winbindd_getgroups_recv)
  Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
[2023/06/09 17:09:10.089866,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:564(process_request_done)
  process_request_done: [nss_winbind(1276):GETGROUPS]: NT_STATUS_NONE_MAPPED
[2023/06/09 17:09:10.089908, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:609(process_request_written)
  process_request_written: [nss_winbind(1276):GETGROUPS]: delivered response to client
[2023/06/09 17:09:10.090101,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:497(process_request_send)
  process_request_send: [nss_winbind (1276)] Handling async request: GETGROUPS
[2023/06/09 17:09:10.090117,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_getgroups.c:63(winbindd_getgroups_send)
  [nss_winbind (1276)] Winbind external command GETGROUPS start.
  Searching groups for username 'root'.
[2023/06/09 17:09:10.090163,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_lookupname.c:52(wb_lookupname_send)
  WB command lookupname start.
  Search namespace 'LNFFVG' and domain 'LNFFVG' for name 'root'.
[2023/06/09 17:09:10.090190, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_dual_ndr.c:112(wbint_bh_raw_call_send)
  wbint_bh_raw_call_send: Got opnum 3 for domain LNFFVG from cache
[2023/06/09 17:09:10.090227,  1, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_getgroups.c:259(winbindd_getgroups_recv)
  Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
[2023/06/09 17:09:10.090242,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:564(process_request_done)
  process_request_done: [nss_winbind(1276):GETGROUPS]: NT_STATUS_NONE_MAPPED
[2023/06/09 17:09:10.090266, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:609(process_request_written)
  process_request_written: [nss_winbind(1276):GETGROUPS]: delivered response to client
[2023/06/09 17:09:10.092364,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:497(process_request_send)
  process_request_send: [nss_winbind (1276)] Handling async request: GETPWNAM
[2023/06/09 17:09:10.092392,  3, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_getpwnam.c:59(winbindd_getpwnam_send)
  [nss_winbind (1276)] Winbind external command GETPWNAM start.
  Query username 'gaio'.
[2023/06/09 17:09:10.092414,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_lookupname.c:52(wb_lookupname_send)
  WB command lookupname start.
  Search namespace 'LNFFVG' and domain 'LNFFVG' for name 'gaio'.
[2023/06/09 17:09:10.092452, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_dual_ndr.c:112(wbint_bh_raw_call_send)
  wbint_bh_raw_call_send: Got opnum 3 for domain LNFFVG from cache
[2023/06/09 17:09:10.092488,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_lookupname.c:118(wb_lookupname_recv)
  WB command lookupname end.
  Found SID S-1-5-21-160080369-3601385002-3131615632-1105 with SID type 1.
[2023/06/09 17:09:10.092529,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_getpwsid.c:49(wb_getpwsid_send)
  WB command getpwsid start.
  Query user SID S-1-5-21-160080369-3601385002-3131615632-1105.
[2023/06/09 17:09:10.092550,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:56(wb_queryuser_send)
  WB command queryuser start.
  Query user sid S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:09:10.092574, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:95(wb_queryuser_idmap_setup_done)
  Convert the user SID S-1-5-21-160080369-3601385002-3131615632-1105 to XID.
[2023/06/09 17:09:10.092594,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:84(wb_sids2xids_send)
  WB command sids2xids start.
  Resolving 1 SID(s).
[2023/06/09 17:09:10.092647, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:156(wb_sids2xids_send)
  0: SID S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:09:10.092682, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:175(wb_sids2xids_send)
  Found 1 (out of 1) SID(s) in cache.
[2023/06/09 17:09:10.092697,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:775(wb_sids2xids_recv)
  WB command sids2xids end.
[2023/06/09 17:09:10.092708,  5, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_sids2xids.c:779(wb_sids2xids_recv)
  0: Found XID 10000 for SID S-1-5-21-160080369-3601385002-3131615632-1105
[2023/06/09 17:09:10.092720, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:134(wb_queryuser_got_uid)
  Received XID 10000 for SID S-1-5-21-160080369-3601385002-3131615632-1105.
[2023/06/09 17:09:10.092731, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:148(wb_queryuser_got_uid)
  Preconfigured 'Domain Users' RID 513 was used to create group SID S-1-5-21-160080369-3601385002-3131615632-513 from user SID S-1-5-21-160080369-3601385002-3131615632-1105.
[2023/06/09 17:09:10.092744, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:154(wb_queryuser_got_uid)
  Setting 'homedir' to the template '/home/%D/%U'.
[2023/06/09 17:09:10.092754, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:160(wb_queryuser_got_uid)
  Setting 'shell' to the template '/bin/false'.
[2023/06/09 17:09:10.092780, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:167(wb_queryuser_got_uid)
  Filling data received from netsamlogon_cache
[2023/06/09 17:09:10.092807, 10, pid=1646, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/wb_queryuser.c:198(wb_queryuser_got_uid)
  Domain name is set, calling dcerpc_wbint_GetNssInfo_send()


if i run 'strace id gaio' i catch that winbind timeout on
/run/samba/winbind/pipe (two time).


If i reconnect cable (or wireless) still i have to wait some insane amount
of time (at leastmore the 10 minutes) to have winbind come back again
online.

-- 
  Nobody expects the Bavarian inquisition!
						(Anonimo, 19/4/2005)





More information about the samba mailing list