Author Topic: Passwordless Samba Access  (Read 1233 times)

thiagotgc

  • Zen Warrior
  • ***
  • Posts: 129
  • Karma: +1/-0
    • View Profile
Passwordless Samba Access
« on: October 09, 2019, 05:06:39 pm »
Hello.

I use Zentyal for many years, and I always liked it a lot, but today I went to share a folder with access to released to the whole network.

I enabled Guest user, and I enabled Guest access on the share.

But when I type \\ ip-zentyal \ it asks for username and password.

I don't want you to request any kind of password.

Does anyone have a tip?

doncamilo

  • Zen Samurai
  • ****
  • Posts: 478
  • Karma: +165/-1
    • View Profile
Re: Passwordless Samba Access
« Reply #1 on: October 10, 2019, 03:25:04 pm »
 :)

I don't know if I have rightly understood. After configuring the share for guest users you have to select this option in the client pop-up, whitout user nor password. Could be that you created this resource with some acl's and afterwards you enabled the guest option?

Check your /etc/samba/shares.conf file

Code: [Select]
# Shares

[test]
    path = /home/samba/shares/test
    browseable = yes
    force create mode = 0660
    force directory mode = 0660
    guest ok = yes
    read only = no
    vfs objects = acl_xattr full_audit
    full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename

Code: [Select]
root@zen6:~# getfacl /home/samba/shares/test
getfacl: Removing leading '/' from absolute path names
# file: home/samba/shares/test
# owner: nobody
# group: LAB6\134domain\040users
user::rwx
user:LAB6\134administrator:rwx
group::rwx
group:adm:rwx
group:LAB6\134domain\040admins:rwx
mask::rwx
other::rwx
default:user::rwx
default:user:LAB6\134administrator:rwx
default:group::rwx
default:group:adm:rwx
default:group:LAB6\134domain\040admins:rwx
default:mask::rwx
default:other::rwx

The first time the user access to the shared resource there's the pop-up you log as guest and , afterwards, you can enter to the resource directly.

- Do my pigeons bother you passing over your land?
- They block the sun!

G. Guareschi., Don Camillo.,