Score:0

Samba share is wide open even when I setup username/password

cn flag

I've set up numerous samba shares that are username/password protected. In my most recent Samba share though users can access the shared directory without entering a username or password.

I created a user and placed it in the smbgrp group.

[global]
    netbios name = I erased this
    workgroup = I erased this

    security = user
    map to guest = Bad User
    encrypt passwords = yes
    # Run a WINS server

    wins support = yes

    server string = CQ File Server
    name resolve order = bcast host
    dns proxy = no

    log file = /var/log/samba/%m.log

    create mask = 0664
    directory mask = 0775

    force create mode = 0664
    force directory mode = 0775

    guest account = nobody
    ; One may be interested in the following setting:
    ;force group = +nas
    
[recordings]
    path = /mnt/monitoring
    create mask = 0700
    valid users = @smbgrp
    guest ok = no
    read only = no
    available = yes
    browsable = yes
    writable = yes

[test]
path = /mnt/test3
writable = yes
browsable = yes
guest ok = no
valid users = @smbgrp
Michael Hampton avatar
cz flag
Which share is having the problem?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.