[Samba] Nonfunctional linux/CIFS mounts after update (ADS / windows DC auth)

Luca Olivetti luca at wetron.es
Thu Apr 28 07:40:05 UTC 2016


El 27/04/16 a les 22:02, Jeremy Allison ha escrit:

> What is your smb.conf. Is winbindd running ? If so you might
> want to look in the winbindd logs, as this is an NTLM auth
> which should be passed to winbindd in the domain case.

Is this so even for an NT domain member?
Because I tried running winbind but it segfaults immediately.
This is on ubuntu 14.04, winbind/samba 2:4.3.8+dfsg-0ubuntu.

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