1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02: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
$ mkdir share
$ chmod 777 share
$ touch share/README.txt
$ docker-compose up -d
$ docker exec -it samba_samba_1 sh
>>> chmod 777 /share
>>> adduser kev
>>> smbpasswd -a kev
>>> smbpasswd -a root
New SMB password:******
Retype new SMB password:******
>>> exit
```

View File

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