[Samba] winbindd segfaults

Luca Olivetti luca at wetron.es
Fri Apr 29 13:59:39 UTC 2016


Hello,

I'm struggling to make an NT style member server[*] work after the 
recent update of samba in ubuntu 14.04 (samba 2:4.3.8+dfsg-0ubuntu): no 
matter how I set the various parameters, it doesn't authenticate against 
the server (it's running samba 3.5.2, old and unsupported, I know, a 
replacement is planned but not right now)

[*] actually a clone of the real vm, where I downgraded samba to the 
previous version that works (2:4.1.6+dfsg-1ubuntu).

In this thread
http://lists-archives.com/samba/96377-nonfunctional-linux-cifs-mounts-after-update-ads-windows-dc-auth.html
Jeremy Allison said that NTLM auth should be passed to winbindd.
In case this also applies to an NT domain, I tried to run winbindd 
(which I never did before), but it segfaults almost immediately.

Just before the segfault I see a strange user_name:

[0000] 13 00 5C 00 5C 00 48 00   50 00 00 00 00 49 00 42   ..\.\.H. P....I.B
[0010] 00 52 00 45 00 24 00 00   57 00 45 00 54 00 52 00   .R.E.$.. W.E.T.R.
[0020] 4F 00 4E 00 00 00 01 00   00 00 FF FF FF FF         O.N..... ......
      &response->data.nt4: struct NETLOGON_SAM_LOGON_RESPONSE_NT40
         command                  : LOGON_SAM_LOGON_RESPONSE (19)
         pdc_name                 : '\\HP'
         user_name                : '䤀䈀刀䔀␀'
         domain_name              : 'WETRON'
         nt_version               : 0x00000001 (1)
                1: NETLOGON_NT_VERSION_1
                0: NETLOGON_NT_VERSION_5
                0: NETLOGON_NT_VERSION_5EX
                0: NETLOGON_NT_VERSION_5EX_WITH_IP
                0: NETLOGON_NT_VERSION_WITH_CLOSEST_SITE
                0: NETLOGON_NT_VERSION_AVOID_NT4EMUL
                0: NETLOGON_NT_VERSION_PDC
                0: NETLOGON_NT_VERSION_IP
                0: NETLOGON_NT_VERSION_LOCAL
                0: NETLOGON_NT_VERSION_GC
         lmnt_token               : 0xffff (65535)
         lm20_token               : 0xffff (65535)


It seems there's an extra 0 (instead of an 'L') spoiling the utf-16 
interpretation, however I couldn't see it in wireshark traces, so I 
don't know where it comes from.

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007



More information about the samba mailing list