fog-proxmox 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/fog/identity/proxmox/requests/change_password.rb +1 -1
- data/lib/fog/proxmox.rb +9 -8
- data/lib/fog/proxmox/version.rb +1 -1
- data/spec/compute_spec.rb +106 -106
- data/spec/fixtures/proxmox/compute/containers.yml +1387 -2096
- data/spec/fixtures/proxmox/compute/identity_ticket.yml +8 -8
- data/spec/fixtures/proxmox/compute/nodes.yml +24 -24
- data/spec/fixtures/proxmox/compute/servers.yml +2849 -2920
- data/spec/fixtures/proxmox/compute/snapshots.yml +308 -293
- data/spec/fixtures/proxmox/compute/storages.yml +32 -32
- data/spec/fixtures/proxmox/compute/tasks.yml +57 -55
- data/spec/fixtures/proxmox/identity/auth.yml +125 -8
- data/spec/fixtures/proxmox/identity/domains.yml +120 -118
- data/spec/fixtures/proxmox/identity/groups.yml +52 -52
- data/spec/fixtures/proxmox/identity/identity_ticket.yml +8 -8
- data/spec/fixtures/proxmox/identity/permissions.yml +119 -119
- data/spec/fixtures/proxmox/identity/pools.yml +97 -97
- data/spec/fixtures/proxmox/identity/read_version.yml +8 -8
- data/spec/fixtures/proxmox/identity/roles.yml +55 -55
- data/spec/fixtures/proxmox/identity/users.yml +115 -115
- data/spec/fixtures/proxmox/network/identity_ticket.yml +8 -8
- data/spec/fixtures/proxmox/network/networks.yml +84 -64
- data/spec/identity_spec.rb +82 -60
- data/spec/network_spec.rb +6 -6
- metadata +2 -2
@@ -1,5 +1,122 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://192.168.56.101:8006/api2/json/version
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- fog-core/2.1.2
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Cookie:
|
15
|
+
- PVEAuthCookie=PVE:root@pam:5DB5B1A1::EUwkNhvy7sij4pSb45UTbSFkOBuK2SQS18rCMHUzJMgWqKT7+Xy6fyA0npuGpaPnxEZ7jNUDfu4GU3+mvskCbxQtFCtVCUJkVpHu1svUul+bEC3rbuNcC5hj0LJu6SOs3HHWKMrAGzlm0HjH+Dtbd6k3PUPchCEjcbCRlnWQwnLsY3pwS+TL2DzndMWf31c+2cmJmHnlIhCGUE/k5bZWGnTv2iZmgoXvk5mwmltjjgOZwkRjYaYqsOv05nbTK+iKowU/fO6zAk9alwtFNCQZXJJWoUitPRm4MyUyJ08PQc6GJFCHFrR3Sig/FhbouMr/38ixg9EzjO6J4KwwNkkGeA==
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- max-age=0
|
23
|
+
Connection:
|
24
|
+
- Keep-Alive
|
25
|
+
Date:
|
26
|
+
- Sun, 27 Oct 2019 15:02:58 GMT
|
27
|
+
Pragma:
|
28
|
+
- no-cache
|
29
|
+
Server:
|
30
|
+
- pve-api-daemon/3.0
|
31
|
+
Content-Length:
|
32
|
+
- '76'
|
33
|
+
Content-Type:
|
34
|
+
- application/json;charset=UTF-8
|
35
|
+
Expires:
|
36
|
+
- Sun, 27 Oct 2019 15:02:58 GMT
|
37
|
+
body:
|
38
|
+
encoding: ASCII-8BIT
|
39
|
+
string: '{"data":{"keyboard":"fr","version":"5.4","repoid":"0a6eaa62","release":"3"}}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Sun, 27 Oct 2019 15:02:58 GMT
|
42
|
+
- request:
|
43
|
+
method: post
|
44
|
+
uri: https://192.168.56.101:8006/api2/json/access/ticket
|
45
|
+
body:
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: username=root%40pam&password=proxmox01&privs=User.Modify&path=access&otp=proxmox01
|
48
|
+
headers:
|
49
|
+
User-Agent:
|
50
|
+
- fog-core/2.1.2
|
51
|
+
Accept:
|
52
|
+
- application/json
|
53
|
+
Csrfpreventiontoken:
|
54
|
+
- 5DB6FE7F:wdPeaqwrI3ZzUBA2NDyDUtJ6UWU
|
55
|
+
Cookie:
|
56
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FE7F::eYPJIOdUDz3ubelJqrzWlzvuTj9OvP0JyDGZcGLlKw2UV9qgbJOmqJcxnGuKQAOOeea4HG9SADjf2+FWtxudUXcRJ6+EcgdKIJZEpOQ5cBgV5TyrwgKy2+f6ZrdnyaR0wSQz8NmOvfHgewnLf5xAT1VM6DWoP2lGUQALqhs2u/VHGYSQlRLPgVZBwAbcWkV45bVB898GzKfroWMC1DA5+IE5KFpEQc3Govlo4iw8P3ab/TLqr9LbeZUZrTNlBZAJ4Kt30dTZCoL1B9+1rLW/KK3lKDGKd1fEgB6RhkgkQkszX2bjP09oq8nGnnjrvSx+R9fI1Nayl0zw9ys8L+KoZQ==
|
57
|
+
response:
|
58
|
+
status:
|
59
|
+
code: 200
|
60
|
+
message: OK
|
61
|
+
headers:
|
62
|
+
Cache-Control:
|
63
|
+
- max-age=0
|
64
|
+
Connection:
|
65
|
+
- close, Keep-Alive
|
66
|
+
Date:
|
67
|
+
- Mon, 28 Oct 2019 14:43:11 GMT
|
68
|
+
Pragma:
|
69
|
+
- no-cache
|
70
|
+
Server:
|
71
|
+
- pve-api-daemon/3.0
|
72
|
+
Content-Length:
|
73
|
+
- '711'
|
74
|
+
Content-Type:
|
75
|
+
- application/json;charset=UTF-8
|
76
|
+
Expires:
|
77
|
+
- Mon, 28 Oct 2019 14:43:11 GMT
|
78
|
+
body:
|
79
|
+
encoding: ASCII-8BIT
|
80
|
+
string: '{"data":{"cap":{"storage":{"Datastore.Audit":1,"Permissions.Modify":1,"Datastore.AllocateTemplate":1,"Datastore.Allocate":1,"Datastore.AllocateSpace":1},"dc":{"Sys.Audit":1},"access":{"Group.Allocate":1,"Permissions.Modify":1,"User.Modify":1},"vms":{"VM.Config.Network":1,"VM.Clone":1,"VM.Config.Options":1,"VM.Allocate":1,"VM.Audit":1,"VM.Backup":1,"VM.Config.Disk":1,"VM.Config.CDROM":1,"VM.Config.Memory":1,"VM.Snapshot":1,"VM.Console":1,"VM.Monitor":1,"Permissions.Modify":1,"VM.Snapshot.Rollback":1,"VM.Config.CPU":1,"VM.PowerMgmt":1,"VM.Migrate":1,"VM.Config.HWType":1},"nodes":{"Sys.Console":1,"Sys.Modify":1,"Sys.Audit":1,"Sys.PowerMgmt":1,"Permissions.Modify":1,"Sys.Syslog":1}},"username":"root@pam"}}'
|
81
|
+
http_version:
|
82
|
+
recorded_at: Mon, 28 Oct 2019 14:43:12 GMT
|
83
|
+
- request:
|
84
|
+
method: post
|
85
|
+
uri: https://192.168.56.101:8006/api2/json/access/ticket
|
86
|
+
body:
|
87
|
+
encoding: US-ASCII
|
88
|
+
string: username=root%40pam&password=PVE%3Aroot%40pam%3A5DB6FEC3%3A%3AF%2B5cdMaonNKHhZDP1Dqm%2B202B0pOWJSjNF8E3lBtP4%2FbTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif%2BWzEIK1a1gqS8RDxzGArSYCRxD0O1pp%2BvZODSyqVu21oqXaMeeaG%2BXD%2BZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO%2F%2FW04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK%2BfwN1hxdGQ%3D%3D
|
89
|
+
headers:
|
90
|
+
User-Agent:
|
91
|
+
- fog-core/2.1.2
|
92
|
+
Accept:
|
93
|
+
- application/json
|
94
|
+
response:
|
95
|
+
status:
|
96
|
+
code: 200
|
97
|
+
message: OK
|
98
|
+
headers:
|
99
|
+
Cache-Control:
|
100
|
+
- max-age=0
|
101
|
+
Connection:
|
102
|
+
- close, Keep-Alive
|
103
|
+
Date:
|
104
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
105
|
+
Pragma:
|
106
|
+
- no-cache
|
107
|
+
Server:
|
108
|
+
- pve-api-daemon/3.0
|
109
|
+
Content-Length:
|
110
|
+
- '1151'
|
111
|
+
Content-Type:
|
112
|
+
- application/json;charset=UTF-8
|
113
|
+
Expires:
|
114
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
115
|
+
body:
|
116
|
+
encoding: ASCII-8BIT
|
117
|
+
string: '{"data":{"cap":{"vms":{"Permissions.Modify":1,"VM.Monitor":1,"VM.Snapshot.Rollback":1,"VM.PowerMgmt":1,"VM.Config.CPU":1,"VM.Config.HWType":1,"VM.Migrate":1,"VM.Clone":1,"VM.Config.Network":1,"VM.Backup":1,"VM.Audit":1,"VM.Allocate":1,"VM.Config.Options":1,"VM.Config.CDROM":1,"VM.Config.Disk":1,"VM.Console":1,"VM.Snapshot":1,"VM.Config.Memory":1},"nodes":{"Sys.Audit":1,"Permissions.Modify":1,"Sys.Syslog":1,"Sys.PowerMgmt":1,"Sys.Console":1,"Sys.Modify":1},"dc":{"Sys.Audit":1},"access":{"User.Modify":1,"Permissions.Modify":1,"Group.Allocate":1},"storage":{"Datastore.Audit":1,"Permissions.Modify":1,"Datastore.AllocateTemplate":1,"Datastore.Allocate":1,"Datastore.AllocateSpace":1}},"ticket":"PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==","username":"root@pam","CSRFPreventionToken":"5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ"}}'
|
118
|
+
http_version:
|
119
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
3
120
|
- request:
|
4
121
|
method: post
|
5
122
|
uri: https://192.168.56.101:8006/api2/json/access/ticket
|
@@ -8,13 +125,13 @@ http_interactions:
|
|
8
125
|
string: username=root%40pam&password=proxmox01&privs=User.Modify&path=access&otp=proxmox01
|
9
126
|
headers:
|
10
127
|
User-Agent:
|
11
|
-
- fog-core/1.
|
128
|
+
- fog-core/2.1.2
|
12
129
|
Accept:
|
13
130
|
- application/json
|
14
131
|
Csrfpreventiontoken:
|
15
|
-
-
|
132
|
+
- 5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ
|
16
133
|
Cookie:
|
17
|
-
- PVEAuthCookie=PVE:root@pam:
|
134
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
18
135
|
response:
|
19
136
|
status:
|
20
137
|
code: 200
|
@@ -25,7 +142,7 @@ http_interactions:
|
|
25
142
|
Connection:
|
26
143
|
- close, Keep-Alive
|
27
144
|
Date:
|
28
|
-
-
|
145
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
29
146
|
Pragma:
|
30
147
|
- no-cache
|
31
148
|
Server:
|
@@ -35,10 +152,10 @@ http_interactions:
|
|
35
152
|
Content-Type:
|
36
153
|
- application/json;charset=UTF-8
|
37
154
|
Expires:
|
38
|
-
-
|
155
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
39
156
|
body:
|
40
157
|
encoding: ASCII-8BIT
|
41
|
-
string: '{"data":{"cap":{"
|
158
|
+
string: '{"data":{"cap":{"nodes":{"Sys.Audit":1,"Permissions.Modify":1,"Sys.Syslog":1,"Sys.PowerMgmt":1,"Sys.Console":1,"Sys.Modify":1},"vms":{"VM.Config.CPU":1,"VM.PowerMgmt":1,"VM.Migrate":1,"VM.Config.HWType":1,"VM.Monitor":1,"Permissions.Modify":1,"VM.Snapshot.Rollback":1,"VM.Config.Disk":1,"VM.Config.CDROM":1,"VM.Snapshot":1,"VM.Console":1,"VM.Config.Memory":1,"VM.Clone":1,"VM.Config.Network":1,"VM.Backup":1,"VM.Allocate":1,"VM.Config.Options":1,"VM.Audit":1},"storage":{"Datastore.AllocateTemplate":1,"Permissions.Modify":1,"Datastore.Audit":1,"Datastore.Allocate":1,"Datastore.AllocateSpace":1},"access":{"User.Modify":1,"Group.Allocate":1,"Permissions.Modify":1},"dc":{"Sys.Audit":1}},"username":"root@pam"}}'
|
42
159
|
http_version:
|
43
|
-
recorded_at:
|
44
|
-
recorded_with: VCR
|
160
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
161
|
+
recorded_with: VCR 4.0.0
|
@@ -8,13 +8,13 @@ http_interactions:
|
|
8
8
|
string: type=ldap&base_dn=ou%3DPeople%2Cdc%3Dldap-test%2Cdc%3Dcom&user_attr=LDAP&server1=localhost&port=389&default=0&secure=0&realm=LDAP
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- fog-core/1.
|
11
|
+
- fog-core/2.1.2
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
14
|
Csrfpreventiontoken:
|
15
|
-
-
|
15
|
+
- 5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ
|
16
16
|
Cookie:
|
17
|
-
- PVEAuthCookie=PVE:root@pam:
|
17
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
18
18
|
response:
|
19
19
|
status:
|
20
20
|
code: 200
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Connection:
|
26
26
|
- close, Keep-Alive
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
29
29
|
Pragma:
|
30
30
|
- no-cache
|
31
31
|
Server:
|
@@ -35,12 +35,12 @@ http_interactions:
|
|
35
35
|
Content-Type:
|
36
36
|
- application/json;charset=UTF-8
|
37
37
|
Expires:
|
38
|
-
-
|
38
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
39
39
|
body:
|
40
40
|
encoding: ASCII-8BIT
|
41
41
|
string: '{"data":null}'
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
46
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -49,11 +49,11 @@ http_interactions:
|
|
49
49
|
string: ''
|
50
50
|
headers:
|
51
51
|
User-Agent:
|
52
|
-
- fog-core/1.
|
52
|
+
- fog-core/2.1.2
|
53
53
|
Accept:
|
54
54
|
- application/json
|
55
55
|
Cookie:
|
56
|
-
- PVEAuthCookie=PVE:root@pam:
|
56
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
57
57
|
response:
|
58
58
|
status:
|
59
59
|
code: 200
|
@@ -64,7 +64,7 @@ http_interactions:
|
|
64
64
|
Connection:
|
65
65
|
- Keep-Alive
|
66
66
|
Date:
|
67
|
-
-
|
67
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
68
68
|
Pragma:
|
69
69
|
- no-cache
|
70
70
|
Server:
|
@@ -74,13 +74,14 @@ http_interactions:
|
|
74
74
|
Content-Type:
|
75
75
|
- application/json;charset=UTF-8
|
76
76
|
Expires:
|
77
|
-
-
|
77
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
78
78
|
body:
|
79
79
|
encoding: ASCII-8BIT
|
80
|
-
string: '{"data":[{"
|
81
|
-
|
80
|
+
string: '{"data":[{"realm":"pam","type":"pam","comment":"Linux PAM standard
|
81
|
+
authentication"},{"realm":"LDAP","type":"ldap"},{"type":"pve","comment":"Proxmox
|
82
|
+
VE authentication server","realm":"pve"}]}'
|
82
83
|
http_version:
|
83
|
-
recorded_at:
|
84
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
84
85
|
- request:
|
85
86
|
method: get
|
86
87
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -89,11 +90,11 @@ http_interactions:
|
|
89
90
|
string: ''
|
90
91
|
headers:
|
91
92
|
User-Agent:
|
92
|
-
- fog-core/1.
|
93
|
+
- fog-core/2.1.2
|
93
94
|
Accept:
|
94
95
|
- application/json
|
95
96
|
Cookie:
|
96
|
-
- PVEAuthCookie=PVE:root@pam:
|
97
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
97
98
|
response:
|
98
99
|
status:
|
99
100
|
code: 200
|
@@ -104,7 +105,7 @@ http_interactions:
|
|
104
105
|
Connection:
|
105
106
|
- Keep-Alive
|
106
107
|
Date:
|
107
|
-
-
|
108
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
108
109
|
Pragma:
|
109
110
|
- no-cache
|
110
111
|
Server:
|
@@ -114,14 +115,14 @@ http_interactions:
|
|
114
115
|
Content-Type:
|
115
116
|
- application/json;charset=UTF-8
|
116
117
|
Expires:
|
117
|
-
-
|
118
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
118
119
|
body:
|
119
120
|
encoding: ASCII-8BIT
|
120
|
-
string: '{"data":[{"realm":"
|
121
|
-
|
122
|
-
|
121
|
+
string: '{"data":[{"realm":"pam","type":"pam","comment":"Linux PAM standard
|
122
|
+
authentication"},{"realm":"LDAP","type":"ldap"},{"realm":"pve","type":"pve","comment":"Proxmox
|
123
|
+
VE authentication server"}]}'
|
123
124
|
http_version:
|
124
|
-
recorded_at:
|
125
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
125
126
|
- request:
|
126
127
|
method: post
|
127
128
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -130,13 +131,13 @@ http_interactions:
|
|
130
131
|
string: type=ad&domain=proxmox.com&server1=localhost&port=389&default=0&secure=0&realm=ActiveDirectory
|
131
132
|
headers:
|
132
133
|
User-Agent:
|
133
|
-
- fog-core/1.
|
134
|
+
- fog-core/2.1.2
|
134
135
|
Accept:
|
135
136
|
- application/json
|
136
137
|
Csrfpreventiontoken:
|
137
|
-
-
|
138
|
+
- 5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ
|
138
139
|
Cookie:
|
139
|
-
- PVEAuthCookie=PVE:root@pam:
|
140
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
140
141
|
response:
|
141
142
|
status:
|
142
143
|
code: 200
|
@@ -147,7 +148,7 @@ http_interactions:
|
|
147
148
|
Connection:
|
148
149
|
- close, Keep-Alive
|
149
150
|
Date:
|
150
|
-
-
|
151
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
151
152
|
Pragma:
|
152
153
|
- no-cache
|
153
154
|
Server:
|
@@ -157,12 +158,12 @@ http_interactions:
|
|
157
158
|
Content-Type:
|
158
159
|
- application/json;charset=UTF-8
|
159
160
|
Expires:
|
160
|
-
-
|
161
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
161
162
|
body:
|
162
163
|
encoding: ASCII-8BIT
|
163
164
|
string: '{"data":null}'
|
164
165
|
http_version:
|
165
|
-
recorded_at:
|
166
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
166
167
|
- request:
|
167
168
|
method: get
|
168
169
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -171,11 +172,11 @@ http_interactions:
|
|
171
172
|
string: ''
|
172
173
|
headers:
|
173
174
|
User-Agent:
|
174
|
-
- fog-core/1.
|
175
|
+
- fog-core/2.1.2
|
175
176
|
Accept:
|
176
177
|
- application/json
|
177
178
|
Cookie:
|
178
|
-
- PVEAuthCookie=PVE:root@pam:
|
179
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
179
180
|
response:
|
180
181
|
status:
|
181
182
|
code: 200
|
@@ -186,7 +187,7 @@ http_interactions:
|
|
186
187
|
Connection:
|
187
188
|
- Keep-Alive
|
188
189
|
Date:
|
189
|
-
-
|
190
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
190
191
|
Pragma:
|
191
192
|
- no-cache
|
192
193
|
Server:
|
@@ -196,13 +197,14 @@ http_interactions:
|
|
196
197
|
Content-Type:
|
197
198
|
- application/json;charset=UTF-8
|
198
199
|
Expires:
|
199
|
-
-
|
200
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
200
201
|
body:
|
201
202
|
encoding: ASCII-8BIT
|
202
|
-
string: '{"data":[{"
|
203
|
-
|
203
|
+
string: '{"data":[{"realm":"pve","type":"pve","comment":"Proxmox VE authentication
|
204
|
+
server"},{"realm":"ActiveDirectory","type":"ad"},{"comment":"Linux PAM standard
|
205
|
+
authentication","type":"pam","realm":"pam"},{"type":"ldap","realm":"LDAP"}]}'
|
204
206
|
http_version:
|
205
|
-
recorded_at:
|
207
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
206
208
|
- request:
|
207
209
|
method: post
|
208
210
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -211,13 +213,13 @@ http_interactions:
|
|
211
213
|
string: type=ldap&base_dn=ou%3DPeople%2Cdc%3Dldap-test%2Cdc%3Dcom&user_attr=LDAP&server1=localhost&port=389&default=0&secure=0&realm=LDAP
|
212
214
|
headers:
|
213
215
|
User-Agent:
|
214
|
-
- fog-core/1.
|
216
|
+
- fog-core/2.1.2
|
215
217
|
Accept:
|
216
218
|
- application/json
|
217
219
|
Csrfpreventiontoken:
|
218
|
-
-
|
220
|
+
- 5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ
|
219
221
|
Cookie:
|
220
|
-
- PVEAuthCookie=PVE:root@pam:
|
222
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
221
223
|
response:
|
222
224
|
status:
|
223
225
|
code: 500
|
@@ -229,7 +231,7 @@ http_interactions:
|
|
229
231
|
Connection:
|
230
232
|
- close
|
231
233
|
Date:
|
232
|
-
-
|
234
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
233
235
|
Pragma:
|
234
236
|
- no-cache
|
235
237
|
Server:
|
@@ -239,12 +241,12 @@ http_interactions:
|
|
239
241
|
Content-Type:
|
240
242
|
- application/json;charset=UTF-8
|
241
243
|
Expires:
|
242
|
-
-
|
244
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
243
245
|
body:
|
244
246
|
encoding: ASCII-8BIT
|
245
247
|
string: '{"data":null}'
|
246
248
|
http_version:
|
247
|
-
recorded_at:
|
249
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
248
250
|
- request:
|
249
251
|
method: post
|
250
252
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -253,13 +255,13 @@ http_interactions:
|
|
253
255
|
string: type=ad&domain=proxmox.com&server1=localhost&port=389&default=0&secure=0&realm=ActiveDirectory
|
254
256
|
headers:
|
255
257
|
User-Agent:
|
256
|
-
- fog-core/1.
|
258
|
+
- fog-core/2.1.2
|
257
259
|
Accept:
|
258
260
|
- application/json
|
259
261
|
Csrfpreventiontoken:
|
260
|
-
-
|
262
|
+
- 5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ
|
261
263
|
Cookie:
|
262
|
-
- PVEAuthCookie=PVE:root@pam:
|
264
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
263
265
|
response:
|
264
266
|
status:
|
265
267
|
code: 500
|
@@ -271,7 +273,7 @@ http_interactions:
|
|
271
273
|
Connection:
|
272
274
|
- close
|
273
275
|
Date:
|
274
|
-
-
|
276
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
275
277
|
Pragma:
|
276
278
|
- no-cache
|
277
279
|
Server:
|
@@ -281,12 +283,12 @@ http_interactions:
|
|
281
283
|
Content-Type:
|
282
284
|
- application/json;charset=UTF-8
|
283
285
|
Expires:
|
284
|
-
-
|
286
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
285
287
|
body:
|
286
288
|
encoding: ASCII-8BIT
|
287
289
|
string: '{"data":null}'
|
288
290
|
http_version:
|
289
|
-
recorded_at:
|
291
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
290
292
|
- request:
|
291
293
|
method: put
|
292
294
|
uri: https://192.168.56.101:8006/api2/json/access/domains/LDAP
|
@@ -295,13 +297,13 @@ http_interactions:
|
|
295
297
|
string: comment=Test+domain+LDAP&tfa=type%3Doath%2Cstep%3D30%2Cdigits%3D8
|
296
298
|
headers:
|
297
299
|
User-Agent:
|
298
|
-
- fog-core/1.
|
300
|
+
- fog-core/2.1.2
|
299
301
|
Accept:
|
300
302
|
- application/json
|
301
303
|
Csrfpreventiontoken:
|
302
|
-
-
|
304
|
+
- 5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ
|
303
305
|
Cookie:
|
304
|
-
- PVEAuthCookie=PVE:root@pam:
|
306
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
305
307
|
response:
|
306
308
|
status:
|
307
309
|
code: 200
|
@@ -312,7 +314,7 @@ http_interactions:
|
|
312
314
|
Connection:
|
313
315
|
- Keep-Alive, Keep-Alive
|
314
316
|
Date:
|
315
|
-
-
|
317
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
316
318
|
Pragma:
|
317
319
|
- no-cache
|
318
320
|
Server:
|
@@ -322,12 +324,12 @@ http_interactions:
|
|
322
324
|
Content-Type:
|
323
325
|
- application/json;charset=UTF-8
|
324
326
|
Expires:
|
325
|
-
-
|
327
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
326
328
|
body:
|
327
329
|
encoding: ASCII-8BIT
|
328
330
|
string: '{"data":null}'
|
329
331
|
http_version:
|
330
|
-
recorded_at:
|
332
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
331
333
|
- request:
|
332
334
|
method: get
|
333
335
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -336,11 +338,11 @@ http_interactions:
|
|
336
338
|
string: ''
|
337
339
|
headers:
|
338
340
|
User-Agent:
|
339
|
-
- fog-core/1.
|
341
|
+
- fog-core/2.1.2
|
340
342
|
Accept:
|
341
343
|
- application/json
|
342
344
|
Cookie:
|
343
|
-
- PVEAuthCookie=PVE:root@pam:
|
345
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
344
346
|
response:
|
345
347
|
status:
|
346
348
|
code: 200
|
@@ -351,7 +353,7 @@ http_interactions:
|
|
351
353
|
Connection:
|
352
354
|
- Keep-Alive
|
353
355
|
Date:
|
354
|
-
-
|
356
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
355
357
|
Pragma:
|
356
358
|
- no-cache
|
357
359
|
Server:
|
@@ -361,14 +363,14 @@ http_interactions:
|
|
361
363
|
Content-Type:
|
362
364
|
- application/json;charset=UTF-8
|
363
365
|
Expires:
|
364
|
-
-
|
366
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
365
367
|
body:
|
366
368
|
encoding: ASCII-8BIT
|
367
|
-
string: '{"data":[{"
|
368
|
-
domain LDAP","realm":"
|
369
|
-
server","type":"pve"}]}'
|
369
|
+
string: '{"data":[{"tfa":"oath","realm":"LDAP","type":"ldap","comment":"Test
|
370
|
+
domain LDAP"},{"realm":"pam","type":"pam","comment":"Linux PAM standard authentication"},{"realm":"pve","comment":"Proxmox
|
371
|
+
VE authentication server","type":"pve"},{"type":"ad","realm":"ActiveDirectory"}]}'
|
370
372
|
http_version:
|
371
|
-
recorded_at:
|
373
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
372
374
|
- request:
|
373
375
|
method: get
|
374
376
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -377,11 +379,11 @@ http_interactions:
|
|
377
379
|
string: ''
|
378
380
|
headers:
|
379
381
|
User-Agent:
|
380
|
-
- fog-core/1.
|
382
|
+
- fog-core/2.1.2
|
381
383
|
Accept:
|
382
384
|
- application/json
|
383
385
|
Cookie:
|
384
|
-
- PVEAuthCookie=PVE:root@pam:
|
386
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
385
387
|
response:
|
386
388
|
status:
|
387
389
|
code: 200
|
@@ -392,7 +394,7 @@ http_interactions:
|
|
392
394
|
Connection:
|
393
395
|
- Keep-Alive
|
394
396
|
Date:
|
395
|
-
-
|
397
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
396
398
|
Pragma:
|
397
399
|
- no-cache
|
398
400
|
Server:
|
@@ -402,15 +404,14 @@ http_interactions:
|
|
402
404
|
Content-Type:
|
403
405
|
- application/json;charset=UTF-8
|
404
406
|
Expires:
|
405
|
-
-
|
407
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
406
408
|
body:
|
407
409
|
encoding: ASCII-8BIT
|
408
|
-
string: '{"data":[{"realm":"
|
409
|
-
PAM standard authentication","realm":"pam"
|
410
|
-
|
411
|
-
domain LDAP","realm":"LDAP"}]}'
|
410
|
+
string: '{"data":[{"tfa":"oath","realm":"LDAP","comment":"Test domain LDAP","type":"ldap"},{"type":"pam","comment":"Linux
|
411
|
+
PAM standard authentication","realm":"pam"},{"comment":"Proxmox VE authentication
|
412
|
+
server","type":"pve","realm":"pve"},{"realm":"ActiveDirectory","type":"ad"}]}'
|
412
413
|
http_version:
|
413
|
-
recorded_at:
|
414
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
414
415
|
- request:
|
415
416
|
method: put
|
416
417
|
uri: https://192.168.56.101:8006/api2/json/access/domains/ActiveDirectory
|
@@ -419,13 +420,13 @@ http_interactions:
|
|
419
420
|
string: tfa=type%3Dyubico%2Cid%3D1%2Ckey%3D2%2Curl%3Dhttp%3A%2F%2Flocalhost
|
420
421
|
headers:
|
421
422
|
User-Agent:
|
422
|
-
- fog-core/1.
|
423
|
+
- fog-core/2.1.2
|
423
424
|
Accept:
|
424
425
|
- application/json
|
425
426
|
Csrfpreventiontoken:
|
426
|
-
-
|
427
|
+
- 5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ
|
427
428
|
Cookie:
|
428
|
-
- PVEAuthCookie=PVE:root@pam:
|
429
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
429
430
|
response:
|
430
431
|
status:
|
431
432
|
code: 200
|
@@ -436,7 +437,7 @@ http_interactions:
|
|
436
437
|
Connection:
|
437
438
|
- Keep-Alive, Keep-Alive
|
438
439
|
Date:
|
439
|
-
-
|
440
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
440
441
|
Pragma:
|
441
442
|
- no-cache
|
442
443
|
Server:
|
@@ -446,12 +447,12 @@ http_interactions:
|
|
446
447
|
Content-Type:
|
447
448
|
- application/json;charset=UTF-8
|
448
449
|
Expires:
|
449
|
-
-
|
450
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
450
451
|
body:
|
451
452
|
encoding: ASCII-8BIT
|
452
453
|
string: '{"data":null}'
|
453
454
|
http_version:
|
454
|
-
recorded_at:
|
455
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
455
456
|
- request:
|
456
457
|
method: get
|
457
458
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -460,11 +461,11 @@ http_interactions:
|
|
460
461
|
string: ''
|
461
462
|
headers:
|
462
463
|
User-Agent:
|
463
|
-
- fog-core/1.
|
464
|
+
- fog-core/2.1.2
|
464
465
|
Accept:
|
465
466
|
- application/json
|
466
467
|
Cookie:
|
467
|
-
- PVEAuthCookie=PVE:root@pam:
|
468
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
468
469
|
response:
|
469
470
|
status:
|
470
471
|
code: 200
|
@@ -475,7 +476,7 @@ http_interactions:
|
|
475
476
|
Connection:
|
476
477
|
- Keep-Alive
|
477
478
|
Date:
|
478
|
-
-
|
479
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
479
480
|
Pragma:
|
480
481
|
- no-cache
|
481
482
|
Server:
|
@@ -485,14 +486,15 @@ http_interactions:
|
|
485
486
|
Content-Type:
|
486
487
|
- application/json;charset=UTF-8
|
487
488
|
Expires:
|
488
|
-
-
|
489
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
489
490
|
body:
|
490
491
|
encoding: ASCII-8BIT
|
491
|
-
string: '{"data":[{"realm":"
|
492
|
-
VE authentication server","
|
493
|
-
PAM standard authentication","
|
492
|
+
string: '{"data":[{"realm":"ActiveDirectory","tfa":"yubico","type":"ad"},{"comment":"Proxmox
|
493
|
+
VE authentication server","type":"pve","realm":"pve"},{"type":"pam","comment":"Linux
|
494
|
+
PAM standard authentication","realm":"pam"},{"tfa":"oath","realm":"LDAP","type":"ldap","comment":"Test
|
495
|
+
domain LDAP"}]}'
|
494
496
|
http_version:
|
495
|
-
recorded_at:
|
497
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
496
498
|
- request:
|
497
499
|
method: get
|
498
500
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -501,11 +503,11 @@ http_interactions:
|
|
501
503
|
string: ''
|
502
504
|
headers:
|
503
505
|
User-Agent:
|
504
|
-
- fog-core/1.
|
506
|
+
- fog-core/2.1.2
|
505
507
|
Accept:
|
506
508
|
- application/json
|
507
509
|
Cookie:
|
508
|
-
- PVEAuthCookie=PVE:root@pam:
|
510
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
509
511
|
response:
|
510
512
|
status:
|
511
513
|
code: 200
|
@@ -516,7 +518,7 @@ http_interactions:
|
|
516
518
|
Connection:
|
517
519
|
- Keep-Alive
|
518
520
|
Date:
|
519
|
-
-
|
521
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
520
522
|
Pragma:
|
521
523
|
- no-cache
|
522
524
|
Server:
|
@@ -526,14 +528,14 @@ http_interactions:
|
|
526
528
|
Content-Type:
|
527
529
|
- application/json;charset=UTF-8
|
528
530
|
Expires:
|
529
|
-
-
|
531
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
530
532
|
body:
|
531
533
|
encoding: ASCII-8BIT
|
532
|
-
string: '{"data":[{"type":"
|
533
|
-
|
534
|
-
|
534
|
+
string: '{"data":[{"type":"ad","realm":"ActiveDirectory","tfa":"yubico"},{"realm":"pve","comment":"Proxmox
|
535
|
+
VE authentication server","type":"pve"},{"realm":"pam","comment":"Linux PAM
|
536
|
+
standard authentication","type":"pam"},{"comment":"Test domain LDAP","type":"ldap","realm":"LDAP","tfa":"oath"}]}'
|
535
537
|
http_version:
|
536
|
-
recorded_at:
|
538
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
537
539
|
- request:
|
538
540
|
method: delete
|
539
541
|
uri: https://192.168.56.101:8006/api2/json/access/domains/LDAP
|
@@ -542,13 +544,13 @@ http_interactions:
|
|
542
544
|
string: ''
|
543
545
|
headers:
|
544
546
|
User-Agent:
|
545
|
-
- fog-core/1.
|
547
|
+
- fog-core/2.1.2
|
546
548
|
Accept:
|
547
549
|
- application/json
|
548
550
|
Csrfpreventiontoken:
|
549
|
-
-
|
551
|
+
- 5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ
|
550
552
|
Cookie:
|
551
|
-
- PVEAuthCookie=PVE:root@pam:
|
553
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
552
554
|
response:
|
553
555
|
status:
|
554
556
|
code: 200
|
@@ -559,7 +561,7 @@ http_interactions:
|
|
559
561
|
Connection:
|
560
562
|
- Keep-Alive, Keep-Alive
|
561
563
|
Date:
|
562
|
-
-
|
564
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
563
565
|
Pragma:
|
564
566
|
- no-cache
|
565
567
|
Server:
|
@@ -569,12 +571,12 @@ http_interactions:
|
|
569
571
|
Content-Type:
|
570
572
|
- application/json;charset=UTF-8
|
571
573
|
Expires:
|
572
|
-
-
|
574
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
573
575
|
body:
|
574
576
|
encoding: ASCII-8BIT
|
575
577
|
string: '{"data":null}'
|
576
578
|
http_version:
|
577
|
-
recorded_at:
|
579
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
578
580
|
- request:
|
579
581
|
method: delete
|
580
582
|
uri: https://192.168.56.101:8006/api2/json/access/domains/ActiveDirectory
|
@@ -583,13 +585,13 @@ http_interactions:
|
|
583
585
|
string: ''
|
584
586
|
headers:
|
585
587
|
User-Agent:
|
586
|
-
- fog-core/1.
|
588
|
+
- fog-core/2.1.2
|
587
589
|
Accept:
|
588
590
|
- application/json
|
589
591
|
Csrfpreventiontoken:
|
590
|
-
-
|
592
|
+
- 5DB6FEC3:XMtKYCymKElrYcGThWgYFrP1KaQ
|
591
593
|
Cookie:
|
592
|
-
- PVEAuthCookie=PVE:root@pam:
|
594
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
593
595
|
response:
|
594
596
|
status:
|
595
597
|
code: 200
|
@@ -600,7 +602,7 @@ http_interactions:
|
|
600
602
|
Connection:
|
601
603
|
- Keep-Alive, Keep-Alive
|
602
604
|
Date:
|
603
|
-
-
|
605
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
604
606
|
Pragma:
|
605
607
|
- no-cache
|
606
608
|
Server:
|
@@ -610,12 +612,12 @@ http_interactions:
|
|
610
612
|
Content-Type:
|
611
613
|
- application/json;charset=UTF-8
|
612
614
|
Expires:
|
613
|
-
-
|
615
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
614
616
|
body:
|
615
617
|
encoding: ASCII-8BIT
|
616
618
|
string: '{"data":null}'
|
617
619
|
http_version:
|
618
|
-
recorded_at:
|
620
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
619
621
|
- request:
|
620
622
|
method: get
|
621
623
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -624,11 +626,11 @@ http_interactions:
|
|
624
626
|
string: ''
|
625
627
|
headers:
|
626
628
|
User-Agent:
|
627
|
-
- fog-core/1.
|
629
|
+
- fog-core/2.1.2
|
628
630
|
Accept:
|
629
631
|
- application/json
|
630
632
|
Cookie:
|
631
|
-
- PVEAuthCookie=PVE:root@pam:
|
633
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
632
634
|
response:
|
633
635
|
status:
|
634
636
|
code: 200
|
@@ -639,7 +641,7 @@ http_interactions:
|
|
639
641
|
Connection:
|
640
642
|
- Keep-Alive
|
641
643
|
Date:
|
642
|
-
-
|
644
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
643
645
|
Pragma:
|
644
646
|
- no-cache
|
645
647
|
Server:
|
@@ -649,13 +651,13 @@ http_interactions:
|
|
649
651
|
Content-Type:
|
650
652
|
- application/json;charset=UTF-8
|
651
653
|
Expires:
|
652
|
-
-
|
654
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
653
655
|
body:
|
654
656
|
encoding: ASCII-8BIT
|
655
|
-
string: '{"data":[{"type":"pam","comment":"Linux PAM standard authentication","realm":"pam"},{"comment":"Proxmox
|
656
|
-
VE authentication server","realm":"pve"
|
657
|
+
string: '{"data":[{"type":"pam","comment":"Linux PAM standard authentication","realm":"pam"},{"type":"pve","comment":"Proxmox
|
658
|
+
VE authentication server","realm":"pve"}]}'
|
657
659
|
http_version:
|
658
|
-
recorded_at:
|
660
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
659
661
|
- request:
|
660
662
|
method: get
|
661
663
|
uri: https://192.168.56.101:8006/api2/json/access/domains
|
@@ -664,11 +666,11 @@ http_interactions:
|
|
664
666
|
string: ''
|
665
667
|
headers:
|
666
668
|
User-Agent:
|
667
|
-
- fog-core/1.
|
669
|
+
- fog-core/2.1.2
|
668
670
|
Accept:
|
669
671
|
- application/json
|
670
672
|
Cookie:
|
671
|
-
- PVEAuthCookie=PVE:root@pam:
|
673
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC3::F+5cdMaonNKHhZDP1Dqm+202B0pOWJSjNF8E3lBtP4/bTuKgd2RLJyqF9kNsVdnXhndFDsdLEQUPMKHYmF3AR82F4lZif+WzEIK1a1gqS8RDxzGArSYCRxD0O1pp+vZODSyqVu21oqXaMeeaG+XD+ZWnGPtvl1wfpjGwgL023vqDABrrGWJ6BL3qPZk9ZmDksHBHKj3Y0KO//W04p8KrUEJyaePiqjqv8vsAYwqFCAuO8XaKnNs1wRYfPylHfm3vaCMz1ejMH22YVTaqc0v1dHiUEj9zVqrTj2GUdBSG3yDwNN2E4pQTsidI0y68H5AtPsmQtPMT7AVK+fwN1hxdGQ==
|
672
674
|
response:
|
673
675
|
status:
|
674
676
|
code: 200
|
@@ -679,7 +681,7 @@ http_interactions:
|
|
679
681
|
Connection:
|
680
682
|
- Keep-Alive
|
681
683
|
Date:
|
682
|
-
-
|
684
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
683
685
|
Pragma:
|
684
686
|
- no-cache
|
685
687
|
Server:
|
@@ -689,11 +691,11 @@ http_interactions:
|
|
689
691
|
Content-Type:
|
690
692
|
- application/json;charset=UTF-8
|
691
693
|
Expires:
|
692
|
-
-
|
694
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
693
695
|
body:
|
694
696
|
encoding: ASCII-8BIT
|
695
|
-
string: '{"data":[{"
|
696
|
-
|
697
|
+
string: '{"data":[{"realm":"pve","type":"pve","comment":"Proxmox VE authentication
|
698
|
+
server"},{"type":"pam","comment":"Linux PAM standard authentication","realm":"pam"}]}'
|
697
699
|
http_version:
|
698
|
-
recorded_at:
|
699
|
-
recorded_with: VCR
|
700
|
+
recorded_at: Mon, 28 Oct 2019 14:44:21 GMT
|
701
|
+
recorded_with: VCR 4.0.0
|