[Samba] Cannot logon Samba 4 via plaintext password

Benjamin Huntsman BHuntsman at mail2.cu-portland.edu
Mon Feb 4 10:32:29 MST 2013


There is no samba-tool binary in my build.  I built 4.0.2 using the original build system, since the WAF-baed one doesn't work on AIX.
Can the same effect be achieved through editing smb.conf?

Thanks!

-Ben

________________________________________
From: Daniel Müller [mueller at tropenklinik.de]
Sent: Sunday, February 03, 2013 10:59 PM
To: 'TAKAHASHI Motonobu'; Benjamin Huntsman
Cc: samba at lists.samba.org
Subject: AW: [Samba] Cannot logon Samba 4 via plaintext password

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