[ZBX-24879] MSSQL and PGSQL cannot be monitored via ODBC with the special characters in the password field Created: 2024 Jul 19 Updated: 2024 Oct 18 Resolved: 2024 Sep 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 6.0.34rc1, 6.4.19rc1, 7.0.4rc1, 7.2.0alpha1 |
Type: | Problem report | Priority: | Major |
Reporter: | Maksym Buz | Assignee: | Sergejs Boidenko |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | 5h | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() |
||||
Issue Links: |
|
||||
Team: | |||||
Sprint: | S24-W34/35, S24-W36/37 | ||||
Story Points: | 2 |
Description |
Steps to reproduce:
Result: [[FreeTDS][SQL Server]Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.]|[08001][0][[FreeTDS][SQL Server]Unable to connect to data source] But it's working with the password specified in the item key itself. Example of password used: {*fXGeUlJ0<$Tce5%83n;0} Zabbix version is 6.4.12 Expected: |
Comments |
Comment by Yurii Polenok [ 2024 Sep 03 ] | ||||
Hi | ||||
Comment by Vladislavs Sokurenko [ 2024 Sep 04 ] | ||||
'=' Can still be used in connection string, was '=' used in username and password fields as not part of the username or password but for another meaning, is that the case that was broken ? | ||||
Comment by Yurii Polenok [ 2024 Sep 04 ] | ||||
db.odbc.select["db_availability",,"Driver=\{$DB_ORACLE_DRIVER};DBQ=//\{HOST.IP}:\{$DB_PORT}/\{$DB_SERVICE};"] Driver=/usr/lib/oracle/21/client64/lib/libsqora.so.21.1;DBQ=//10.10.10.110:1521/example.world;UID=dbuser;PWD=pass=word=with=spec=char | ||||
Comment by Yurii Polenok [ 2024 Sep 04 ] | ||||
[yuriip@zabbix-proxy-01 ~]$ isql -n -v -k 'Driver=/usr/lib/oracle/21/client64/lib/libsqora.so.21.1;DBQ=//10.10.10.110:1521/example.world;UID=dbuser;PWD=**,**_Wq-39eU7()Ub='
... ---------------------------------------
-----------------------------------------
----------------------------------------- | ||||
Comment by Vladislavs Sokurenko [ 2024 Sep 04 ] | ||||
Could you please be so kind and try enclosing in {} does it work ?
[yuriip@zabbix-proxy-01 ~]$ isql -n -v -k 'Driver=/usr/lib/oracle/21/client64/lib/libsqora.so.21.1;DBQ=//10.10.10.110:1521/example.world;UID=dbuser;PWD={**,**_Wq-39eU7()Ub=}'
| ||||
Comment by Yurii Polenok [ 2024 Sep 04 ] | ||||
It works fine via isql without brackets. | ||||
Comment by Sergejs Boidenko [ 2024 Sep 06 ] | ||||
Fixed in:
|