enable krb5-support

Bug #35001 reported by Timo Aaltonen
6
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Please enable kerberos V5 support:

nexus6 src 5115 % debdiff sudo_1.6.8p12-1ubuntu4.dsc sudo_1.6.8p12-1ubuntu5.dsc
diff -u sudo-1.6.8p12/debian/rules sudo-1.6.8p12/debian/rules
--- sudo-1.6.8p12/debian/rules
+++ sudo-1.6.8p12/debian/rules
@@ -15,7 +15,7 @@
        # simple version
        mkdir -p build-simple
        cd build-simple && ../configure --prefix=/usr -v \
- --with-all-insults \
+ --with-all-insults --with-kerb5 \
                --with-exempt=sudo --with-pam --with-fqdn \
                --with-logging=syslog --with-logfac=authpriv \
                --with-env-editor --with-editor=/usr/bin/editor \
@@ -28,7 +28,7 @@
        # LDAP version
        mkdir -p build-ldap
        cd build-ldap && ../configure --prefix=/usr -v \
- --with-all-insults \
+ --with-all-insults --with-kerb5 \
                --with-exempt=sudo --with-pam --with-ldap --with-fqdn \
                --with-logging=syslog --with-logfac=authpriv \
                --with-env-editor --with-editor=/usr/bin/editor \
diff -u sudo-1.6.8p12/debian/control sudo-1.6.8p12/debian/control
--- sudo-1.6.8p12/debian/control
+++ sudo-1.6.8p12/debian/control
@@ -2,7 +2,7 @@
 Section: admin
 Priority: optional
 Maintainer: Bdale Garbee <email address hidden>
-Build-Depends: debhelper (>= 5), libpam0g-dev, libldap2-dev
+Build-Depends: debhelper (>= 5), libpam0g-dev, libldap2-dev, libkrb5-dev
 Standards-Version: 3.6.2.1

 Package: sudo
diff -u sudo-1.6.8p12/debian/changelog sudo-1.6.8p12/debian/changelog
--- sudo-1.6.8p12/debian/changelog
+++ sudo-1.6.8p12/debian/changelog
@@ -1,3 +1,9 @@
+sudo (1.6.8p12-1ubuntu5) dapper; urgency=low
+
+ * add krb5-support
+
+ -- Timo Aaltonen <email address hidden> Wed, 15 Mar 2006 08:58:55 +0200
+
 sudo (1.6.8p12-1ubuntu4) dapper; urgency=low

Martin Pitt (pitti)
Changed in sudo:
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Dapper's feature freeze is in effect for quite some time already. This will be enabled in dapper+1.

Martin Pitt (pitti)
Changed in sudo:
assignee: nobody → pitti
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 sudo (1.6.8p12-4ubuntu4) edgy; urgency=low
 .
   * debian/rules: Enable krb5 support (also add libkrb5-dev build dependency).
     Closes: LP#35001.
   * debian/sudo_root.8: Suggest using visudo instead of editing sudoers
     directly. Closes: LP#47849
   * debian/sudo_root.8: Mention benefit of not sharing a password.
     Closes: LP#48221
   * sudo.c: Temporarily drop to user privileges when creating the
     .sudo_as_admin_successful stamp to also work on NFS with root squashing.
     Closes: LP#49233

Changed in sudo:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

This breaks in Hardy with 1.6.9 at least:

configure: error: Cannot mix mutually exclusive (PAM) and regular (kerb5) authentication methods

So it seems this needs a new binary package sudo-krb then (similar to sudo-ldap).

Changed in sudo:
assignee: pitti → nobody
status: Fix Released → Confirmed
Revision history for this message
Nicholas J Kreucher (kreucher) wrote :

This does it for me w/hardy (see attached).

Revision history for this message
Nicholas J Kreucher (kreucher) wrote :
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.