Package: winbind
Version: 2:3.2.5-4lenny6
Severity: important
Tags: patch

*** Please type your report below this line ***
Winbind is currently compiled without LDAP support, even though Samba is compiled with LDAP support "--with-ldap".
This means that winbind breaks when samba uses LDAP.  For example, a Samba PDC 
using LDAP backend.
Winbind needs to be compiled with idmap_ldap support to resolve this issue.

This bug was originally discovered in Ubuntu Server 9.04, but traced back to 
Debian.

The following diff based on svn://svn.debian.org/svn/pkg-samba will resolve the 
issue:

svn diff
Index: debian/rules
===================================================================
--- debian/rules    (revision 2940)
+++ debian/rules    (working copy)
@@ -48,7 +48,7 @@
         --with-pam_smbpass \
         --with-libsmbclient \
         --with-winbind \
-        
--with-shared-modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash,idmap_tdb2 \
+        
--with-shared-modules=idmap_ldap,idmap_rid,idmap_ad,idmap_adex,idmap_hash,idmap_tdb2
 \
         --with-automount \
         --with-ldap \
         --with-ads \
Index: debian/winbind.files
===================================================================
--- debian/winbind.files    (revision 2940)
+++ debian/winbind.files    (working copy)
@@ -6,6 +6,7 @@
 usr/lib/samba/idmap/adex.so
 usr/lib/samba/idmap/hash.so
 usr/lib/samba/idmap/tdb2.so
+usr/lib/samba/idmap/ldap.so
 usr/share/man/man1/wbinfo.1
 usr/share/man/man1/ntlm_auth.1
 usr/share/man/man8/pam_winbind.8


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages winbind depends on:
ii  adduser         3.110                    add and remove users and groups
ii  libc6           2.7-18                   GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libkrb53        1.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1                 OpenLDAP libraries
ii  libpam0g        1.0.1-5+lenny1           Pluggable Authentication Modules l
ii  libpopt0        1.14-4                   lib for parsing cmdline parameters
ii  libtalloc1      1.2.0~git20080616-1      hierarchical pool based memory all
ii  libwbclient0    2:3.2.5-4lenny6          client library for interfacing wit
ii  lsb-base        3.2-20                   Linux Standard Base 3.2 init scrip
ii  samba-common    2:3.2.5-4lenny6          Samba common files used by both th

winbind recommends no packages.

winbind suggests no packages.

-- no debconf information

begin:vcard
fn:Aaron J. Zirbes
n:Zirbes;Aaron
org:University of Minnesota;Environmental Health Sciences
adr:;;200 Oak St SE Ste 350;Minneapolis;MN;55455;United States
email;internet:a...@umn.edu
title:Systems Administrator
tel;work:612-625-3460
x-mozilla-html:FALSE
url:http://www.cccs.umn.edu/
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to