--- likewise-open-4.1.0.orig/debian/likewise-open.manpages +++ likewise-open-4.1.0/debian/likewise-open.manpages @@ -0,0 +1,2 @@ +debian/domainjoin-cli.8 +debian/likewise-open.7 --- likewise-open-4.1.0.orig/debian/changelog +++ likewise-open-4.1.0/debian/changelog @@ -0,0 +1,117 @@ +likewise-open (4.1.0-0ubuntu1) intrepid; urgency=low + + * New upstream version. (Closes LP: #244968) + * fix_window_close patch was merged upstream + * Removed unnecessary quilt support in debian/rules and debian/control + + -- Thierry Carrez Wed, 02 Jul 2008 21:20:55 +0200 + +likewise-open (4.0.5-0ubuntu3) hardy; urgency=low + + * Add OnlyShowIn lines to the .desktop files to prevent two menu + items from being displayed. (LP: #215648) + + -- James Westby Fri, 18 Apr 2008 10:51:01 +0100 + +likewise-open (4.0.5-0ubuntu2) hardy; urgency=low + + * Added manpages from upstream + - debian/likewise-open.manpages + - debian/likewise-open-gui.manpages + * merged changes from Nicolas Valcárcel + - Added support for KDE desktop (LP: #196778) + - Removed unnecesary quilt support on debian/rules + * debian/likewise-giu.xpm: changed to likewise logo from samba + * debian/likewise-open.init: greatly simplified init script (LP: #205111) + - merged status patch from Dustin Kirkland + * debian/likewise-open-gui.desktop: changed category to System;Settings + (LP: #211833) + * debian/patches/fix_window_close: from Soren Hanson + -fixes gtk close bug (LP: #211844) + + -- Rick Clark Mon, 07 Apr 2008 18:17:15 -0400 + +likewise-open (4.0.5-0ubuntu1) hardy; urgency=low + + * New upstream release + * Includes much improved error messages + * debian/patches: removed. All pattches merged upstream. + + -- Rick Clark Wed, 12 Mar 2008 09:17:29 -0400 + +likewise-open (4.0.4-0ubuntu10) hardy; urgency=low + + * debian/likewise-open-gui.desktop + * debian/likewise-gui.xpm + * debian/rules + * debian/likewise-open.install - Added logo and desktop file for likewise-open-gui. For easier launching. (LP: #199333) + + -- Chuck Short Fri, 07 Mar 2008 09:27:37 -0500 + + +likewise-open (4.0.4-0ubuntu9) hardy; urgency=low + + * debian/rules: moved shared lib to /usr/lib + + -- Rick Clark Thu, 14 Feb 2008 13:53:05 -0500 + +likewise-open (4.0.4-0ubuntu8) hardy; urgency=low + + * debian/rules: cleaned up typo + * debian/control: added homepage and vcs + + -- Rick Clark Wed, 13 Feb 2008 22:15:30 -0500 + +likewise-open (4.0.4-0ubuntu7) hardy; urgency=low + + * removed unnecessary headers binary package + + -- Rick Clark Wed, 13 Feb 2008 20:27:34 -0500 + +likewise-open (4.0.4-0ubuntu6) hardy; urgency=low + + * removed explicit depends that are handled by ${shlibs} + + -- Rick Clark Tue, 12 Feb 2008 08:48:42 -0500 + +likewise-open (4.0.4-0ubuntu5) hardy; urgency=low + + * Added domainjoin-gui-hosts.patch from upstream to fix logic + * Added smbcontrol-likewise-winbindd.patch from upstream to fix typo + * Added ConfigureLogin.patch to remove unneeded apparmor call + * Changed default home dir to /home/%D/%U in lwiauthd.conf + + -- Rick Clark Mon, 11 Feb 2008 18:09:57 -0500 + +likewise-open (4.0.4-0ubuntu4) hardy; urgency=low + + * removed execute bit from domainjoin-gtk.glade + + -- Rick Clark Fri, 08 Feb 2008 10:53:32 -0500 + +likewise-open (4.0.4-0ubuntu3) hardy; urgency=low + + * Added lintian override similar to winbind + + -- Rick Clark Thu, 07 Feb 2008 12:38:03 -0500 + +likewise-open (4.0.4-0ubuntu2) hardy; urgency=low + + * Quilt now used for patches + + -- Rick Clark Wed, 06 Feb 2008 12:35:21 -0500 + +likewise-open (4.0.4-0ubuntu1) hardy; urgency=low + + * Initial upstream release + * Added winbindd-Makefile.patch to fix soname problem + * moved from /opt to support the FHS + * split gui into a separate package + * removed extension from all .pl and .sh + * Update to Standards-Version 3.7.3 + * Added perl:Depends to likewise-open + * Added force-reload option to init script + * Added perl shebang at the top of all perl scripts + + -- Rick Clark Tue, 05 Feb 2008 13:53:54 -0500 + --- likewise-open-4.1.0.orig/debian/control +++ likewise-open-4.1.0/debian/control @@ -0,0 +1,33 @@ +Source: likewise-open +Section: net +Priority: optional +XSBC-Original-Maintainer: Gerald Carter +Maintainer: Ubuntu MOTU Developers +Build-Depends: libkrb5-dev, libldap2-dev, libpam0g-dev, uuid-dev, + dpkg-dev (>= 1.13.9), libpam-runtime (>= 0.76-13.1), debhelper (>= 5), + autoconf (>=2.53), libglade2-dev, automake, libxml2-dev +Standards-Version: 3.7.3 +Vcs-Browser: http://lobugs.likewisesoftware.com/ +Homepage: http://www.likewisesoftware.com/ + +Package: likewise-open +Architecture: any +Depends: ${shlibs:Depends}, ${perl:Depends}, libpam-runtime (>= 0.76-13.1), libpam-modules, krb5-user +Provides: domain-lsa-service +Conflicts: domain-lsa-service +Replaces: domain-lsa-service +Description: Authentication services for Active Directory Domains + Likewise Open provides a means of integrating Unix desktops and servers + into an Active Directory (AD) environment by providing a means for hosts + to join the domain as member servers and make the Windows users and groups + available to other Unix applications and services via the PAM and Name + Service Switch libraries. + +Package: likewise-open-gui +Architecture: any +Depends: ${shlibs:Depends}, likewise-open, perl +Description: GUI for Likewise Open Authentication service. Likewise Open + provides a means of integrating Unix desktops and servers into an Active + Directory (AD) environment by providing a means for hosts to join the domain + as member servers and make the Windows users and groups available to other + Unix applications and services via the PAM and Name Service Switch libraries. --- likewise-open-4.1.0.orig/debian/domainjoin-cli.8 +++ likewise-open-4.1.0/debian/domainjoin-cli.8 @@ -0,0 +1,246 @@ +.\" Title: domainjoin-cli +.\" Author: +.\" Generator: DocBook XSL Stylesheets v1.72.0 +.\" Date: 03/14/2008 +.\" Manual: +.\" Source: +.\" +.TH "DOMAINJOIN\-CLI" "8" "03/14/2008" "" "" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +domainjoin\-cli \- Join a host to an Active Directory domain +.SH "SYNOPSIS" +.HP 15 +\fBdomainjoin\-cli\fR [\fIoptions\fR] join [\fB\-\-ou\fR\ \fIorganizational_unit\fR] +.br +[\fB\-\-enable\fR\ \fImodule\fR...] [\fB\-\-disable\fR\ \fImodule\fR...] +.br +[\fB\-\-preview\fR] [\fB\-\-advanced\fR] [\fB\-\-details\fR\ \fImodule\fR] +.br +\fIdomain\fR \fIusername\fR [\fIpassword\fR] +.HP 15 +\fBdomainjoin\-cli\fR [\fIoptions\fR] leave +.br +[\fB\-\-enable\fR\ \fImodule\fR...] [\fB\-\-disable\fR\ \fImodule\fR...] +.br +[\fB\-\-preview\fR] [\fB\-\-advanced\fR] [\fB\-\-details\fR\ \fImodule\fR] +.br +[\fIusername\fR\ [\fIpassword\fR]] +.HP 15 +\fBdomainjoin\-cli\fR [\fIoptions\fR] query +.HP 15 +\fBdomainjoin\-cli\fR [\fIoptions\fR] fixfqdn +.HP 15 +\fBdomainjoin\-cli\fR [\fIoptions\fR] setname \fIname\fR +.SH "DESCRIPTION" +.PP + +\fBdomainjoin\-cli\fR +is the command\-line version of the +\fILikewise\fR +AD domain join tool. In a basic invocation, +\fBdomainjoin\-cli\fR +will join the current machine into an AD domain, enable authentication of AD users, and enable group policy if it is available. +.PP +For systems with sensitive configurations, +\fBdomainjoin\-cli\fR +offers fine\-grained control over modifications to system configuration files that are typically required during a join, such as editing +\fI/etc/nsswitch.conf\fR +or the system PAM setup. +.SH "USAGE" +.SS "Commands" +.PP + +\fBdomainjoin\-cli\fR +supports the following major modes of operation: +.PP +join +.RS 4 +Joins the machine to the AD domain +\fIdomain\fR +and configures AD authentication and group policy (where applicable). This operation requires valid AD credentials for +\fIdomain\fR +to be specified as +\fIusername\fR +and +\fIpassword\fR. If +\fIpassword\fR +is not specified on the command line, +\fBdomainjoin\-cli\fR +will prompt you for it. +.sp + +\fBdomainjoin\-cli\fR +supports joining the machine to a specific OU (Organizational Unit) with +\fB\-\-ou\fR \fIorganizational_unit\fR. +.RE +.PP +leave +.RS 4 +Leaves the currently\-joined AD domain and deconfigures AD authentication and group policy (where applicable). +.sp +In order to actually disable the machine account in AD, either administrative credentials for +\fIdomain\fR +or the same credentials originally used to join the machine must be specified as +\fIusername\fR +and +\fIpassword\fR. If +\fIpassword\fR +is not specified on the command line, +\fBdomainjoin\-cli\fR +will prompt you for it. +.sp +If no credentials are specified, the machine will no longer behave as a member of +\fIdomain\fR +but its machine account will remain enabled in AD. +.RE +.PP +query +.RS 4 +Displays information about the currently\-joined AD domain and OU. +.RE +.PP +fixfqdn +.RS 4 +Makes local configuration modifications necessary to ensure that the fully\-qualified domain name of the machine is forward\- and backward\-resolvable. This can work around domain join issues on networks with sub\-optimal DNS setups. +.RE +.PP +setname +.RS 4 +Changes the hostname of this machine to +\fIname\fR. As it is necessary to have a unique, non\-generic name before joining AD, this operation is provided as a convenient way to quickly rename this computer before performing a join. +.RE +.SS "Common options" +.PP +\fB\-\-log\fR \fIfilename\fR +.RS 4 +Log details about the operation to +\fIfile\fR. If +\fIfile\fR +is ".", logging is directed to the console. +.RE +.PP +\fB\-\-loglevel\fR +.RS 4 +Specifies the level of logging information which should be written to the log file. +.RE +.PP +\fB\-\-help\fR +.RS 4 +Displays brief usage and help information. No operation is performed. +.RE +.SS "Join and leave options" +.PP +\fB\-\-ou\fR \fIorganizational_unit\fR +.RS 4 +Joins the machine to the OU +\fIorganizational_unit\fR +instead of the default "Computers" OU. The OU to which a machine is joined determines which users will be able to authenticate against the machine and which group policies will be applied. This option has no effect when leaving a domain. +.RE +.PP +\fB\-\-enable\fR \fImodule\fR +.RS 4 +Explicitly enables the configuration module +\fImodule\fR +during the join or leave operation. +.RE +.PP +\fB\-\-disable\fR \fImodule\fR +.RS 4 +Explicitly disables the configuration module +\fImodule\fR +during the join or leave operation. +.sp +Note that some modules are necessary for the proper operation of +\fILikewise\fR +while joined to AD. If you attempt to disable such a module, +\fBdomainjoin\-cli\fR +will refuse to proceed with a join operation. +.sp +For some modules, it is possible to make the relevant configuration changes by hand; +\fBdomainjoin\-cli\fR +will inform you of the necessary changes and will proceed with the module disabled if it detects that the changes have been made. +.RE +.PP +\fB\-\-details\fR \fImodule\fR +.RS 4 +Provide details about module +\fImodule\fR +and what specific configuration changes it would perform during a join or leave operation. No actual operation is performed. +.RE +.PP +\fB\-\-preview\fR +.RS 4 +Provide a summary of what configuration modules would be run during a join or leave operation. No actual operation is performed. +.RE +.PP +\fB\-\-advanced\fR +.RS 4 +Turns on debugging information during leave and join operations and provides more verbose output when using +\fB\-\-preview\fR. This is generally only helpful when diagnosing unusual system or network configuration issues. +.RE +.SH "EXAMPLES" +.PP +Example invocations of +\fBdomainjoin\-cli\fR +and their effects follow: +.sp +.RS 4 +.nf +$ domainjoin\-cli join sales.my\-company.com Administrator@sales rosebud +.fi +.RE +.PP +Joins the AD domain +sales.my\-company.com +using +Administrator +as the username and +rosebud +as the password. This is the typical join scenario. +.sp +.RS 4 +.nf +$ domainjoin\-cli \-\-log . leave +.fi +.RE +.PP +Leaves the current AD domain without attempting to disable the machine account as no user credentials were specified. Information about the process will be logged to the console at the default logging level. +.sp +.RS 4 +.nf +$ domainjoin\-cli join \-\-disable nsswitch sales.my\-company.com Administrator@sales +.fi +.RE +.PP +Joins the AD domain +sales.my\-company.com +using +Administrator +as the username and prompting for the password. If possible, nsswitch configuration will not be modified. +.sp +.RS 4 +.nf +$ domainjoin\-cli join \-\-preview sales.my\-company.com Administrator@sales rosebud +.fi +.RE +.PP +Show what configuration modules would be run when joining the AD domain +sales.my\-company.com. +.sp +.RS 4 +.nf +$ domainjoin\-cli join \-\-details pam sales.my\-company.com Administrator@sales rosebud +.fi +.RE +.PP +Show what changes would be made to the system by the +pam +module when joining the AD domain +sales.my\-company.com. +.SH "VERSION" +.PP +This man page is correct for Likewise Open version 4.1. --- likewise-open-4.1.0.orig/debian/likewise-open.install +++ likewise-open-4.1.0/debian/likewise-open.install @@ -0,0 +1,29 @@ +usr/bin/domainjoin-cli +usr/bin/lwinet +usr/bin/lwimsg +usr/bin/lwiinfo + +usr/lib/likewise-open/ConfigureLogin +usr/lib/likewise-open/ConfigureShellPrompt +usr/lib/likewise-open/gpcron +usr/lib/likewise-open/Centeris.pm + +usr/sbin/likewise-winbindd + +usr/lib/likewise-open/idmap/lwopen.so +usr/lib/likewise-open/nss_info/lwopen.so + +lib/libnss_lwidentity.so* + +lib/security/pam_lwidentity.so + +usr/lib/likewise-open/libwbclient.so* +usr/lib/likewise-open/libcentutils.so* +usr/lib/likewise-open/libgpglib.so* +usr/lib/libwbclient.so.0 +usr/lib/libcentutils.so.1 +usr/lib/libgpglib.so.1 + +etc/samba/lwiauthd.conf +etc/security/pam_lwidentity.conf +usr/share/lintian/overrides/likewise-open --- likewise-open-4.1.0.orig/debian/likewise-open-gui.manpages +++ likewise-open-4.1.0/debian/likewise-open-gui.manpages @@ -0,0 +1 @@ +debian/domainjoin-gui.8 --- likewise-open-4.1.0.orig/debian/domainjoin-gui.8 +++ likewise-open-4.1.0/debian/domainjoin-gui.8 @@ -0,0 +1,35 @@ +.\" Title: domainjoin-gui +.\" Author: +.\" Generator: DocBook XSL Stylesheets v1.72.0 +.\" Date: 03/14/2008 +.\" Manual: +.\" Source: +.\" +.TH "DOMAINJOIN\-GUI" "8" "03/14/2008" "" "" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +domainjoin\-gui \- Graphically join a host to an Active Directory domain +.SH "SYNOPSIS" +.HP 15 +\fBdomainjoin\-gui\fR +.SH "DESCRIPTION" +.PP +The +\fBdomainjoin\-gui\fR +command launches a graphical application that provides a one\-step method of joining Linux, Unix, and OS X hosts into an Active Directory domain. The tool performs all the system management configuration necessary to enable local PAM aware services so that they will be capable of authenticating AD domain user login requests. +.SH "DEBUGGING INFORMATION" +.PP +In the event that the local host machine fails to successfully join the AD domain, +\fBdomainjoin\-gui\fR +dialog will allow you to save the log file containing the verbose debugging information obtained during the join attempt. This information may then be used to obtain support from Likewise Software or the Likewise Open community mailing lists. +.SH "SEE ALSO" +.PP + +\fBlikewise\-open(7)\fR, +\fBdomainjoin\-cli(8)\fR +.SH "VERSION" +.PP +This man page is correct for Likewise Open version 4.1. --- likewise-open-4.1.0.orig/debian/likewise-open-gui-kde.desktop +++ likewise-open-4.1.0/debian/likewise-open-gui-kde.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Likewise +Comment=Connect to Active Directory Domains +Exec=/usr/bin/kdesu /usr/bin/domainjoin-gui +Terminal=false +Type=Application +Icon=/usr/share/icons/likewise-gui.xpm +Categories=System;Settings; +OnlyShowIn=KDE; --- likewise-open-4.1.0.orig/debian/likewise-open.init +++ likewise-open-4.1.0/debian/likewise-open.init @@ -0,0 +1,71 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: likewise-open +# Required-Start: $network $local_fs $remote_fs +# Required-Stop: $network $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: S 0 1 6 +# Short-Description: Start likewise-open +# Description: Start and Stop the Likewise Identity Auth Daemon +### END INIT INFO + +# Author: Rick Clark + + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/usr/sbin:/usr/bin:/sbin:/bin + +DESC="Start and Stop the Likewise Identity Auth Daemon" +NAME=likewise-winbindd +DAEMON=/usr/sbin/$NAME +PIDFILE=/var/run/$NAME.pid + + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +# Load the VERBOSE setting and other rcS variables +[ -f /etc/default/rcS ] && . /etc/default/rcS + +unset TMPDIR + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. +. /lib/lsb/init-functions + + +case "$1" in + start) + log_daemon_msg "Starting the Likewise-open auth daemon" + start-stop-daemon --start --quiet --oknodo --exec $DAEMON + log_end_msg $? + ;; + + stop) + log_daemon_msg "Stopping the Likewise-open auth daemon" + start-stop-daemon --stop --quiet --oknodo --exec $DAEMON + log_end_msg $? + ;; + status) + pidofproc -p $PIDFILE $DAEMON >/dev/null + status=$? + if [ $status -eq 0 ]; then + log_success_msg "$NAME is running" + else + log_failure_msg "$NAME is not running" + fi + exit $status + ;; + + restart|force-reload) + $0 stop && sleep 2 && $0 start + ;; + + *) + echo "Usage: $0 {start|stop|status|restart|force-reload}" + exit 1 + ;; +esac --- likewise-open-4.1.0.orig/debian/likewise-open.dirs +++ likewise-open-4.1.0/debian/likewise-open.dirs @@ -0,0 +1,9 @@ +usr/bin +usr/sbin +etc/security +etc/init.d +etc/defaults +etc/samba +var/run +var/lib/likewise-open +var/log/likewise-open --- likewise-open-4.1.0.orig/debian/compat +++ likewise-open-4.1.0/debian/compat @@ -0,0 +1 @@ +5 --- likewise-open-4.1.0.orig/debian/rules +++ likewise-open-4.1.0/debian/rules @@ -0,0 +1,200 @@ +#!/usr/bin/make -f + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Set the host and build architectures for use with config.cache loading, +# cross-building, etc. +DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +export DEB_HOST_GNU_TYPE +export DEB_BUILD_GNU_TYPE +export DEB_HOST_ARCH_OS +pyversion := $(shell pyversions -vd) + +CFLAGS = -g -Wall + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +DESTDIR=`pwd`/debian/tmp +PKGNAME=likewise-open +PREFIX=/usr +LIBEXECDIR=$(PREFIX)/lib/$(PKGNAME) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + conf_args += --build $(DEB_BUILD_GNU_TYPE) +else + conf_args += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + + +configure: configure-stamp +configure-stamp: + dh_testdir + + ./autogen.sh + + ## Just a bit tricky here. Don't call top level Configure.sh so + ## we have more control over file placement; + + (cd centutils; \ + ./configure --prefix=$(PREFIX) \ + --libdir=$(PREFIX)/lib) + + (cd domainjoin; \ + ./configure --prefix=$(PREFIX) \ + --with-gtk \ + --with-libxml2-dir=$(PREFIX) \ + --libdir=$(PREFIX)/lib \ + --libexecdir=$(LIBEXECDIR)) + + (cd samba/source; \ + ./configure --prefix=$(PREFIX) \ + --with-fhs \ + --localstatedir=/var \ + --with-configdir=/etc/samba \ + --libdir=$(PREFIX)/lib \ + --with-libdir=$(PREFIX)/lib/$(PKGNAME) \ + --with-lockdir=/var/lib/$(PKGNAME) \ + --with-logfilebase=/var/log/$(PKGNAME) \ + --with-mandir=$(PREFIX)/man \ + --with-piddir=/var/run \ + --with-privatedir=/etc/samba \ + --enable-require-wrfile-keytab \ + --with-ads \ + --with-pam \ + --without-readline \ + --with-included-popt \ + --with-included-iniparser \ + --with-shared-modules=idmap_lwopen) + + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + $(MAKE) SCRIPTDIR=$(LIBEXECDIR) all + + touch build-stamp +clean: clean-patched + +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k +# dh_installdirs -P $(DESTDIR) + dh_installdirs + + $(MAKE) DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) install + + mkdir -p $(DESTDIR)/usr/lib/ + mkdir -p $(DESTDIR)/lib/security + mkdir -p $(DESTDIR)/usr/share/$(PKGNAME) + mkdir -p $(DESTDIR)/usr/share/applications + mkdir -p $(DESTDIR)/usr/share/icons + + + mv $(DESTDIR)/$(PREFIX)/lib/$(PKGNAME)/libwbclient.so $(DESTDIR)/$(PREFIX)/lib/$(PKGNAME)/libwbclient.so.0.1 + ln -s libwbclient.so.0.1 $(DESTDIR)/$(PREFIX)/lib/$(PKGNAME)/libwbclient.so.0 + ln -s libwbclient.so.0.1 $(DESTDIR)/$(PREFIX)/lib/$(PKGNAME)/libwbclient.so + (cd $(DESTDIR)/usr/lib && ln -s $(PKGNAME)/libwbclient.so.0 libwbclient.so.0) + + mv $(DESTDIR)/$(PREFIX)/lib/libcentutils.so.1 $(DESTDIR)/$(PREFIX)/lib/$(PKGNAME)/libcentutils.so.1 + (cd $(DESTDIR)/usr/lib && ln -s -f $(PKGNAME)/libcentutils.so.1 libcentutils.so.1) + mv $(DESTDIR)/$(PREFIX)/lib/libgpglib.so.1 $(DESTDIR)/$(PREFIX)/lib/$(PKGNAME)/libgpglib.so.1 + (cd $(DESTDIR)/usr/lib && ln -s -f $(PKGNAME)/libgpglib.so.1 libgpglib.so.1) + + /bin/mv $(DESTDIR)/usr/bin/lwi-domainjoin-cli $(DESTDIR)/usr/bin/domainjoin-cli + + /bin/mv $(DESTDIR)/usr/bin/domainjoin-gtk $(DESTDIR)/usr/bin/domainjoin-gui + + install -m644 domainjoin/domainjoin-gui/gtk/domainjoin-gtk.glade \ + $(DESTDIR)/usr/share/$(PKGNAME)/domainjoin-gtk.glade + install -m644 domainjoin/domainjoin-gui/gtk/domainjoin-logo.png \ + $(DESTDIR)/usr/share/$(PKGNAME)/domainjoin-logo.png + install -m644 domainjoin/domainjoin-gui/gtk/likewise-logo.png \ + $(DESTDIR)/usr/share/$(PKGNAME)/likewise-logo.png + + install --mode=755 samba/source/nsswitch/libnss_lwidentity.so $(DESTDIR)/lib/libnss_lwidentity.so.2 + ln -s libnss_lwidentity.so.2 $(DESTDIR)/lib/libnss_lwidentity.so + + install --mode=644 samba/source/bin/pam_lwidentity.so $(DESTDIR)/lib/security/pam_lwidentity.so + + install -D --mode=0644 domainjoin/scripts/Centeris.pm $(DESTDIR)/usr/lib/$(PKGNAME)/Centeris.pm + + for file in ConfigureLogin ConfigureShellPrompt gpcron; do \ + install --mode=0755 domainjoin/scripts/$$file $(DESTDIR)/usr/lib/$(PKGNAME); \ + done + + install -D --mode=0644 debian/lwiauthd.conf $(DESTDIR)/etc/samba/lwiauthd.conf + + install -D --mode=0644 debian/pam_lwidentity.conf $(DESTDIR)/etc/security/pam_lwidentity.conf + + install -D -m 644 debian/$(PKGNAME).lintian $(DESTDIR)/usr/share/lintian/overrides/$(PKGNAME) + + install -D -m 644 debian/likewise-open-gui.desktop $(DESTDIR)/usr/share/applications + install -D -m 644 debian/likewise-open-gui-kde.desktop $(DESTDIR)/usr/share/applications + + install -D -m 644 debian/likewise-gui.xpm $(DESTDIR)/usr/share/icons/ + + + dh_install --sourcedir=$(DESTDIR) --list-missing + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python + dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_desktop + dh_link + dh_strip + dh_compress + dh_fixperms + dh_perl + dh_makeshlibs + dh_installdeb + dh_shlibdeps -ldebian/$(PKGNAME)/usr/lib/$(PKGNAME) + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- likewise-open-4.1.0.orig/debian/lwiauthd.conf +++ likewise-open-4.1.0/debian/lwiauthd.conf @@ -0,0 +1,39 @@ +## +## Example lwiauthd.conf based on Samba's own smb.conf +## All of these are described in Samba's smb.conf for now +## +[global] + workgroup = WORKGROUP + + ; set the security mode + security = user + passdb backend = tdbsam + disable netbios = yes + + idmap domains = default + + idmap config default:default = yes + idmap config default:backend = lwopen + idmap config default:readonly = yes + + idmap alloc backend = tdb + idmap alloc config:range = 9000 - 9999 + + idmap cache time = 3600 + idmap negative cache time = 300 + winbind cache time = 900 + + winbind offline logon = yes + winbind refresh tickets = yes + winbind replacement character = ^ + winbind normalize names = yes + winbind expand groups = 10 + + template shell = /bin/bash + template homedir = /home/%D/%U + + machine password timeout = 2592000 + +## +## end of lwiauthd.conf +## --- likewise-open-4.1.0.orig/debian/likewise-open-gui.install +++ likewise-open-4.1.0/debian/likewise-open-gui.install @@ -0,0 +1,6 @@ +usr/bin/domainjoin-gui +usr/share/likewise-open/domainjoin-gtk.glade +usr/share/icons/likewise-gui.xpm +usr/share/applications/likewise-open-gui.desktop +usr/share/likewise-open/*.png +usr/share/applications/likewise-open-gui-kde.desktop --- likewise-open-4.1.0.orig/debian/pam_lwidentity.conf +++ likewise-open-4.1.0/debian/pam_lwidentity.conf @@ -0,0 +1,40 @@ +# +# pam_lwidentity configuration file +# +# /etc/security/pam_lwidentity.conf +# + +[global] + +# turn on debugging (default is no) +;debug = yes +;debug_state = yes + +# request a cached login if possible (default is no) +# (needs "winbind offline logon = yes" in /etc/samba/lwiuathd.conf) +cached_login = yes + +# authenticate using kerberos (default is no) +krb5_auth = yes + +# when using kerberos, request a "FILE" krb5 credential cache type +# (leave empty to just do krb5 authentication but not have a ticket +# afterwards) +krb5_ccache_type = FILE + +# make successful authentication dependent on membership of one of +# the following SIDs/groups/users (comma-separated) +;require_membership_of = + +# create home directory on logon, if it does not exist (default is no) +create_homedir = yes +# indicate an alternative skel directory (default /etc/skel) +;skel = /etc/skel +# the file-creation-mask for the home directory (default is 0022) +;umask = 0022 + +# create .k5login file on logon, if it does not exist (default is no) +create_k5login = yes + +# standard PAM try_first_pass option (default is no) +try_first_pass = yes --- likewise-open-4.1.0.orig/debian/likewise-open.7 +++ likewise-open-4.1.0/debian/likewise-open.7 @@ -0,0 +1,30 @@ +.\" Title: Likewise Open +.\" Author: +.\" Generator: DocBook XSL Stylesheets v1.72.0 +.\" Date: 03/14/2008 +.\" Manual: +.\" Source: +.\" +.TH "LIKEWISE OPEN" "7" "03/14/2008" "" "" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +likewise\-open \- A suite of tools and services for joining Linux, Unix, and OS X clients to Active Directory domains +.SH "DESCRIPTION" +.PP +Likewise Open is a set of tools and services to enable joining hosts to an Active DIrectory (AD) domain in a single step. The software performs all the necessary system management configuration to enable PAM aware host services to authenticate AD domain users and honor the user's existing set of domain group memberships. +.SH "SUPPORT" +.PP +Likewise Open is a open source initiate of Likewise Software and is open for full community involvement. More information about Likewise Open and Likewise Software can be found at +\fIhttp://www.likewisesoftware.com/community/\fR. You may subscribe to the Likewise Open project mailing lists at +\fIhttp://lists.likewisesoftware.com/\fR. +.SH "SEE ALSO" +.PP + +\fBdomainjoin\-cli(8)\fR, +\fBdomainjoin\-gui(8)\fR +.SH "VERSION" +.PP +This man page is correct for Likewise Open version 4.1. --- likewise-open-4.1.0.orig/debian/likewise-gui.xpm +++ likewise-open-4.1.0/debian/likewise-gui.xpm @@ -0,0 +1,166 @@ +/* XPM */ +static char * likewise_logo_xpm[] = { +"58 40 123 2", +" c None", +". c #00005A", +"+ c #000059", +"@ c #0060CD", +"# c #0060CE", +"$ c #0060CF", +"% c #0060CC", +"& c #0061CE", +"* c #0061CD", +"= c #000057", +"- c #0061CF", +"; c #000058", +"> c #00025B", +", c #0062D0", +"' c #000056", +") c #000055", +"! c #000C67", +"~ c #005FCB", +"{ c #00035D", +"] c #000D68", +"^ c #002B8C", +"/ c #004EB8", +"( c #005FCC", +"_ c #00025C", +": c #001774", +"< c #00399D", +"[ c #0052BC", +"} c #005CC8", +"| c #00126F", +"1 c #0065D3", +"2 c #001471", +"3 c #0055BF", +"4 c #0064D2", +"5 c #0062CF", +"6 c #000864", +"7 c #003193", +"8 c #0059C3", +"9 c #000B67", +"0 c #004DB6", +"a c #0064D1", +"b c #0063CF", +"c c #0063D1", +"d c #000863", +"e c #005DC9", +"f c #0062CE", +"g c #0063D0", +"h c #0063D2", +"i c #00045E", +"j c #000E6B", +"k c #00288B", +"l c #004BB4", +"m c #0056C0", +"n c #004AB1", +"o c #004CB6", +"p c #0057C2", +"q c #005ECB", +"r c #00015B", +"s c #0053BF", +"t c #005DCA", +"u c #000A65", +"v c #000A66", +"w c #000E6A", +"x c #0054C0", +"y c #0064D3", +"z c #0049B1", +"A c #000053", +"B c #000051", +"C c #000054", +"D c #000B66", +"E c #005ECA", +"F c #000763", +"G c #001776", +"H c #004CB5", +"I c #00005B", +"J c #0058C3", +"K c #005FCD", +"L c #000C68", +"M c #00106C", +"N c #0059C5", +"O c #004EB9", +"P c #000B68", +"Q c #0054BD", +"R c #000052", +"S c #005CC9", +"T c #0049B2", +"U c #002688", +"V c #000964", +"W c #000661", +"X c #0054BF", +"Y c #001371", +"Z c #005AC6", +"` c #0057C3", +" . c #002182", +".. c #004DB7", +"+. c #004FB8", +"@. c #00106D", +"#. c #00379D", +"$. c #0066D5", +"%. c #0065D4", +"&. c #000E6C", +"*. c #00025D", +"=. c #000D69", +"-. c #0051BD", +";. c #0059C6", +">. c #0059C7", +",. c #00015C", +"'. c #002A8C", +"). c #0050BC", +"!. c #000762", +"~. c #001472", +"{. c #0050BA", +"]. c #000A67", +"^. c #000C69", +"/. c #00288A", +"(. c #004AB2", +"_. c #000865", +":. c #002588", +"<. c #004BB5", +"[. c #000D6B", +"}. c #0052BD", +"|. c #000562", +"1. c #005ECC", +"2. c #005FCE", +" . . + + + + . . . @ # $ $ $ # # @ @ % ", +" . . + + + + . . . @ # $ $ $ # # @ @ % ", +" . . . + + + + . . . + # # # # & & & & # @ @ @ @ * ", +" + + . . + + . . . . . . . + = - @ @ # # # & & & & & & & & # # * * * * ", +" + + + . . . . . . . . . . ; = > , - @ # # # & & & & & & & & & & & & & * @ * ", +" + + + + . . . . . . . . . + ' ) ! ~ & & # & & & & & & & & & & & & & & & & @ @ @ * ", +" + + + + . . . . . . . . . + . { ] ^ / ( * * & & & & & & & & & & & & & & & & & & # @ & & * ", +" . . . . . . . . . . . . + + ; _ : < [ } @ & & & & & & & & & & & & & & & & & & & & & & & & & & ", +" + . . . . . . . . . . . . + . { | } 1 - & & & & & & & & & & & & & & & & & & & & & & & & & & & * ", +" + + + . . . . . . . . . . + ) + 2 3 - 4 5 & & & & & & & & & & & & & & & & & & & & & & & & & & & * % ", +" + + + . . . . . . . . . . + + ' 6 7 8 5 # & & & & & & & & & & & & & & & # & & & & & & & & & & & & & & @ @ ", +" + + . . . . . . . . . . ; ' . 9 0 & a & & & & & & & & & & & 5 b a 4 1 1 4 c 5 & & & & & & & & & & & @ @ ", +" ; + + . . . . . . . . . + ; ) d / e @ - & & & & & & & & & & & & f g a h , - & & & & & & & & & & & # @ ", +" + + . . . . . . . . . + + i j k l ( 5 & & & & & & & & & & f 5 * e m n o p q & & & & & & & & & & # # @ ", +"+ + . . . . . . . . . . . + r | s t * & & & & & & & & & * * 5 5 e ! u v ( & - & & & & & & & # # * ", +"+ + . . . . . . . . . + + { w x y c f & & & & & & & & & & * & e z A B A C B A q 5 & # & & & & & & & * * ", +"+ + + . . . . . . . . ; ; D ~ , 5 & & & & & & & & * & 5 & E F = ' = = ; = ; + p 5 & # & & & & & & & # @ ", +"+ + + . . . . . . . . ' = G 1 5 & & & & & & & & & & & & - e H 9 I = + + . . . . ' ; @ # & & & & & & & & # @ ", +"+ + + . . . . . . . . ) ' J 1 , & & & & & & & & & - , - K L r + + + . . . . . ' = M N ( & & & & & & & & * @ ", +"+ + . . . . . . . . . A } c 5 & & & & & & & & & & - t O P r ; . . . . . . . . = ; D Q q - & & & & & & & * * ", +". . . . . . . . . . . R e g 5 & & & & & & & & 5 & S T U 9 r + + . . . . . . . . ; ; V [ q 5 5 & & & & & & @ @ ", +". . . . . . . . . . . R e g 5 & & & & & & * & 5 e W . + . . . . . . . . . . ; ; L X ~ 5 5 & & & & & & # # ", +". . . . . . . . . . . A } a 5 & & & & & & & & ( H { = = ; . . . . . . . . . . = ; Y Z % f & & & & & & & # # ", +". . . . . . . . . . . ) ` 1 5 * & & & * f 5 ~ 9 + ; + + . . . . . . . . + + ' r ...@ * & & & & & & & & & & ", +". . . . . . . . . . . = ; 4 g , , , , 5 5 % +. j _ = ; . . . . . . . . . . ; ; > @.#.` 5 & * & & & & & & & & # ", +". . . . . . . . . . . ; + d $.%.4 1 4 - &.*.+ ; + . . . . . . . . . + ' ; =. -.E 5 & & & & & & & & & # K ", +". . . . . . . . . . . + + r ;.>.;.s =.,.; + + . . . . . . . . . + . > ! '.).K @ & & & & & & & & & # # ", +". . . + + . . . . . . . . . r !.2 ~.d _ . + + . . . . . . . . + ; ' I @. {.t - & & & & & & & & & & & @ ", +" + + + . . . . . . . . . + ; = ) C ' ; + . . . . . . . . . . . + + + ]. c & 5 & & & & & & & & & & & ", +" + + + . . . . . . . . . + ; = ' ) C C ) = ; + . . . . . . . . . . + = r ^./...- 4 5 & & & & & & & & & # # @ ", +" + + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . + + . 9 S # - & & & & & & & & & # @ @ ", +" + + . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; = r ].U (.E & & & & & & & & & & & & # @ ", +" + + . . . . . . . . . . . . . . . . . . . . . . . . . . . ; ; _. e & & # & & & & & & & & & & # @ ", +" + + . . . . . . . . . . . . . . . . . . . . . . . . + . *.P :.<.K 5 5 - & & & & & & & & & & & @ ", +" + + . . . . . . . . . . . . . . . . . . . . . + + ; . [. }.e # & & & & & & & & & * * * * @ ", +" + . . . . . . . . . . . . . . . . . . . . . + + + |. $., & & & & & & & & & & * * * @ ", +" . . . . . . . . . . . . . . . . . . . . + ; . 1.c 5 & & & & & & & & & & * @ ", +" + + + . . . . . . . . . . . . . + + + + = # - & & & & & & & & & * * @ ", +" + . . . . + + . . . . . . + + + + - - & * & & & & # # # @ ", +" . . . + + . . . . . + + + & @ @ * & # # # # 2. "}; --- likewise-open-4.1.0.orig/debian/likewise-open.lintian +++ likewise-open-4.1.0/debian/likewise-open.lintian @@ -0,0 +1,5 @@ +likewise-open: non-dev-pkg-with-shlib-symlink +likewise-open: postinst-must-call-ldconfig lib/libnss_lwidentity.so.2 +likewise-open: postrm-should-call-ldconfig lib/libnss_lwidentity.so.2 +likewise-open: package-name-doesnt-match-sonames libnss-lwidentity2 libwbclient0 +likewise-open: unused-shlib-entry-in-control-file libnss_lwidentity 2 --- likewise-open-4.1.0.orig/debian/likewise-open.default +++ likewise-open-4.1.0/debian/likewise-open.default @@ -0,0 +1,10 @@ +# Defaults for likewise-open initscript +# sourced by /etc/init.d/likewise-open +# installed at /etc/default/likewise-open by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" --- likewise-open-4.1.0.orig/debian/likewise-open-gui.desktop +++ likewise-open-4.1.0/debian/likewise-open-gui.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Likewise +Comment=Connect to Active Directory Domains +Exec=/usr/bin/gksu /usr/bin/domainjoin-gui +Terminal=false +Type=Application +Icon=/usr/share/icons/likewise-gui.xpm +Categories=System;Settings; +OnlyShowIn=GNOME;XFCE; --- likewise-open-4.1.0.orig/debian/copyright +++ likewise-open-4.1.0/debian/copyright @@ -0,0 +1,32 @@ +This package was Debianized by Gerald Carter + +The source was obtained from: +http://archives.likewisesoftware.com/likewise-open/src/ + +Parts of this code are based on Samba's Winbind (http://www.samba.org/) +with the copyright being attributes to individual Samba developers. +Supporting scripts and tools for managing the domain join process are +copyright Centeris Corporation. + +This package was prepared by Gerald Carter +and Rick Clark + +Licensing: + + This package is composed of components release under varying licenses. + + The supporting libraries are licensing under the GNU Lesser General + Public License version 2.1 (or at your option later). + + The domain join utilities are licensing under the GNU General + Public License version 2 (or at your option later). + + All Samba derived code is licensed under the existing once chosen + by the Samba Team. Currently this is the GNU General Public + License version 3 (or at your option later). + + Please seeing the specific licensing details in the complete + source code release for further details. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'.