RE: [sqlalchemy] Kerberos authentication with sybase

2010-06-15 Thread Cserna, Zsolt
I think it you want to make it flexible there should be a dictionary or a two-dimensional list specifying which options should be set, so in case of kerberos it would have two elements. Unfortunatelly these options cannot be specified for the connect() function of python-sybase. the

Re: [sqlalchemy] Kerberos authentication with sybase

2010-06-15 Thread Michael Bayer
On Jun 15, 2010, at 9:13 AM, Cserna, Zsolt wrote: I think it you want to make it flexible there should be a dictionary or a two-dimensional list specifying which options should be set, so in case of kerberos it would have two elements. Unfortunatelly these options cannot be specified

RE: [sqlalchemy] Kerberos authentication with sybase

2010-06-14 Thread Cserna, Zsolt
To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] Kerberos authentication with sybase On Jun 11, 2010, at 4:50 AM, Cserna, Zsolt wrote: The DBAPI is python-sybase (http://python-sybase.sourceforge.net/). Here is an example: conn = Sybase.connect(hostname

Re: [sqlalchemy] Kerberos authentication with sybase

2010-06-14 Thread Michael Bayer
, 2010 15:58 To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] Kerberos authentication with sybase if you want to show me how that's done with your DBAPI (what DBAPI is this?), sure, though if its something that you pass in via **kw to DBAPI.connect(), you can already do

RE: [sqlalchemy] Kerberos authentication with sybase

2010-06-11 Thread Cserna, Zsolt
principal would come from connection string. Zsolt -Original Message- From: sqlalchemy@googlegroups.com [mailto:sqlalch...@googlegroups.com] On Behalf Of Michael Bayer Sent: Thursday, June 10, 2010 15:58 To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] Kerberos authentication

Re: [sqlalchemy] Kerberos authentication with sybase

2010-06-11 Thread Michael Bayer
@googlegroups.com Subject: Re: [sqlalchemy] Kerberos authentication with sybase if you want to show me how that's done with your DBAPI (what DBAPI is this?), sure, though if its something that you pass in via **kw to DBAPI.connect(), you can already do that by passing connect_args to create_engine

[sqlalchemy] Kerberos authentication with sybase

2010-06-10 Thread Cserna, Zsolt
Hi all, Is there any plan to add kerberos authentication to the sybase engine in sqlalchemy? I've implemented it but it's using the creator parameter of the create_engine function, which is ok, but in certain circumstances when the application using sqlalchemy uses configuration from a text

Re: [sqlalchemy] Kerberos authentication with sybase

2010-06-10 Thread Michael Bayer
if you want to show me how that's done with your DBAPI (what DBAPI is this?), sure, though if its something that you pass in via **kw to DBAPI.connect(), you can already do that by passing connect_args to create_engine(), or adding them onto the querystring db://...?foo=bar. On Jun 10, 2010,