Re: Fernzugriff
Verfasst: 1. Mär 2024 21:44
Dann läuft Samba nicht.
Code: Alles auswählen
admin@docker:~ $ testparm
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
Press enter to see a dump of your service definitions
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
[homes]
browseable = No
comment = Home Directories
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/tmp
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
Code: Alles auswählen
version: '3'
services:
samba:
image: dperson/samba
restart: always
networks:
- default
- portainer_agent
volumes:
- /portainer/Files/AppData/Config/openHAB4/openhab_conf:/mount/openHAB4_conf
- /portainer/Files/AppData/Config/openHAB4/openhab_userdata:/mount/openHAB4_userdata
command: '-s "openHAB4_conf;/mount/openHAB4_conf;yes;no;yes;all;none" -s "openHAB4_userdata;/mount/openHAB4_userdata;yes;no;yes;all;none" -g'
environment:
- SAMBA_USER=admin
- SAMBA_PASS=XXXXXXX
networks:
default:
portainer_agent:
Code: Alles auswählen
admin@docker:~ $ testparm
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)
WARNING: lock directory /run/samba does not exist
WARNING: pid directory /run/samba does not exist
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
[homes]
browseable = No
comment = Home Directories
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/tmp
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[openHAB4]
comment = OpenHAB4 Configuration
create mask = 0700
directory mask = 0700
path = /mount/openHAB4_conf
read only = No
valid users = admin