Package: smbldap-tools Followup-For: Bug #697225 I'm attaching an updated patch which ports the changes included in the Ubuntu package for the original Debian package. This restores the smbldap-config tool and its man page.
-- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages smbldap-tools depends on: ii libcrypt-smbhash-perl 0.12-4 ii libio-socket-ssl-perl 2.044-1 ii libnet-ldap-perl 1:0.6500+dfsg-1 ii libunicode-maputf8-perl 1.11-4 ii perl 5.24.1-3+deb9u2 smbldap-tools recommends no packages. smbldap-tools suggests no packages. -- no debconf information
diff -Nru smbldap-tools-0.9.9/debian/changelog smbldap-tools-0.9.9/debian/changelog --- smbldap-tools-0.9.9/debian/changelog 2012-08-07 11:29:39.000000000 -0700 +++ smbldap-tools-0.9.9/debian/changelog 2017-10-25 10:49:41.000000000 -0700 @@ -1,3 +1,10 @@ +smbldap-tools (0.9.9-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Restoring smbldap-config see (Closes: #697225) + + -- Ian Allison <iana@localhost> Wed, 25 Oct 2017 10:49:41 -0700 + smbldap-tools (0.9.9-1) unstable; urgency=low * New upstream release (Closes: #647860, #679935, #680939, #681350) diff -Nru smbldap-tools-0.9.9/debian/patches/0002_restore_smbldap-config.patch smbldap-tools-0.9.9/debian/patches/0002_restore_smbldap-config.patch --- smbldap-tools-0.9.9/debian/patches/0002_restore_smbldap-config.patch 1969-12-31 16:00:00.000000000 -0800 +++ smbldap-tools-0.9.9/debian/patches/0002_restore_smbldap-config.patch 2017-10-25 10:49:41.000000000 -0700 @@ -0,0 +1,41 @@ +Index: smbldap-tools-0.9.9/Makefile.in +=================================================================== +--- smbldap-tools-0.9.9.orig/Makefile.in ++++ smbldap-tools-0.9.9/Makefile.in +@@ -43,7 +43,8 @@ PERL_CMD_SOURCES= \ + smbldap-userinfo.pl \ + smbldap-userlist.pl \ + smbldap-usermod.pl \ +- smbldap-usershow.pl ++ smbldap-usershow.pl \ ++ smbldap-config.pl + + PERL_MAN_SECTION= 8 + +Index: smbldap-tools-0.9.9/smbldap-config.pl +=================================================================== +--- smbldap-tools-0.9.9.orig/smbldap-config.pl ++++ smbldap-tools-0.9.9/smbldap-config.pl +@@ -557,3 +557,22 @@ print " $smbldap_bind_conf done.\n"; + $mode=0600; + chmod $mode,"$smbldap_bind_conf","$smbldap_bind_conf.old"; + ++exit(0); ++ ++############################ ++=head1 NAME ++ ++smbldap-config - Create a configuration for the smbldap-tools ++ ++=head1 SYNOPSIS ++ ++smbldap-config ++ ++=head1 DESCRIPTION ++ ++An interactive script to configure the smbldap-tools to work with your ++existing LDAP server(s). Before running it, you should ensure that your ++samba controller is up and running, and that the domain SID is defined ++(you can check it by running 'net getlocalsid'). ++ ++=cut diff -Nru smbldap-tools-0.9.9/debian/patches/series smbldap-tools-0.9.9/debian/patches/series --- smbldap-tools-0.9.9/debian/patches/series 2012-07-09 07:14:21.000000000 -0700 +++ smbldap-tools-0.9.9/debian/patches/series 2017-10-25 10:49:41.000000000 -0700 @@ -1 +1,2 @@ 0001_debian_nobody.patch +0002_restore_smbldap-config.patch