Some functions and one result pointer are missing in pgsql/dbpgsql.c

Also fyi, I've noticed add_user and auth_validate are broken in auth/authldap.c


diff -u -r1.101.4.2 dbpgsql.c
--- dbpgsql.c   2003/09/19 08:07:13     1.101.4.2
+++ dbpgsql.c   2003/09/19 08:37:33
@@ -39,6 +39,7 @@
 static PGconn *conn;
 static PGresult *res;
 static PGresult *msgbuf_res;
+static PGresult *auth_res;
 static PGresult *stored_res;

 field_t _db_host, _db_user, _db_db, _db_pass;
@@ -289,6 +290,18 @@
 void db_store_msgbuf_result()
 {
        msgbuf_res = res;
+       res = stored_res;
+}
+
+void db_use_auth_result()
+{
+       stored_res = res;
+       res = auth_res;
+}
+
+void db_store_auth_result()
+{
+       auth_res = res;
        res = stored_res;
 }

Ilja Booij wrote:
I've corrected the typo in CVS.

what appears to be broken when building without --with-auth-ldap?

Ilja

On Thursday, Sep 18, 2003, at 17:41 Europe/Amsterdam, Paul J Stevens wrote:

I am testing. But building without --with-auth-ldap appears to be broken, and pgsql/dbpgsql.c appears to contain a typo.


diff -r1.101.4.1 dbpgsql.c
94c94
<               PGreset(conn);
---
>               PQreset(conn);


Other than that I have the ldap code working with a homebrew dbmail.schema file.




Eelco van Beek - IC&S wrote:

As a matter of fact.. Ilja completly redesigned the database interface code the last two months. We are currently testing the new code and hoping that some of you are doing the same :)
Best regards,
Eelco
On donderdag, sep 18, 2003, at 14:53 Europe/Amsterdam, Paul J Stevens wrote:

This project is very much alive, I hope. Upstream has been rather quiet lately.

Kasper Haagensen wrote:

Hi
I just wanna ask the simple quastion, is there still been working on the project or... ??
kasper
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev



--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

_________________________
E.J.A. van Beek
ICT Manager
IC&S
T: +31 30 2322878
F: +31 30 2322305
PGP-key:
www.ic-s.nl/keys/eelco.txt
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to