[Samba] Cannot logon Samba 4 via plaintext password

Daniel Müller mueller at tropenklinik.de
Sun Feb 3 23:59:07 MST 2013


Did you try samba-tool:


pwsettings

Sets password settings

set

-H
--quiet
--complexity=on|off|default
--store-plaintext=on|off|default
--history-length=
--min-pwd-length=
--min-pwd-age=
--max-pwd-age=
-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------

-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von TAKAHASHI Motonobu
Gesendet: Sonntag, 3. Februar 2013 17:27
An: BHuntsman at mail2.cu-portland.edu
Cc: samba at lists.samba.org
Betreff: 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


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list