RHCSA help wanted - Samba user won't accept password in lab

Hi,

I doing the lab for RHCSA prep course, creating a Samba share to be available on Windows / Samba clients.  Everything works beautifully except that I get:

smbclient -U user -L 10.0.1.65
Enter SAMBA\user's password:
session setup failed: NT_STATUS_LOGON_FAILURE


I've tried following the video and the lab guide separately in case I missed something but get the same error each time.

Hope you can help, folks.

Many thanks,

Rufus
PS  Loving LA!
  • post-author-pic
    Rufus D
    09-17-2018

    OK, I created a new system user called randoph, set a password and then a Samba user password and voilá!  It works!  I still can't get the "user" account to connect, though and I'd really like to know why.


    Here's randolph's Samba client connecting:

    nmblookup Samba
    10.0.1.65 Samba<00>
    $ sudo smbclient -U randolph -L 10.0.1.65
    Enter SAMBA\randolph's password:

    Sharename Type Comment
    --------- ---- -------
    print$ Disk Printer Drivers
    myshare Disk This is our test share
    IPC$ IPC IPC Service (Samba 4.7.1)
    randolph Disk Home Directories
    Reconnecting with SMB1 for workgroup listing.

    Server Comment
    --------- -------

    Workgroup Master
    --------- -------
    SAMBA IP-10-0-1-65

  • post-author-pic
    Jake W
    09-17-2018

    Can you run pdbedit -L on the server side and provide the output?

  • post-author-pic
    Rufus D
    09-23-2018

    Hi Jake,


    Thanks for your reply.  I'll try the lab again and, if I get the same issue, I'll post the output of pbdedit -L.

    Many thanks,

    Rufus

Looking For Team Training?

Learn More