Re: [Firebird-devel] isc_dpb_auth_block format

2016-08-09 Thread Alex Peshkoff
On 08/05/2016 07:40 PM, Dimitry Sibiryakov wrote: > 05.08.2016 18:18, Alex Peshkoff wrote: >> On 08/05/2016 07:01 PM, Dimitry Sibiryakov wrote: >>> 05.08.2016 17:48, Alex Peshkoff wrote: That's priority byte. If 2 different clumplets of data from auth block both map into same authenticati

Re: [Firebird-devel] isc_dpb_auth_block format

2016-08-05 Thread Dimitry Sibiryakov
05.08.2016 18:18, Alex Peshkoff wrote: > On 08/05/2016 07:01 PM, Dimitry Sibiryakov wrote: >> 05.08.2016 17:48, Alex Peshkoff wrote: >>> That's priority byte. If 2 different clumplets of data from auth block >>> both map into same authentication type (role for example) but with >>> different values

Re: [Firebird-devel] isc_dpb_auth_block format

2016-08-05 Thread Alex Peshkoff
On 08/05/2016 07:13 PM, Dimitry Sibiryakov wrote: > 05.08.2016 17:48, Alex Peshkoff wrote: >> In the end of ClumpletReader.h you can find AuthReader class that helps >> to parse auth block. > I see the class but it gives me no idea how to interpret data from auth > blocks. How can > I understa

Re: [Firebird-devel] isc_dpb_auth_block format

2016-08-05 Thread Alex Peshkoff
On 08/05/2016 07:01 PM, Dimitry Sibiryakov wrote: > 05.08.2016 17:48, Alex Peshkoff wrote: >> That's priority byte. If 2 different clumplets of data from auth block >> both map into same authentication type (role for example) but with >> different values wins one with higher priority (traditionally

Re: [Firebird-devel] isc_dpb_auth_block format

2016-08-05 Thread Dimitry Sibiryakov
05.08.2016 17:48, Alex Peshkoff wrote: > In the end of ClumpletReader.h you can find AuthReader class that helps > to parse auth block. I see the class but it gives me no idea how to interpret data from auth blocks. How can I understand that this block is user name and that - password if ther

Re: [Firebird-devel] isc_dpb_auth_block format

2016-08-05 Thread Dimitry Sibiryakov
05.08.2016 17:48, Alex Peshkoff wrote: > That's priority byte. If 2 different clumplets of data from auth block > both map into same authentication type (role for example) but with > different values wins one with higher priority (traditionally that means > that numeric value of priority is lower).

Re: [Firebird-devel] isc_dpb_auth_block format

2016-08-05 Thread Alex Peshkoff
On 08/05/2016 05:18 PM, Dimitry Sibiryakov wrote: > Hello, All. > > I've dumped dpb and got following sequence: > > 79 - isc_dpb_auth_block, ok > 90, 0, 0, 0 - its length is 90, ok, next 90 bytes is supposedly auth > block itself in > wide untagged format > 0 - it must be auth

[Firebird-devel] isc_dpb_auth_block format

2016-08-05 Thread Dimitry Sibiryakov
Hello, All. I've dumped dpb and got following sequence: 79 - isc_dpb_auth_block, ok 90, 0, 0, 0 - its length is 90, ok, next 90 bytes is supposedly auth block itself in wide untagged format 0 - it must be auth tag, but 0 is not among them, WTF??? 85, 0, 0, 0 - length of data 8