[Samba] [solved] Re: smbclient failing: Server requested plaintext password...

John Riesen vndcfv03 at sneakemail.com
Tue Jul 7 02:02:47 GMT 2009

This code in param/loadpam.c pointed out the problem.

static void set_allowed_client_auth(void)
    if (Globals.bClientNTLMv2Auth) {
        Globals.bClientLanManAuth = False;
    if (!Globals.bClientLanManAuth) {
        Globals.bClientPlaintextAuth = False;

You have to set 'client lanman auth = yes'.  Otherwise,
'client plaintext auth' is forced off.

So using 'smbclient -s foo.conf' where foo.conf has ...

    client lanman auth = yes
    client plaintext auth = yes

... does the trick.

It seems this changed some time between 3.0.x and 3.2.x.

This bit of doco in smb.conf(5) in the 'client lanman auth'
section was the part I missed...

   Disabling this option will also disable the client plaintext auth

More information about the samba mailing list