Re: [Firebird-devel] Values in auth block

2020-06-17 Thread Alex Peshkoff via Firebird-devel

On 2020-06-17 22:00, Dimitry Sibiryakov wrote:

17.06.2020 18:18, Alex Peshkoff via Firebird-devel wrote:

    Auth block 2, length 80
    AUTH_TYPE: USER
    AUTH_NAME: SD


  BTW, can I rely on fact that AUTH_TYPE is always come before 
AUTH_NAME in the block?





Better not.



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Values in auth block

2020-06-17 Thread Dimitry Sibiryakov

17.06.2020 18:18, Alex Peshkoff via Firebird-devel wrote:

    Auth block 2, length 80
    AUTH_TYPE: USER
    AUTH_NAME: SD


  BTW, can I rely on fact that AUTH_TYPE is always come before AUTH_NAME in the 
block?


--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Values in auth block

2020-06-17 Thread Alex Peshkoff via Firebird-devel

On 2020-06-17 19:50, Dimitry Sibiryakov wrote:

17.06.2020 18:18, Alex Peshkoff via Firebird-devel wrote:
Ignore and keep 'as is'. They are needed if later that block is 
passed once again to mapping code (after execute statement for example).


  Unfortunately SQLConnect() accepts only plain user name and password 
so ignoring them is the only option.




Not big problem - that's just optinization.




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Values in auth block

2020-06-17 Thread Dimitry Sibiryakov

17.06.2020 18:18, Alex Peshkoff via Firebird-devel wrote:
Ignore and keep 'as is'. They are needed if later that block is passed once again to 
mapping code (after execute statement for example).


  Unfortunately SQLConnect() accepts only plain user name and password so ignoring them 
is the only option.


--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Values in auth block

2020-06-17 Thread Alex Peshkoff via Firebird-devel

On 2020-06-17 18:56, Dimitry Sibiryakov wrote:

Hello All.

  In my provider I'm getting following auth block:


isc_dpb_auth_block
    Auth block 0, length 53
    AUTH_TYPE: Seen
    AUTH_SECURE_DB: C:\PROGRAMS\FIREBIRD\FIREBIRD4.X86\TEST
    Auth block 1, length 62
    AUTH_TYPE: Seen
    AUTH_SECURE_DB: 
C:\PROGRAMS\FIREBIRD\FIREBIRD4.X86\SECURITY4.FDB

    Auth block 2, length 80
    AUTH_TYPE: USER
    AUTH_NAME: SD
    AUTH_PLUGIN: Srp256
    AUTH_SECURE_DB: 
C:\PROGRAMS\FIREBIRD\FIREBIRD4.X86\SECURITY4.FDB


  While last one is clear more or less but what I'm supposed to do 
with "Seen"?





Ignore and keep 'as is'. They are needed if later that block is passed 
once again to mapping code (after execute statement for example).





Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Values in auth block

2020-06-17 Thread Dimitry Sibiryakov

  Hello All.

  In my provider I'm getting following auth block:


isc_dpb_auth_block
Auth block 0, length 53
AUTH_TYPE: Seen
AUTH_SECURE_DB: C:\PROGRAMS\FIREBIRD\FIREBIRD4.X86\TEST
Auth block 1, length 62
AUTH_TYPE: Seen
AUTH_SECURE_DB: 
C:\PROGRAMS\FIREBIRD\FIREBIRD4.X86\SECURITY4.FDB
Auth block 2, length 80
AUTH_TYPE: USER
AUTH_NAME: SD
AUTH_PLUGIN: Srp256
AUTH_SECURE_DB: 
C:\PROGRAMS\FIREBIRD\FIREBIRD4.X86\SECURITY4.FDB


  While last one is clear more or less but what I'm supposed to do with "Seen"?


--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel