|
Description
|
SMB daemon crashes upon user logon failure. It seems to happen when idmapd fails to locate domain controller.
-rw------- 1 root sys 16571680 Oct 7 11:37 core.smbd.1223404593
# mdb core.smbd.1223404593
Loading modules: [ libumem.so.1 libc.so.1 libuutil.so.1 libavl.so.1 libnvpair.so.1 ld.so.1 ]
> $C
fde5da54 libc.so.1`strlen+0x30(fde5e1fb, fde5e674, fde5da70, 0)
fde5da9c libc.so.1`vsnprintf+0x70(fde5dd18, 4c0, fde5e1f4, fde5e674)
fde5e648 libc.so.1`vsyslog+0x3de(1f, fed70558, fde5e674)
fde5e664 libc.so.1`syslog+0x22(7, fed70558, 0, 0, 1f4, ffffd8f1)
fde5e6a8 libsmb.so.1`smb_idmap_batch_getmappings+0x75(fde5e6cc)
fde5e6f8 libmlsvc.so.1`smb_token_sids2ids+0x76(81e2e28)
fde5e718 libmlsvc.so.1`smb_token_create+0xb5(80b6808)
fde5e738 libmlsvc.so.1`smb_logon+0x63(81e9030)
fde5e898 smbd_user_auth_logon+0x18(81e9030, 0, fde5e93c, 4c4, 1f, 8058218)
fde5e8c0 smb_dop_user_auth_logon+0x35(fde5e93c, 4c4, 0, 0, fde5e908, fde5e90c)
fde5e910 smb_door_srv_func+0x8e(deadbeee, fde5e938, 4c8, 0, 0, 805570c)
00000000 libc.so.1`__door_return+0x52()
>
coredump can be found here: /net/thurso/cores/cifs/nl160780/smb_idmap_batch_getmappings/core.smbd.1223404593
syslog
=======
NOTE: pid of the SMB daemon changed from 102003 -> 102012
Oct 7 11:36:33 reallyreallylonghostname smbd[102003]: [ID 395423 daemon.debug] smbrdr_ntcreatex: 18 \NETLOGON
Oct 7 11:36:33 reallyreallylonghostname smbd[102003]: [ID 528497 daemon.debug] SmbRdrNtCreate: fid=7
Oct 7 11:36:58 reallyreallylonghostname idmap[100999]: [ID 706612 daemon.debug] LDAP SASL bind to win2k3-q1.netbench.com:389 failed (Local error)Oct 7 11:36:58 reallyreallylonghostname idmap[100999]: [ID 153168 daemon.debug] Couldn't open and SASL bind LDAP connections to any domain controllers; discovery of some items will fail
Oct 7 11:37:13 reallyreallylonghostname smbd[102012]: [ID 208731 daemon.debug] REALLYREALLYLON flags=0x1
Oct 7 11:37:13 reallyreallylonghostname smbd[102012]: [ID 757673 daemon.debug] 10.1.106.57 ttl=600 flags=0x1
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 208731 daemon.debug] REALLYREALLYLON flags=0x1
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 757673 daemon.debug] 10.1.106.57 ttl=600 flags=0x1
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 702911 daemon.debug] Querying DNS for SRV RRs named '_ldap._tcp.dc._msdcs'
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 702911 daemon.debug] smb_ads: Found ADS server: win2k3-q1.netbench.com (192.168.75.47)
[0][100]
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 853036 daemon.debug] msdcsLookupADS: win2k3-q1.netbench.com [192.168.75.47]
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 290708 daemon.debug] NS Found 192.168.75.47 name server
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 218866 daemon.debug] SMB DC Preference:
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 395055 daemon.debug] DC Offer [NETBENCH]: win2k3-q1 [192.168.75.47]
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 290708 daemon.debug] NS Found 129.153.118.7 name server
Oct 7 11:37:14 reallyreallylonghostname smbd[102012]: [ID 622660 daemon.debug] DC discovered for NETBENCH: win2k3-q1 [192.168.75.47]
Oct 7 11:37:15 reallyreallylonghostname smbd[102012]: [ID 357086 daemon.debug] smbd: Master browser found at 10.1.106.22
Oct 7 11:37:15 reallyreallylonghostname smbd[102012]: [ID 614590 daemon.debug] smbd: Domain Master browser for NETBENCH is 192.168.75.47
Oct 7 11:37:15 reallyreallylonghostname smbd[102012]: [ID 702911 daemon.debug] smb_ads: Share share2 has been removed from ADS container: ou=test.
Oct 7 11:37:15 reallyreallylonghostname smbd[102012]: [ID 702911 daemon.debug] smb_ads: Share share2 has been added to ADS contain
|