Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-24 Thread marius adrian popa
pyfirebirdsql Version 0.9.0 is released with experimental Firebird 3.0 SRP auth support This is an example that works for me https://gist.github.com/mariuz/9187640 On Fri, Feb 14, 2014 at 10:16 AM, Hajime Nakagami wrote: > Thanks Alex. That's right. > > > 2014-02-13 18:31 GMT+09:00 Alex Peshkoff

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-14 Thread Hajime Nakagami
Thanks Alex. That's right. 2014-02-13 18:31 GMT+09:00 Alex Peshkoff : > On 02/13/14 04:52, Hajime Nakagami wrote: > > Thanks Marius and others. > > > > I'm trying to implement SRP protocol by pure python. > > But something wrong in my python codes, I know. > > > > I have found RemotePassword::ge

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-13 Thread Alex Peshkoff
On 02/13/14 04:52, Hajime Nakagami wrote: > Thanks Marius and others. > > I'm trying to implement SRP protocol by pure python. > But something wrong in my python codes, I know. > > I have found RemotePassword::getUserHash() return different value with > getUserHash() in srp.py. > https://github.com

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-12 Thread Hajime Nakagami
Thanks Marius and others. I'm trying to implement SRP protocol by pure python. But something wrong in my python codes, I know. I have found RemotePassword::getUserHash() return different value with getUserHash() in srp.py. https://github.com/nakagami/pyfirebirdsql/blob/master/firebirdsql/srp.py#L

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread Alex Peshkoff
On 02/06/14 16:12, Dimitry Sibiryakov wrote: > 06.02.2014 13:07, marius adrian popa wrote: >> implements network protocol directly > Did it implement new protocol with SRP support or only old one? In the > latter case you > must enable Legacy_Auth on server and disable wire encryption. > Disab

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread Alex Peshkoff
On 02/06/14 16:07, marius adrian popa wrote: > implements network protocol directly > Sooner of all this means implementation should be fixed. Must say that initial handshake in protocol was changed between A1 & A2. --

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread Dimitry Sibiryakov
06.02.2014 13:07, marius adrian popa wrote: > implements network protocol directly Did it implement new protocol with SRP support or only old one? In the latter case you must enable Legacy_Auth on server and disable wire encryption. -- WBR, SD. --

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread marius adrian popa
implements network protocol directly On Thu, Feb 6, 2014 at 12:28 PM, Dimitry Sibiryakov wrote: > Does this pyfirebirdsql uses fbclient.dll at all or implement network > protocol directly? > > -- >WBR, SD. > > -- > M

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread Dimitry Sibiryakov
Does this pyfirebirdsql uses fbclient.dll at all or implement network protocol directly? -- WBR, SD. -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Commo

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread marius adrian popa
No issues in firebird log Lorkstation64 Thu Feb 6 10:05:03 2014 /opt/firebird/bin/fbguard: guardian starting /opt/firebird/bin/firebird On Thu, Feb 6, 2014 at 11:58 AM, Alex Peshkoff wrote: > > >>> Next check is >>> there are something in firebird.log. > > >

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread Alex Peshkoff
>> Next check is >> there are something in firebird.log. -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread marius adrian popa
Double checked , I can connect with flamerobin but not with the pure python firebird driver sudo pip install --upgrade firebirdsql ls -lah /tmp/test.fdb3 -rw-rw 1 firebird firebird 800K Feb 6 11:27 /tmp/test.fdb3 cat /tmp/connect_srp.py import firebirdsql conn = firebirdsql.connect(

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread Alex Peshkoff
On 02/06/14 12:26, marius adrian popa wrote: > http://permalink.gmane.org/gmane.comp.db.firebird.python/360 > First of all make sure you can connect using native isql. Next check is there are something in firebird.log.

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread Alex Peshkoff
On 02/06/14 12:58, Thomas Steinmaurer wrote: >> http://permalink.gmane.org/gmane.comp.db.firebird.python/360 > At least with the ZIP distribution of Firebird 3 Alpha 2, you need to > create a Firebird user via gsec first. If python displays errors correctly there must be a record about not initia

Re: [Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread Thomas Steinmaurer
> http://permalink.gmane.org/gmane.comp.db.firebird.python/360 At least with the ZIP distribution of Firebird 3 Alpha 2, you need to create a Firebird user via gsec first. Regards, Thomas -- Managing the Performance of

[Firebird-devel] pyfirebirdsql can't authenticate with Firebird 3.0 (SRP issues)

2014-02-06 Thread marius adrian popa
http://permalink.gmane.org/gmane.comp.db.firebird.python/360 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads