On Tue, Feb 07, 2006 at 10:42:18PM +0800, Syan Tan wrote: > Gnumed doesn't use psql so will it work using dbapi ? Psql uses libpq, most dbapi adapters do, too, so yes.
That might actually be an argument against writing a *pure* Python DB-API adaptor: it seems the various authentication modes would have to be implemented ? > dbapi will allow a connect to a dbapi dsn *which doesn't have a password*. ( > as long as the server side of the kerberos keytable > setup has been done). > On the other hand, if you "kdestroy" the credential's > cache in /tmp/krb5cc_nnnn then dbapi (pyPgSQL.PgSQL) won't connect in > python, > and if you kinit -p as a principal whose name before the slash doesn't > correspond with a registered > postgres user, dbapi will come back with user doesn't exist. Well, yes, that's how one would expect things to work. So, that's good. > so kerberos will more or less work out the box with gnumed and with ldap so > both can be used together. Good ! Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 _______________________________________________ Gnumed-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnumed-devel
