Re: kerberos with freetds [NC]
Cedric ROUVRAIS <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <OF4402A220.B33CB2F8-ON8525761E.004E3B8D-8525761E.004F0C69@us.world.socgen> |
Correct, user and password are mandatory elements, they are checked by the program. You will have to render them optional and recompile. you can do this by adding an extra ':' in the vararg call. I have not used tsql because I use bsqldb but have no doubt that it is the same. I did this for other parameters. a++ Cedric |------------------------------ | <Jason.Poudrier@d | imensional.com> | Sent by: | freetds-bounces@l | ists.ibiblio.org | | | 08/26/2009 10:01 | AM | | | Please respond to | FreeTDS | Development Group | <[email protected] | iblio.org> | | To "FreeTDS Development Group" <[email protected]> cc Subject Re: [freetds] kerberos with freetds I ran kinit, but tsql forces me to use a username and password. The DBA's checked and I am still connecting via NTLM. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Frediano Ziglio Sent: Wednesday, August 26, 2009 2:25 AM To: FreeTDS Development Group Subject: Re: [freetds] kerberos with freetds 2009/8/25 <[email protected]>: > We are trying to make connections to a MSSQL environment from a Linux > box via Kerberos authentication. I have Kerberos authentication working > for user authentication on the Linux box. I have installed the latest > unixODBC and the latest FreeTDS with -enable-krb5. I cannot find any > documentation on how to invoke Kerberos authentication for the ODBC > connection. I am using TSQL to test my connection and our DBA's are > seeing the authentication as NTLM. Any help is greatly appreciated. > Use kinit to initialize kerberos then use empty username and password to use Kerberos. freddy77 _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds This message and any attachments (the "Message") may contain confidential, proprietary and/or privileged information and are only for their intended recipient(s). If you are not the intended recipient, you should notify the sender and delete the Message. E-mail transmissions cannot be guaranteed to be secure or error-free. This Message is provided for information purposes and should not be construed as a solicitation or offer to buy or sell any securities or financial instruments, or to provide investment advice in any jurisdiction where the sender is not properly licensed or permitted to do so. This Message is subject to additional conditions and restrictions. Please read them here: http://legal.dimensional.com/email/ _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds ************************************************************************* This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. *************************************************************************