When are ISC_USER and ISC_PASSWORD exactly applied.

20 views
Skip to first unread message

Mark Rotteveel

unread,
Dec 19, 2025, 7:46:24 AM12/19/25
to firebir...@googlegroups.com
Looking at the use of ISC_USER and ISC_PASSWORD, through
`void setLogin(ClumpletWriter& dpb, bool spbFlag)` in yvalve/utl.cpp,
which is called from yvalve/why.cpp, am I correct in assuming that this
can have affect on client *and* server?

That is, if set on client, it will be populated from the client, but if
the client did not populate username or password before sending to the
server, then when the yvalve of the server receives it, it will populate
the missing values with the values as they are set server-side?

Mark
--
Mark Rotteveel

Alex Peshkoff

unread,
Dec 20, 2025, 11:55:51 PM12/20/25
to firebir...@googlegroups.com


пт, 19 дек. 2025 г., 18:16 'Mark Rotteveel' via firebird-devel <firebir...@googlegroups.com>:

It was initial behaviour of IB6. Not too dangerous bug - why server's env can contain mentioned vars? Anyway it was fixed ling ago. Do not remember where is a check for server mode but it's definitely present.



Mark
--
Mark Rotteveel

--
Support the ongoing development of Firebird! Consider donating to the Firebird Foundation and help ensure its future. Every contribution makes a difference. Learn more and donate here:
https://www.firebirdsql.org/donate
---
You received this message because you are subscribed to the Google Groups "firebird-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-deve...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/firebird-devel/5b0b2da5-9395-4b7e-8472-cdda6d69fa4c%40lawinegevaar.nl.

Mark Rotteveel

unread,
Dec 21, 2025, 5:07:23 AM12/21/25
to firebir...@googlegroups.com
On 21/12/2025 05:55, Alex Peshkoff wrote:
> пт, 19 дек. 2025 г., 18:16 'Mark Rotteveel' via firebird-devel
> <firebir...@googlegroups.com <mailto:firebir...@googlegroups.com>>:
>
> Looking at the use of ISC_USER and ISC_PASSWORD, through
> `void setLogin(ClumpletWriter& dpb, bool spbFlag)` in yvalve/utl.cpp,
> which is called from yvalve/why.cpp, am I correct in assuming that this
> can have affect on client *and* server?
>
> That is, if set on client, it will be populated from the client, but if
> the client did not populate username or password before sending to the
> server, then when the yvalve of the server receives it, it will
> populate
> the missing values with the values as they are set server-side?
>
>
> It was initial behaviour of IB6. Not too dangerous bug - why server's
> env can contain mentioned vars? Anyway it was fixed ling ago. Do not
> remember where is a check for server mode but it's definitely present.
I guess that is what the check for isc_dpb/spb_address_path is for,
right? It might deserve a comment to that effect :)

Mark
--
Mark Rotteveel
Reply all
Reply to author
Forward
0 new messages