Skip to Content.
Sympa Menu

freetds - [freetds] TDS and ldap

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Nicolas Goy <goyman AT goyman.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] TDS and ldap
  • Date: Thu, 15 Apr 2004 01:09:18 +0200

Hello,

I try to setup open ldap with sybase as a back-sql backend.

Odbc is working right now.

I isolated the problem of ldap in the odbc layer.

When ldap exec it send some input to the databse:

00:00000:00012:2004/04/15 01:00:34.27 server DBCC TRACEON 11202, SPID 12
00:00000:00013:2004/04/15 01:00:37.47 server TDS_LANG, spid 13: command text:
set textsize 64512 use GAddress
00:00000:00013:2004/04/15 01:00:37.48 server TDS_LANG, spid 13: command text:
BEGIN TRANSACTION
00:00000:00013:2004/04/15 01:00:37.49 server TDS_DYNP, spid 13: command text:
create proc w53y006000 as SELECT id,name,keytbl,keycol,create_proc,delete_proc,expect_return FROM ldap_oc_mappings
00:00000:00013:2004/04/15 01:00:37.53 server TDS_LANG, spid 13: command text:
IF @@TRANCOUNT > 0 ROLLBACK BEGIN TRANSACTION

the problem is that the line IF @@TRANCOUNT > 0 ROLLBACK BEGIN TRANSACTION return -1 and the ldap server think the request failed and it stop.

I really need this ldap server to work with the sybase backend, so help will be greatly apreciated.

Regards

Goyman




Archive powered by MHonArc 2.6.24.

Top of Page