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

issue with -s and "all" keyword for 'valid users' #261

Closed
gdallaire opened this issue Dec 6, 2019 · 1 comment
Closed

issue with -s and "all" keyword for 'valid users' #261

gdallaire opened this issue Dec 6, 2019 · 1 comment
Assignees

Comments

@gdallaire
Copy link

example:

-s "share;/mnt;yes;no;no;zally"

"zally" won't be added as a valid user since it contains "all"

from /usr/bin/samba.sh:

[[ ${users:-""} && ! ${users:-""} =~ all ]] && echo " valid users = $(tr ',' ' ' <<< $users)" >>$file

[[ zally =~ all ]] --> true incorrect

[[ zally = all ]] --> false correct

=~ should be replaced by = ?

@dperson dperson self-assigned this Mar 20, 2020
@dperson
Copy link
Owner

dperson commented Mar 20, 2020

Thanks!

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

2 participants