This repository was archived by the owner on Apr 17, 2023. It is now read-only.
Commit 0c0c5a1
committed
ldap: fail to login if neither the username nor the password are present
It's not needed to reach the LDAP server when neither of these values are
present, since this should fail anyways. This fixes a common pitfall on LDAP
servers that have not been configured to handle this special case.
Signed-off-by: Miquel Sabaté Solà <[email protected]>1 parent 0b5c502 commit 0c0c5a1
2 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
146 | 155 | | |
147 | 156 | | |
148 | 157 | | |
| |||
302 | 311 | | |
303 | 312 | | |
304 | 313 | | |
305 | | - | |
| 314 | + | |
306 | 315 | | |
307 | | - | |
308 | | - | |
| 316 | + | |
309 | 317 | | |
310 | 318 | | |
311 | 319 | | |
| |||
0 commit comments