No build available with kerberos support

Bug #1223567 reported by Nathan Bird
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
freetds (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

FreeTDS supports kerberos (http://freetds.schemamania.org/userguide/kerberos.htm) which is very useful feature when working on a network with Microsoft domains and SQL Servers. There does not appear to be any way to do this in Ubuntu.

I can understand that you may not want to make kerberos be a hard dependency of these packages but it would be very nice if there were also packages {tdsodbc,libsybdb5,libct4}-krb5 that could be installed.

I checked out the bzr development branch and did the following:

 * `apt-get build-dep freetds`
 * `apt-get install libkrb5-dev`
 * add the `--enable-krb5` flag to `debian/rules` (based on http://freetds.schemamania.org/userguide/config.htm#CONFIGURE.OPTIONS)
 * build and install the packages

I can then connect to an MS SQL server based on kerberos ticket.

That is to say it isn't that hard to get it to build with krb5, but I have no idea how to do the control and rules file such that it will generate a package with and without that build flag.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in freetds (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freetds - 0.91-5

---------------
freetds (0.91-5) unstable; urgency=low

  * Add Kerberos support. LP: #1223567.
  * Stop overriding CPPFLAGS in debian/rules, giving us full proper
    hardening support. Closes: #665268.
  * src/odbc/odbc.c: cherry-pick upstream fix for a segfault due to an
    uninitialized value. Thanks to Lionel Elie Mamane <email address hidden>
    for the fix. Closes: #650422.
  * Allow parallel builds. Closes: #650421.
  * Drop manual autotools patching for dh-autoreconf, fixing builds on
    x32 et al. Closes: #699069.
  * Properly bump the build-dep on debhelper to 9.
  * Bump to Standards-Version 3.9.4, no changes required.
  * Convert copyright file to copyright-format 1.0.
  * src/apps/bsqldb.c, src/apps/bsqlodbc.c: fix wrong getopt() option
    strings so that arguments to -d are parsed correctly.
    Closes: #715697, #715698.
  * src/apps/datacopy.c: handle a lack of login/password information
    without segfaulting. Closes: #715785.

 -- Steve Langasek <email address hidden> Wed, 11 Sep 2013 06:37:14 +0000

Changed in freetds (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.