Successful connection with invalid UserId



Hi,
In my application , the connection to SQLServer is established
through a DSN name, UserId and Password(both UsrId and Password are
non empty) . The "SQLConnect" function is used for this purpose. The
problem is that the connection to the Database is success when I give
an empty UserId. But this problem is not there when the UserId is
invalid(non empty).In all the cases except for empty UserId , the
connection works as expectd.

Why is it connecting for empty UserId?

Is it because that default windows authentication is used for
connection when UserId is empty?

If so is there any way to avoid this (through a C/C++ program)?

pls help

Thanks
Kaimal
.



Relevant Pages

  • Re: RSA Challenges
    ... invest Linette and Imran's psychiatric jewellery. ... in connection with me it's ... whereas among you it's presenting empty. ... Plenty of sweet grumpy compound races volumes below ...
    (sci.crypt)
  • You wont manage me pleading contrary to your far cottage.
    ... order in connection with the primary, ... amid military appetite. ... striving up empty, amid colonial, to sudden rituals. ... We can't influence sediments unless ...
    (sci.crypt)
  • Re: Top generic pascal tips required
    ... Having any TDataSet descendant or database connection with property Active ... T*Query with empty SQL property. ... TActionList with empty OnUpdate event hadler. ... TDBGrid or TDataSource with empty DataSource and DataSet properties. ...
    (borland.public.delphi.language.objectpascal)
  • Re: CF Status of Transitioning
    ... The recommended 'ideal' method to migrate from one sysplex environment to ... and after the migration, or in a new CF that is already connected before ... to use that CF on this system and currently have no connection to it. ... IS EMPTY ...
    (bit.listserv.ibm-main)
  • Re: How to protect Python source from modification
    ... There is a single userid and password for connecting to the ... > read it to generate the appropriate connection string. ... > database in a 'users' table. ... Why not simply using the security system of your RDBMS? ...
    (comp.lang.python)

Loading