Hello,
The connection don't work if I use the ';' char in password.
I changed the delimiter from ';' to '¿' and it works.
Thanks.
Connection: Password and the char ';'
Moderators: gto, EgonHugeist
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Somebody should look here (ZdbcOracle.pas, "Open" method):
FPlainDriver.AttrSet(FSessionHandle, OCI_HTYPE_SESSION, PAnsiChar(string(Password)),
Length(Password), OCI_ATTR_PASSWORD, FErrorHandle);
This function is invokes the OCI call "OCIAttrSet". Now the big question is how this OCI call expects the input is encoded/escaped for a password value. Can you find out? I'm not an OCI expert and don't have an oracle installation to try.
Mark
Mark
FPlainDriver.AttrSet(FSessionHandle, OCI_HTYPE_SESSION, PAnsiChar(string(Password)),
Length(Password), OCI_ATTR_PASSWORD, FErrorHandle);
This function is invokes the OCI call "OCIAttrSet". Now the big question is how this OCI call expects the input is encoded/escaped for a password value. Can you find out? I'm not an OCI expert and don't have an oracle installation to try.
Mark
Mark