gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] other authentication methods


From: Syan Tan
Subject: Re: [Gnumed-devel] other authentication methods
Date: Thu, 09 Feb 2006 01:59:51 +0800


I've put a first draft of a HOWTO on the wiki. Hope someone will get some masochistic fun out of it.


http://salaam.homeunix.com/twiki/bin/view/Gnumed/DebianKerberosLDAPBindGnumedWalthrough


On Wed Feb 8 11:36 , Karsten Hilbert sent:

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
address@hidden
http://lists.gnu.org/mailman/listinfo/gnumed-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]