debian/0000755000000000000000000000000012151750360007166 5ustar debian/changelog0000644000000000000000000000247012151746561011053 0ustar apache-mod-auth-ntlm-winbind (0.0.0.lorikeet+svn+801-4) unstable; urgency=low * Upload to unstable (Closes: #666845) -- Olly Betts Thu, 30 May 2013 22:05:25 +0000 apache-mod-auth-ntlm-winbind (0.0.0.lorikeet+svn+801-3) experimental; urgency=low * Upgrade to debhelper compat level 9, enabling hardening flags. * Add warning to package description about the weak security NTLM provides, and point people to libapache2-mod-auth-kerb as a better alternative where it can be used. * debian/control: Update section from web to httpd to match override file. * debian/control: "Standards-Version: 3.9.4" (no changes required). -- Olly Betts Thu, 30 May 2013 06:12:35 +0000 apache-mod-auth-ntlm-winbind (0.0.0.lorikeet+svn+801-2) experimental; urgency=low * Upload to experimental to test against Apache 2.4. * Update for Apache 2.4 transition (Closes: #666845) + New patch: aplog-use-module.patch * debian/control: "Standards-Version: 3.9.3" (no changes required). * New patch: fix-set-but-not-used-warning.patch -- Olly Betts Fri, 11 May 2012 03:20:53 +0000 apache-mod-auth-ntlm-winbind (0.0.0.lorikeet+svn+801-1) unstable; urgency=low * Initial release. (Closes: #602462) -- Olly Betts Wed, 19 Jan 2011 07:11:10 +0000 debian/source/0000755000000000000000000000000011515513622010467 5ustar debian/source/format0000644000000000000000000000001411515513622011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011753107761010625 5ustar debian/patches/aplog-use-module.patch0000644000000000000000000000115411753107760015025 0ustar Description: Use APLOG_USE_MODULE if available As recommended by: http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html Author: Olly Betts Origin: debian Forwarded: no Last-Update: 2012-05-11 --- apache-mod-auth-ntlm-winbind-0.0.0.lorikeet+svn+801.orig/mod_auth_ntlm_winbind.c +++ apache-mod-auth-ntlm-winbind-0.0.0.lorikeet+svn+801/mod_auth_ntlm_winbind.c @@ -50,6 +50,10 @@ #include "util_script.h" /* for ap_call_exec */ #include +#ifdef APLOG_USE_MODULE +APLOG_USE_MODULE(auth_ntlm_winbind); +#endif + #ifdef APACHE2 #include "http_request.h" #include "http_connection.h" debian/patches/fix-set-but-not-used-warning.patch0000644000000000000000000000210511753074735017216 0ustar Description: Fix "set but not used" warning Author: Olly Betts Origin: debian Forwarded: no Last-Update: 2012-05-11 --- apache-mod-auth-ntlm-winbind-0.0.0.lorikeet+svn+801.orig/mod_auth_ntlm_winbind.c +++ apache-mod-auth-ntlm-winbind-0.0.0.lorikeet+svn+801/mod_auth_ntlm_winbind.c @@ -437,12 +437,12 @@ static struct _ntlm_auth_helper *get_aut #endif if ( auth_helper == NULL ) { - struct _ntlm_child_stuff cld; apr_pool_t *pool; #ifdef APACHE2 char **argv_out; apr_pool_create_ex( &pool, NULL, NULL, NULL ); /* xxx return code */ #else + struct _ntlm_child_stuff cld; pool = ap_make_sub_pool( NULL ); #endif auth_helper = apr_pcalloc( pool, sizeof( struct _ntlm_auth_helper )); @@ -453,9 +453,9 @@ static struct _ntlm_auth_helper *get_aut apr_tokenize_to_argv( cmd, &argv_out, pool ); #else ap_register_cleanup( pool, auth_helper, cleanup, ap_null_cleanup ); -#endif cld.argv0 = cmd; cld.r = r; +#endif #ifdef APACHE2 apr_procattr_create( &attr, pool ); debian/patches/series0000644000000000000000000000007211753102475012036 0ustar fix-set-but-not-used-warning.patch aplog-use-module.patch debian/compat0000644000000000000000000000000212151564556010376 0ustar 9 debian/rules0000755000000000000000000000126212151566443010256 0ustar #!/usr/bin/make -f # Copyright (C) Olly Betts 2011,2013 # Licensed under the same terms as upstream. %: dh $@ --with autotools_dev override_dh_auto_configure: dh_auto_configure $@ -- \ --with-apxs=/usr/bin/apxs2 --with-apache=/usr/sbin/apache2 override_dh_auto_build: make APXS_FLAGS='-DAPACHE2 -Wc,-O2' override_dh_auto_install: mkdir -p debian/libapache2-mod-auth-ntlm-winbind/usr/lib/apache2/modules dh_auto_install $@ install -m644 -D debian/auth_ntlm_winbind.load debian/libapache2-mod-auth-ntlm-winbind/etc/apache2/mods-available/auth_ntlm_winbind.load install -m644 -D README debian/libapache2-mod-auth-ntlm-winbind/usr/share/doc/libapache2-mod-auth-ntlm-winbind/README debian/copyright0000644000000000000000000000313112151566724011130 0ustar This package was originally created by Jelmer Vernooij on Sat, 8 Apr 2006 14:30:13 +0100, but not uploaded to Debian. Olly Betts updated it on 2010-01-19 and uploaded it to Debian. It was downloaded from SVN at svn://svn.samba.org/lorikeet/trunk/mod_auth_ntlm_winbind Copyright: Copyright Andreas Gal , 2000 Copyright Sverre H. Huseby , 2000 Copyright Tim Potter , 2001 Copyright Andrew Bartlett , 2004 Copyright Ronan Waider , 2006 Copyright Tim Costello (Based partially on mod_ntlm.c for Win32) Copyright Dave Airlie (Based partially on pam_smb) Copyright The Apache Software Foundation, 1999-2004 (CGI fork code) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. On Debian systems, the complete text of the Apache License Version 2.0 can be found in /usr/share/common-licenses/Apache-2.0 The Debian packaging is licensed under the same terms as upstream and is: Copyright (C) Jelmer Vernooij 2006 Copyright (C) Olly Betts 2011,2012,2013 debian/auth_ntlm_winbind.load0000644000000000000000000000012611446032602013531 0ustar LoadModule auth_ntlm_winbind_module /usr/lib/apache2/modules/mod_auth_ntlm_winbind.so debian/control0000644000000000000000000000205512151566424010601 0ustar Source: apache-mod-auth-ntlm-winbind Section: httpd Priority: optional Maintainer: Olly Betts Build-Depends: debhelper (>= 9), apache2-dev (>= 2.4), apache2 (>= 2.4), autotools-dev Homepage: http://adldap.sourceforge.net/wiki/doku.php?id=mod_auth_ntlm_winbind Standards-Version: 3.9.4 Package: libapache2-mod-auth-ntlm-winbind Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, apache2-api-20120211, winbind Description: apache2 module for NTLM authentication against Winbind The mod_auth_ntlm_winbind module provides authentication and authorisation over the web against a Microsoft Windows NT/2000/XP/etc or Samba Domain Controller using Samba's winbind daemon running on the same machine Apache is running on. . If you're considering using this module, you should be aware that NTLM isn't regarded as very secure by modern standards - even Microsoft no longer recommends its use - and where possible, you probably want to use Kerberos with negotiate auth over https instead (see Debian package libapache2-mod-auth-kerb).