[freetds] TDS and ldap

James K. Lowden jklowden at schemamania.org
Wed Apr 14 19:32:19 EDT 2004


On Thu, 15 Apr 2004, Nicolas Goy <goyman at goyman.com> wrote:
> 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.

Right.  This is an identified problem with 0.62.1.  Get 0.62.3 instead. 
If you try the unit tests, be advised that odbc/unittest/raiseerror.c
(with 2 e's) fails, but the fault lies in the test, not in the raiserror
handling.  See the README, ChangeLog for more details.  

You're almost home.  :-)

--jkl




More information about the FreeTDS mailing list