質問編集履歴
3
パスワード変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -128,11 +128,11 @@
|
|
128
128
|
|
129
129
|
loginShell: /bin/bash
|
130
130
|
|
131
|
-
userPassword: user
|
131
|
+
userPassword: abcuser
|
132
|
-
|
132
|
+
|
133
|
-
```
|
133
|
+
```
|
134
|
-
|
134
|
+
|
135
|
-
# ldapsearch -H ldap://centos8.localdomain -D "cn=Directory Manager" -w '
|
135
|
+
# ldapsearch -H ldap://centos8.localdomain -D "cn=Directory Manager" -w 'kdnrIHMe45' -b dc=localdomain
|
136
136
|
|
137
137
|
```
|
138
138
|
|
@@ -270,7 +270,7 @@
|
|
270
270
|
|
271
271
|
AuthLDAPBindDN "Directory Manager"
|
272
272
|
|
273
|
-
AuthLDAPBindPassword "
|
273
|
+
AuthLDAPBindPassword "kdnrIHMe45"
|
274
274
|
|
275
275
|
Require valid-user
|
276
276
|
|
@@ -290,7 +290,7 @@
|
|
290
290
|
|
291
291
|
AuthLDAPBindDN "Directory Manager"
|
292
292
|
|
293
|
-
AuthLDAPBindPassword "
|
293
|
+
AuthLDAPBindPassword "kdnrIHMe45"
|
294
294
|
|
295
295
|
Require valid-user
|
296
296
|
|
2
ログや設定ファイルを ``` の行を前後に挟んでの記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -276,6 +276,26 @@
|
|
276
276
|
|
277
277
|
```
|
278
278
|
|
279
|
+
# vi /etc/httpd/conf/httpd.conf
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
``` AuthType Basic
|
284
|
+
|
285
|
+
AuthName "LDAP Authentication"
|
286
|
+
|
287
|
+
AuthBasicProvider ldap
|
288
|
+
|
289
|
+
AuthLDAPURL "ldap://centos8.localdomain:389/ou=users,dc=localdomain?sAMAccountName?sub?(objectClass=*)"
|
290
|
+
|
291
|
+
AuthLDAPBindDN "Directory Manager"
|
292
|
+
|
293
|
+
AuthLDAPBindPassword "23!#s6a@_HDk"
|
294
|
+
|
295
|
+
Require valid-user
|
296
|
+
|
297
|
+
```
|
298
|
+
|
279
299
|
### 補足情報(FW/ツールのバージョンなど)
|
280
300
|
|
281
301
|
|
1
ログや設定ファイルを ``` の行を前後に挟んでの記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,19 +10,11 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
+
|
14
|
+
|
13
|
-
### 発生している問題・エラーメッセージ
|
15
|
+
### ウェブで発生している問題・エラーメッセージ
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
16
|
+
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
17
|
+
```
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
18
|
|
27
19
|
Internal Server Error
|
28
20
|
|
@@ -36,15 +28,11 @@
|
|
36
28
|
|
37
29
|
More information about this error may be available in the server error log.
|
38
30
|
|
39
|
-
|
40
|
-
|
41
|
-
|
31
|
+
```
|
42
|
-
|
43
|
-
|
44
|
-
|
32
|
+
|
45
|
-
/var/log/httpd/access_log
|
33
|
+
#/var/log/httpd/access_log
|
34
|
+
|
46
|
-
|
35
|
+
```
|
47
|
-
|
48
36
|
|
49
37
|
192.168.3.1 - - [22/Sep/2021:16:38:15 +0900] "GET / HTTP/1.1" 401 381 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0"
|
50
38
|
|
@@ -52,17 +40,17 @@
|
|
52
40
|
|
53
41
|
192.168.3.1 - user1 [22/Sep/2021:16:38:25 +0900] "GET /favicon.ico HTTP/1.1" 500 527 "http://192.168.3.101/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0"
|
54
42
|
|
55
|
-
|
43
|
+
```
|
56
|
-
|
44
|
+
|
57
|
-
/var/log/httpd/error_log には特に記述なし
|
45
|
+
#/var/log/httpd/error_log には特に記述なし
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
63
|
-
/var/log/dirsrv/slapd-Instance1/access
|
51
|
+
#/var/log/dirsrv/slapd-Instance1/access
|
52
|
+
|
64
|
-
|
53
|
+
```
|
65
|
-
|
66
54
|
|
67
55
|
[22/Sep/2021:16:38:25.087235949 +0900] conn=17 fd=64 slot=64 connection from 192.168.3.101 to 192.168.3.101
|
68
56
|
|
@@ -84,19 +72,11 @@
|
|
84
72
|
|
85
73
|
[22/Sep/2021:16:38:25.163188520 +0900] conn=18 op=1 fd=65 closed error - U1
|
86
74
|
|
87
|
-
|
88
|
-
|
89
|
-
----------------------------------------------------------------------------------------------------
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
75
|
+
```
|
94
|
-
|
95
|
-
|
96
76
|
|
97
77
|
# vi /etc/dirsrv/slapd-Instance1/base.ldif
|
98
78
|
|
99
|
-
|
79
|
+
```
|
100
80
|
|
101
81
|
dn: dc=localdomain
|
102
82
|
|
@@ -150,19 +130,11 @@
|
|
150
130
|
|
151
131
|
userPassword: user1
|
152
132
|
|
153
|
-
|
154
|
-
|
155
|
-
----------------------------------------------------------------------------------------------------
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
133
|
+
```
|
160
|
-
|
161
|
-
|
162
134
|
|
163
135
|
# ldapsearch -H ldap://centos8.localdomain -D "cn=Directory Manager" -w '23!#s6a@_HDk' -b dc=localdomain
|
164
136
|
|
165
|
-
|
137
|
+
```
|
166
138
|
|
167
139
|
# extended LDIF
|
168
140
|
|
@@ -282,8 +254,6 @@
|
|
282
254
|
|
283
255
|
|
284
256
|
|
285
|
-
----------------------------------------------------------------------------------------------------
|
286
|
-
|
287
257
|
|
288
258
|
|
289
259
|
# vi /etc/httpd/conf/httpd.conf
|
@@ -304,7 +274,7 @@
|
|
304
274
|
|
305
275
|
Require valid-user
|
306
276
|
|
307
|
-
|
277
|
+
```
|
308
278
|
|
309
279
|
### 補足情報(FW/ツールのバージョンなど)
|
310
280
|
|