[Pkg-samba-maint] add idmap_ldap plugin in winbind to enable LDAP. (LDAP is already enabled in samba)

Aaron J. Zirbes ajz at umn.edu
Fri Jul 10 21:00:00 UTC 2009


Hi,

FYI, I discovered this originally in Ubuntu Server 9.04, but have traced it back to the debian builds.

Case:
-----

Samba is currently build with LDAP support "--with-ldap"
But, winbind is not.

This makes it impossible to use winbind on a machine configured with samba using an LDAP backend.

...personally, I consider this a bug...

Solution:
---------
To enable this, the idmap_ldap module needs to be added to the rules file.

Below are the diffs to resolve this issue.

Here's the diffs from the latest samba commit (Revision 2940) from svn://svn.debian.org/svn/pkg-samba

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 @@


Thanks!

--
Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ajz.vcf
Type: text/x-vcard
Size: 317 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090710/bd0d3f90/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3366 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090710/bd0d3f90/attachment.bin>


More information about the Pkg-samba-maint mailing list