Connecting to a non-local server

David Casti <[email protected]>
Newsgroups gmane.comp.python.sybase
Message-ID <BA8BD279.149C1%[email protected]>
Hello,

I have been using the sybase module to connect to my local Sybase server for
a few weeks.  Now I am trying to use it to connect to a non-local server on
port 3105.

I thought the correct call was something like --

d = Sybase.connect( 'hosttname:3105', user='user', passwd='pass',
database='dbname' )

-- but after many different attempts at that command, I keep getting the
error --

Sybase.DatabaseError: Layer: 6, Origin: 8
ct_connect(): directory service layer: internal directory control layer
error: There was an error encountered while binding to the directory
service.

-- Can anyone advise me on how to overcome this problem?

Thanks,
David.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.