[Samba] Cannot logon Samba 4 via plaintext password

TAKAHASHI Motonobu monyo at monyo.com
Sun Feb 3 09:27:07 MST 2013

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:

  encrypt passwords = no
  server max protocol = nt1
  ntlm auth = yes

  path = /tmp
  writeable = yes

Hmmm, I think it is a bug...

TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo 

More information about the samba mailing list