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 :
>
>> 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/nakagami/pyfirebirdsql/blob/master/firebirdsql/srp.py#L143
>> >
>> > For example ...
>> >
>> > [Modified source:firebird/src/auth/SecureRemotePassword/srp.cpp]
>> > BigInteger RemotePassword::getUserHash(const char* account, const char*
>> > salt, const char* password)
>> > {
>> >  hash.reset();
>> >  hash.process(account);
>> >  hash.process(":");
>> >  hash.process(password);
>> >  UCharBuffer hash1;
>> >  hash.getHash(hash1);
>> >  dumpIt("getUserHash() account", account);
>> >  dumpIt("getUserHash() salt", salt);
>> >  dumpIt("getUserHash() password", password);
>> >  dumpIt("getUserHash() hash1", hash1);
>> >
>> >  hash.reset();
>> >  hash.process(salt);
>> >  hash.process(hash1);
>> >  UCharBuffer hash2;
>> >  hash.getHash(hash2);
>> >  dumpIt("getUserHash() hash2", hash2);
>> >  BigInteger rc;
>> >  hash.getInt(rc);
>> >  dumpIt("getUserHash() rc", rc);
>> >
>> >  return rc;
>> > }
>> >
>> > [Result]
>> > getUserHash() account: 'SYSDBA'
>> > getUserHash() salt:
>> > '2E26880300079A478A70002D1A697900026E1601C00054F'
>> > getUserHash() password: 'masterkey'
>> > getUserHash() hash1
>> > e3 95 79 9c 56 52 aa a4 53 62 73 a2 0a a7 40 e2 46 83 5c c4
>> > getUserHash() hash2
>> > 98 0c 1c 90 a1 be 65 5f 31 09 3f 56 a9 ef 5c e7 c0 4b 26 2f
>> > getUserHash() rc: '4DD084A42814499F781537C24753291235DE797C'
>> >
>> >
>> > I think rc seems to be
>> >
>> > 980c1c90a1be655f31093f56a9ef5ce7c04b262f(868036694467267200852895567621828944633719891503L)
>> > But it is '4DD084A42814499F781537C24753291235DE797C' (equal to
>> > 0x4DD084A42814499F781537C24753291235DE797C ?)
>> >
>> > I don't realize how to convert from hash2 to rc.
>> > Please let me know the algorithm
>> >
>>
>> You should not call Sha1::getSomething() more than once - it's
>> destructive operation.
>>
>> Look here. Mentioned fragment of code is:
>>  BigInteger rc;
>>  hash.getInt(rc);
>>  dumpIt("getUserHash::rc", rc);
>>  hash.getInt(rc);
>>  dumpIt("getUserHash::rc", rc);
>>
>> Output:
>> getUserHash::rc: '980C1C90A1BE655F31093F56A9EF5CE7C04B262F'
>> getUserHash::rc: '4DD084A42814499F781537C24753291235DE797C'
>>
>> It's not hard to make it be callable many times but I see no actual need.
>>
>> A.
>>
>>
>>
>> --
>> Android apps run on BlackBerry 10
>> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>> Now with support for Jelly Bean, Bluetooth, Mapview and more.
>> Get your Android app in front of a whole new audience.  Start now.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
>> Firebird-Devel mailing list, web interface at
>> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
>
>
> --
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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::getUserHash() return different value with
> > getUserHash() in srp.py.
> >
> https://github.com/nakagami/pyfirebirdsql/blob/master/firebirdsql/srp.py#L143
> >
> > For example ...
> >
> > [Modified source:firebird/src/auth/SecureRemotePassword/srp.cpp]
> > BigInteger RemotePassword::getUserHash(const char* account, const char*
> > salt, const char* password)
> > {
> >  hash.reset();
> >  hash.process(account);
> >  hash.process(":");
> >  hash.process(password);
> >  UCharBuffer hash1;
> >  hash.getHash(hash1);
> >  dumpIt("getUserHash() account", account);
> >  dumpIt("getUserHash() salt", salt);
> >  dumpIt("getUserHash() password", password);
> >  dumpIt("getUserHash() hash1", hash1);
> >
> >  hash.reset();
> >  hash.process(salt);
> >  hash.process(hash1);
> >  UCharBuffer hash2;
> >  hash.getHash(hash2);
> >  dumpIt("getUserHash() hash2", hash2);
> >  BigInteger rc;
> >  hash.getInt(rc);
> >  dumpIt("getUserHash() rc", rc);
> >
> >  return rc;
> > }
> >
> > [Result]
> > getUserHash() account: 'SYSDBA'
> > getUserHash() salt:
> > '2E26880300079A478A70002D1A697900026E1601C00054F'
> > getUserHash() password: 'masterkey'
> > getUserHash() hash1
> > e3 95 79 9c 56 52 aa a4 53 62 73 a2 0a a7 40 e2 46 83 5c c4
> > getUserHash() hash2
> > 98 0c 1c 90 a1 be 65 5f 31 09 3f 56 a9 ef 5c e7 c0 4b 26 2f
> > getUserHash() rc: '4DD084A42814499F781537C24753291235DE797C'
> >
> >
> > I think rc seems to be
> >
> 980c1c90a1be655f31093f56a9ef5ce7c04b262f(868036694467267200852895567621828944633719891503L)
> > But it is '4DD084A42814499F781537C24753291235DE797C' (equal to
> > 0x4DD084A42814499F781537C24753291235DE797C ?)
> >
> > I don't realize how to convert from hash2 to rc.
> > Please let me know the algorithm
> >
>
> You should not call Sha1::getSomething() more than once - it's
> destructive operation.
>
> Look here. Mentioned fragment of code is:
>  BigInteger rc;
>  hash.getInt(rc);
>  dumpIt("getUserHash::rc", rc);
>  hash.getInt(rc);
>  dumpIt("getUserHash::rc", rc);
>
> Output:
> getUserHash::rc: '980C1C90A1BE655F31093F56A9EF5CE7C04B262F'
> getUserHash::rc: '4DD084A42814499F781537C24753291235DE797C'
>
> It's not hard to make it be callable many times but I see no actual need.
>
> A.
>
>
>
> --
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrkFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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/nakagami/pyfirebirdsql/blob/master/firebirdsql/srp.py#L143
>
> For example ...
>
> [Modified source:firebird/src/auth/SecureRemotePassword/srp.cpp]
> BigInteger RemotePassword::getUserHash(const char* account, const char*
> salt, const char* password)
> {
>  hash.reset();
>  hash.process(account);
>  hash.process(":");
>  hash.process(password);
>  UCharBuffer hash1;
>  hash.getHash(hash1);
>  dumpIt("getUserHash() account", account);
>  dumpIt("getUserHash() salt", salt);
>  dumpIt("getUserHash() password", password);
>  dumpIt("getUserHash() hash1", hash1);
>
>  hash.reset();
>  hash.process(salt);
>  hash.process(hash1);
>  UCharBuffer hash2;
>  hash.getHash(hash2);
>  dumpIt("getUserHash() hash2", hash2);
>  BigInteger rc;
>  hash.getInt(rc);
>  dumpIt("getUserHash() rc", rc);
>
>  return rc;
> }
>
> [Result]
> getUserHash() account: 'SYSDBA'
> getUserHash() salt:
> '2E26880300079A478A70002D1A697900026E1601C00054F'
> getUserHash() password: 'masterkey'
> getUserHash() hash1
> e3 95 79 9c 56 52 aa a4 53 62 73 a2 0a a7 40 e2 46 83 5c c4
> getUserHash() hash2
> 98 0c 1c 90 a1 be 65 5f 31 09 3f 56 a9 ef 5c e7 c0 4b 26 2f
> getUserHash() rc: '4DD084A42814499F781537C24753291235DE797C'
>
>
> I think rc seems to be
> 980c1c90a1be655f31093f56a9ef5ce7c04b262f(868036694467267200852895567621828944633719891503L)
> But it is '4DD084A42814499F781537C24753291235DE797C' (equal to
> 0x4DD084A42814499F781537C24753291235DE797C ?)
>
> I don't realize how to convert from hash2 to rc.
> Please let me know the algorithm
>

You should not call Sha1::getSomething() more than once - it's 
destructive operation.

Look here. Mentioned fragment of code is:
 BigInteger rc;
 hash.getInt(rc);
 dumpIt("getUserHash::rc", rc);
 hash.getInt(rc);
 dumpIt("getUserHash::rc", rc);

Output:
getUserHash::rc: '980C1C90A1BE655F31093F56A9EF5CE7C04B262F'
getUserHash::rc: '4DD084A42814499F781537C24753291235DE797C'

It's not hard to make it be callable many times but I see no actual need.

A.


--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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#L143

For example ...

[Modified source:firebird/src/auth/SecureRemotePassword/srp.cpp]
BigInteger RemotePassword::getUserHash(const char* account, const char*
salt, const char* password)
{
hash.reset();
hash.process(account);
hash.process(":");
hash.process(password);
UCharBuffer hash1;
hash.getHash(hash1);
dumpIt("getUserHash() account", account);
dumpIt("getUserHash() salt", salt);
dumpIt("getUserHash() password", password);
dumpIt("getUserHash() hash1", hash1);

hash.reset();
hash.process(salt);
hash.process(hash1);
UCharBuffer hash2;
hash.getHash(hash2);
dumpIt("getUserHash() hash2", hash2);
BigInteger rc;
hash.getInt(rc);
dumpIt("getUserHash() rc", rc);

return rc;
}

[Result]
getUserHash() account: 'SYSDBA'
getUserHash() salt:
'2E26880300079A478A70002D1A697900026E1601C00054F'
getUserHash() password: 'masterkey'
getUserHash() hash1
e3 95 79 9c 56 52 aa a4 53 62 73 a2 0a a7 40 e2 46 83 5c c4
getUserHash() hash2
98 0c 1c 90 a1 be 65 5f 31 09 3f 56 a9 ef 5c e7 c0 4b 26 2f
getUserHash() rc: '4DD084A42814499F781537C24753291235DE797C'


I think rc seems to be
980c1c90a1be655f31093f56a9ef5ce7c04b262f(868036694467267200852895567621828944633719891503L)
But it is '4DD084A42814499F781537C24753291235DE797C' (equal to
0x4DD084A42814499F781537C24753291235DE797C ?)

I don't realize how to convert from hash2 to rc.
Please let me know the algorithm

Best regards


2014-02-06 21:07 GMT+09:00 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.
> >
> >
> --
> > Managing the Performance of Cloud-Based Applications
> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> > Read the Whitepaper.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> > Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrkFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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.
>
Disable is too heavy requirement. Enough is changing from "required" 
(default for server) to "enabled".

But (I'm not strong with python not to say more - therefore excuses) if 
one can

conn = firebirdsql.connect(
...
 use_srp=True,
 wire_crypt=True)

and it does not cause 'Unknown parameter' error does it mean some 
implementation of SRP is present?


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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.


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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.
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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 Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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.
>
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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(
host='localhost',
database='/tmp/test.fdb3',
user='SYSDBA',
password='masterkey',
connect_version=3,
use_srp=True,
wire_crypt=True)

On Thu, Feb 6, 2014 at 11:02 AM, Alex Peshkoff  wrote:
> 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.
>
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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.


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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 
initialized security database.


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


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 Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[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.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel