[Samba] Cannot logon Samba 4 via plaintext password

Benjamin Huntsman BHuntsman at mail2.cu-portland.edu
Sun Feb 3 12:52:02 MST 2013


So then basically plaintext passwords (and by extension authentication against local UNIX accounts) is completely broken in Samba 4?
Want to file a bug, or shall I?

Thanks!

-Ben



________________________________________
From: TAKAHASHI Motonobu [monyo at monyo.com]
Sent: Sunday, February 03, 2013 8:27 AM
To: Benjamin Huntsman
Cc: samba at lists.samba.org
Subject: Re: [Samba] Cannot logon Samba 4 via plaintext password

From: Benjamin Huntsman <BHuntsman at mail2.cu-portland.edu>
Date: Fri, 1 Feb 2013 21:42:29 +0000

> So, I have "working" builds of Samba 3.6.10, and 4.0.2 using the
> traditional build system on AIX, both built with XLC.
>
> For historical reasons, we're needing to use 'encrypt passwords = no', so
> that Samba uses the OS password.
>
> The odd thing, is, the 3.6.10 Samba works just fine, but the 4.0.2
> doesn't allow connections.  Here's the Samba config I'm using on both:

I reproduced this problem on Linux box. I see packet captures and confirm
that Samba replies to enable plaintext password, Windows client sends a
plaintext password, and at last Samba replies logon failure to client.

My smb.conf is:

-----
[global]
  encrypt passwords = no
  server max protocol = nt1
  ntlm auth = yes

[tmp]
  path = /tmp
  writeable = yes
-----

Hmmm, I think it is a bug...

---
TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo
                   facebook.com/takahashi.motonobu



More information about the samba mailing list