Results 1 to 3 of 3

Thread: Cannot log in to samba from host win10 to guest vmware ubuntu 22.04

  1. #1
    Join Date
    Aug 2022
    Beans
    2

    Cannot log in to samba from host win10 to guest vmware ubuntu 22.04

    I have a Windows 10 host, on which I run guest VMware Ubuntu 22.04.
    Samba is installed on the guest. I've added the [homes] section in /etc/samba/smb.conf

    Code:
    [homes]
        comment = Home Directories
        browseable = yes
        path = /home/me
        valid users = me
        read only = no
    Also set a samba password:
    Code:
    (echo me; echo me) | sudo smbpasswd -s -a me
    sudo systemctl restart smbd
    But I cannot log in from the host to samba.
    wireshark recorded on the guest, shows the host resets the connection:


    How can I fix it? Which more information is needed?
    Thanks

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Cannot log in to samba from host win10 to guest vmware ubuntu 22.04

    Why all the "echos" in the smbpasswd command? Usually I just use
    Code:
    smbpasswd -a username
    and enter the password at the prompt.

    For more debugging, look at the logs in /var/log/samba.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Aug 2022
    Beans
    2

    Re: Cannot log in to samba from host win10 to guest vmware ubuntu 22.04

    Thanks for the reply!
    The echos are because I wanted to make this part automatic and not interactive.

    Actually there's nothing in the logs - I mean, no new logs are added

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •