2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00
This commit is contained in:
kev
2015-07-17 23:50:28 +08:00
parent 27dfe7bed0
commit b86d12929d
2 changed files with 6 additions and 7 deletions

View File

@@ -40,11 +40,14 @@ guest ok = yes
``` ```
$ cd ~/fig/samba $ cd ~/fig/samba
$ mkdir share
$ chmod 777 share
$ touch share/README.txt
$ docker-compose up -d $ docker-compose up -d
$ docker exec -it samba_samba_1 sh $ docker exec -it samba_samba_1 sh
>>> chmod 777 /share >>> smbpasswd -a root
>>> adduser kev New SMB password:******
>>> smbpasswd -a kev Retype new SMB password:******
>>> exit >>> exit
``` ```

View File

@@ -16,10 +16,6 @@ pam password change = yes
map to guest = bad user map to guest = bad user
usershare allow guests = yes usershare allow guests = yes
load printers = no load printers = no
show add printer wizard = no
printing = none
printcap name = /dev/null
disable spoolss = yes
[share] [share]
path = /share path = /share