Skip to content

Commit 7fea3f1

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
examples: add kmip.json showing how one might configure for kmip
Signed-off-by: John Mulligan <[email protected]>
1 parent eda8a79 commit 7fea3f1

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

examples/kmip.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"samba-container-config": "v0",
3+
"configs": {
4+
"demo": {
5+
"shares": [
6+
"share"
7+
],
8+
"globals": [
9+
"default"
10+
],
11+
"instance_name": "SAMBA",
12+
"keybridge_config": "keybridge-1"
13+
}
14+
},
15+
"shares": {
16+
"share": {
17+
"options": {
18+
"path": "/share",
19+
"valid users": "sambauser, otheruser"
20+
}
21+
}
22+
},
23+
"globals": {
24+
"default": {
25+
"options": {
26+
"security": "user",
27+
"server min protocol": "SMB2",
28+
"load printers": "no",
29+
"printing": "bsd",
30+
"printcap name": "/dev/null",
31+
"disable spoolss": "yes",
32+
"guest ok": "no"
33+
}
34+
}
35+
},
36+
"users": {
37+
"all_entries": [
38+
{
39+
"name": "sambauser",
40+
"password": "samba"
41+
},
42+
{
43+
"name": "otheruser",
44+
"password": "insecure321"
45+
}
46+
]
47+
},
48+
"keybridge": {
49+
"keybridge-1": {
50+
"verify_peer": {"check_pid": "1+", "check_uid": "0"},
51+
"scopes": [
52+
{"name": "mem"},
53+
{"name": "kmip.1", "hostnames":["192.168.76.1"], "port": 5696}
54+
]
55+
}
56+
57+
58+
},
59+
"_footer": 1
60+
}

0 commit comments

Comments
 (0)