Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Even with guest=yes, windows still ask for password #455

Open
shalak opened this issue Feb 1, 2024 · 1 comment
Open

Even with guest=yes, windows still ask for password #455

shalak opened this issue Feb 1, 2024 · 1 comment

Comments

@shalak
Copy link

shalak commented Feb 1, 2024

Here's my configuration:

  samba:
    image: dperson/samba
    container_name: samba
    network_mode: host
    environment:
      TZ: 'Europe/Warsaw'
      NMBD: true
      GROUPID: 1000
      USERID: 1000
      WORKGROUP: WORKGROUP
    read_only: true
    env_file:
      - samba.env  # contains SMB_PASSWORD
    tmpfs:
      - /tmp
    restart: unless-stopped
    stdin_open: true
    tty: true
    volumes:
      - /srv/storage/install/:/mnt:z
      - /srv/storage/public/:/mnt-public:z
    command: '-s "instalki;/mnt;yes;yes;yes;;;;instalatory" -s "instalki-public;/mnt-public;yes;no;yes;mirek,guest;mirek;mirek,guest;instalatory-publiczne" -s "instalki-rw;/mnt;yes;no;no;mirek" -u "mirek;$$SMB_PASSWORD" -p'

Unfortunately, when I enter \\servername in windows explorer, it immediately asks for password. Even though, it should allow guest access to instalki and instalki-public shares (with instalki-public having guest write pemissions), and only when trying to access instalki-rw it should prompt for password.

I even tried starting the container with only single share via -s "instalki;/mnt;yes;yes;yes" and it still prompted for credentials...

What am I missing?

@shalak
Copy link
Author

shalak commented Feb 1, 2024

I made sure, on the windows client, that Enable Insecure Guest Logons it not disabled (also tried to set it explicitly to Enabled), didn't help:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant