-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Entrypoint Conf parse not right #67
Comments
Wrong syntax, you forgot the I think we could add some basic validation to avoid this. |
Yeah that works. |
Let me know when you push that and I'll test. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Behaviour
No shares are showing.
Here is the
smb.conf
as it was parsed byentrypoint.sh
:Looks like json?
Here is how I have the config.yml set up
if I manually correct the
/etc/samba/smb.conf
with the following everything works as expecteddocker --version
) : Docker version 24.0.4, build 3713ee1uname -a
) : Linux theserver 6.1.0-10-amd64 Add ZeroConf Service Discovery #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 GNU/Linuxdocker-compose.yml
,.env
, ...docker compose:
Docker info
Setting timezone to America/New_York
Initializing files and folders
Setting global configuration
Creating user addohm/addohm (1000:1000)
Added user addohm.
Creating user liyu/liyu (1001:1001)
Added user liyu.
Add global option: force user = addohm
Add global option: force group = addohm
Add global option: {"name":"public","comment":"Public","path":"/samba/public","browsable":"yes","readonly":"yes","guestok":"yes","veto":"no","recycle":"yes"}
Add global option: {"name":"addohm","path":"/samba/addohm","browsable":"yes","readonly":"no","guestok":"no","validusers":"addohm","writelist":"addohm","veto":"no"}
Add global option: {"name":"liyu","path":"/samba/liyu","browsable":"yes","readonly":"no","guestok":"no","validusers":"liyu","writelist":"liyu","veto":"no","hidefiles":"/_*/"}
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
Server role: ROLE_STANDALONE
Global parameters
[global]
disable netbios = Yes
disable spoolss = Yes
dns proxy = No
local master = No
map to guest = Bad User
pam password change = Yes
printcap name = /dev/null
security = USER
server role = standalone server
server services = s3fs, rpc, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
server string = Docker Samba Server
smb1 unix extensions = No
smb ports = 445
usershare allow guests = Yes
winbind scan trusted domains = Yes
fruit:time machine = yes
fruit:delete_empty_adfiles = yes
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:veto_appledouble = no
fruit:posix_rename = yes
fruit:model = MacSamba
fruit:metadata = stream
idmap config * : backend = tdb
create mask = 0664
directory mask = 0775
force create mode = 0664
force directory mode = 0775
force group = addohm
force user = addohm
hosts allow = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
hosts deny = 0.0.0.0/0
printing = bsd
strict locking = No
vfs objects = fruit streams_xattr
wide links = Yes
smbd version 4.18.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023```
The text was updated successfully, but these errors were encountered: