Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ubuntu Patches

  • Loading branch information...
commit fc2df1e5e1a0db2f33815653142ca17d6ed3ea45 1 parent 05117a7
@pmorton authored
Showing with 7,641 additions and 724 deletions.
  1. +2 −2 curl/docs/examples/curlgtk.c
  2. +4 −3 cyrus-sasl/plugins/gssspnego.c
  3. +6 −4 cyrus-sasl/plugins/gssspnego_init.c
  4. +3 −3 cyrus-sasl/plugins/plugin_common.c
  5. +5 −3 cyrus-sasl/plugins/plugin_common.h
  6. +3 −0  dcerpc/MakeKitBuild
  7. +3 −0  dcerpc/include/dce/arm/Makefile.am
  8. +470 −0 dcerpc/include/dce/arm/Makefile.in
  9. +39 −0 dcerpc/include/dce/arm/marshall.h
  10. +41 −0 dcerpc/include/dce/arm/ndr_rep.h
  11. +97 −0 dcerpc/include/dce/arm/ndrtypes.h
  12. +57 −0 debian/README.source
  13. +3 −0  debian/apparmor.homedirs
  14. +444 −0 debian/changelog
  15. +1 −0  debian/compat
  16. +101 −0 debian/control
  17. +35 −0 debian/copyright
  18. +246 −0 debian/domainjoin-cli.8
  19. +35 −0 debian/domainjoin-gui.8
  20. +4 −0 debian/install-excludes
  21. +166 −0 debian/likewise-gui.xpm
  22. +9 −0 debian/likewise-open-gui.desktop
  23. +9 −0 debian/likewise-open-gui.install
  24. +30 −0 debian/likewise-open.7
  25. +5 −0 debian/likewise-open.dirs
  26. +16 −0 debian/likewise-open.install
  27. +2 −0  debian/likewise-open.manpages
  28. +21 −0 debian/likewise-open.pam-auth-update
  29. +234 −0 debian/likewise-open.postinst
  30. +95 −0 debian/likewise-open.postrm
  31. +220 −0 debian/likewise-open.preinst
  32. +160 −0 debian/likewise-open.prerm
  33. +169 −0 debian/likewise-open5-lsass.preinst
  34. +102 −0 debian/lsass-mods-for-apparmor-rename-homedir.diff
  35. +677 −0 debian/patches/arm-dcerpc.diff
  36. +12 −0 debian/patches/arm-platform.diff
  37. +2,202 −0 debian/patches/config-fixes-for-verbose-make.patch
  38. +42 −0 debian/patches/correct_lsass_configure_platform_detection.patch
  39. +17 −0 debian/patches/domainjoin-ask-for-reboot.diff
  40. +25 −0 debian/patches/domainjoin-disable-pam-module.diff
  41. +17 −0 debian/patches/domainjoin-gui-rename.patch
  42. +43 −0 debian/patches/domainjoin-mods-for-apparmor-abstractions-nsswitch.diff
  43. +19 −0 debian/patches/fix-pam-nss-path.patch
  44. +57 −0 debian/patches/g_thread_deprecation.patch
  45. +121 −0 debian/patches/gssspnego-cyrus-sasl.patch
  46. +20 −0 debian/patches/krb5-1.9.patch
  47. +79 −0 debian/patches/lsass-mods-for-apparmor-rename-homedir.diff
  48. +17 −0 debian/patches/lwnetapi-test.patch
  49. +82 −0 debian/patches/missing-dependencies.patch
  50. 0  debian/patches/series
  51. +18 −0 debian/patches/update-root-MakeKitBuild.patch
  52. +67 −0 debian/patches/version-in-share.diff
  53. +185 −0 debian/rules
  54. 0  debian/stamp-patched
  55. +1 −0  domainjoin/domainjoin-cli/src/main.c
  56. +3 −3 domainjoin/domainjoin-gui/gtk/main.c
  57. +3 −18 domainjoin/libdomainjoin/src/djdistroinfo.c
  58. +0 −2  domainjoin/libdomainjoin/src/djmodule.c
  59. +4 −4 domainjoin/libdomainjoin/src/djnsswitch.c
  60. +21 −58 git-build/config/MakeKitBuild
  61. 0  git-build/config/init-base.sh
  62. +679 −0 git-build/config/init-base.sh.in
  63. 0  git-build/config/init-likewise.sh
  64. +251 −0 git-build/config/init-likewise.sh.in
  65. +36 −0 git-build/config/likewise.in
  66. +67 −0 git-build/config/lwsmd.in
  67. +4 −3 lsass/MakeKitBuild
  68. +1 −5 lsass/common/utils/lsastatus.c
  69. +8 −0 lsass/configure.in
  70. +6 −6 lsass/etc/lsassd.reg.in
  71. +2 −2 lsass/server/auth-providers/ad-open-provider/addef.h
  72. +0 −1  lsass/server/auth-providers/ad-open-provider/adprovider.h
  73. +2 −2 lsass/server/auth-providers/ad-open-provider/join/ldaputil.c
  74. +2 −2 lsass/server/auth-providers/local-provider/lpgroup.c
  75. +2 −2 lsass/server/auth-providers/local-provider/lpuser.c
  76. +3 −6 lsass/server/lsassd/backtrace.c
  77. +1 −1  lwnetapi/MakeKitBuild
  78. +3 −3 lwreg/MakeKitBuild
  79. +1 −1  lwreg/libedit/MakeKitBuild
  80. +1 −0  lwreg/shell/regshell.c
  81. +3 −0  makekit/mk/module/platform.sh
  82. +0 −590 openssl/Makefile.bak
View
4 curl/docs/examples/curlgtk.c
@@ -80,7 +80,7 @@ int main(int argc, char **argv)
curl_global_init(CURL_GLOBAL_ALL);
/* Init thread */
- g_thread_init(NULL);
+ g_type_init();
gtk_init(&argc, &argv);
Window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
@@ -96,7 +96,7 @@ int main(int argc, char **argv)
gtk_container_add(GTK_CONTAINER(Frame2), Bar);
gtk_widget_show_all(Window);
- if (!g_thread_create(&my_thread, argv[1], FALSE, NULL) != 0)
+ if (!g_thread_new(NULL, &my_thread, argv[1]) != 0)
g_warning("can't create the thread");
View
7 cyrus-sasl/plugins/gssspnego.c
@@ -69,9 +69,9 @@
#endif /* WIN32 */
#include <fcntl.h>
#include <stdio.h>
-#include <sasl.h>
-#include <saslutil.h>
-#include <saslplug.h>
+#include <sasl/sasl.h>
+#include <sasl/saslutil.h>
+#include <sasl/saslplug.h>
#include "plugin_common.h"
@@ -81,6 +81,7 @@
#include <errno.h>
+#include <string.h>
/***************************** Common Section *****************************/
static const char plugin_id[] = "$Id: gssapi.c,v 1.92 2004/07/21 14:39:06 rjs3 Exp $";
View
10 cyrus-sasl/plugins/gssspnego_init.c
@@ -10,16 +10,18 @@
#include <fcntl.h>
#include <assert.h>
-#include <sasl.h>
-#include <saslplug.h>
-#include <saslutil.h>
+#include <sasl/sasl.h>
+#include <sasl/saslplug.h>
+#include <sasl/saslutil.h>
#include "plugin_common.h"
#ifdef macintosh
-#include <sasl_plugin_decl.h>
+#include <sasl/sasl_plugin_decl.h>
#endif
+#include <string.h>
+
#ifdef WIN32
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
View
6 cyrus-sasl/plugins/plugin_common.c
@@ -58,9 +58,9 @@
#include <unistd.h>
#endif
#include <fcntl.h>
-#include <sasl.h>
-#include <saslutil.h>
-#include <saslplug.h>
+#include <sasl/sasl.h>
+#include <sasl/saslutil.h>
+#include <sasl/saslplug.h>
#include <errno.h>
#include <ctype.h>
View
8 cyrus-sasl/plugins/plugin_common.h
@@ -59,9 +59,11 @@
#endif /* WIN32 */
#endif /* macintosh */
-#include <sasl.h>
-#include <saslutil.h>
-#include <saslplug.h>
+#include <sasl/sasl.h>
+#include <sasl/saslutil.h>
+#include <sasl/saslplug.h>
+
+#include <string.h>
#ifdef WIN32
#define PLUG_API __declspec(dllexport)
View
3  dcerpc/MakeKitBuild
@@ -160,6 +160,9 @@ configure()
ia64_32)
target_cpu="$target_cpu ia64"
;;
+ arm*)
+ target_cpu="$target_cpu arm"
+ ;;
esac
done
View
3  dcerpc/include/dce/arm/Makefile.am
@@ -0,0 +1,3 @@
+## Process this file with automake to produce Makefile.in
+dceincludedir = $(includedir)/dce/arm
+dceinclude_HEADERS = marshall.h ndr_rep.h ndrtypes.h
View
470 dcerpc/include/dce/arm/Makefile.in
@@ -0,0 +1,470 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = include/dce/arm
+DIST_COMMON = $(dceinclude_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/as-ac-expand.m4 \
+ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(dceincludedir)"
+dceincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(dceinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTH_DUMMY_EXTRAS = @AUTH_DUMMY_EXTRAS@
+AUTH_DUMMY_FALSE = @AUTH_DUMMY_FALSE@
+AUTH_DUMMY_TRUE = @AUTH_DUMMY_TRUE@
+AUTH_GSS_NEGOTIATE_FALSE = @AUTH_GSS_NEGOTIATE_FALSE@
+AUTH_GSS_NEGOTIATE_TRUE = @AUTH_GSS_NEGOTIATE_TRUE@
+AUTH_NTLMSSP_FALSE = @AUTH_NTLMSSP_FALSE@
+AUTH_NTLMSSP_TRUE = @AUTH_NTLMSSP_TRUE@
+AUTH_SCHANNEL_FALSE = @AUTH_SCHANNEL_FALSE@
+AUTH_SCHANNEL_TRUE = @AUTH_SCHANNEL_TRUE@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BISON = @BISON@
+BROKEN_ONCE_INIT = @BROKEN_ONCE_INIT@
+BUILD_CODESET_FALSE = @BUILD_CODESET_FALSE@
+BUILD_CODESET_TRUE = @BUILD_CODESET_TRUE@
+BUILD_RPC_NS_LDAP_FALSE = @BUILD_RPC_NS_LDAP_FALSE@
+BUILD_RPC_NS_LDAP_TRUE = @BUILD_RPC_NS_LDAP_TRUE@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DCERPCD_SERVICE_TYPE = @DCERPCD_SERVICE_TYPE@
+DCETHREADINCLUDES = @DCETHREADINCLUDES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_DCOM_FALSE = @ENABLE_DCOM_FALSE@
+ENABLE_DCOM_TRUE = @ENABLE_DCOM_TRUE@
+EXEEXT = @EXEEXT@
+FEATURETEST_CFLAGS = @FEATURETEST_CFLAGS@
+FGREP = @FGREP@
+FLEX = @FLEX@
+GENCAT = @GENCAT@
+GREP = @GREP@
+GSSAPI_INCLUDES = @GSSAPI_INCLUDES@
+GSSAPI_LDFLAGS = @GSSAPI_LDFLAGS@
+GSSAPI_LIBS = @GSSAPI_LIBS@
+HAVE_MOONUNIT_FALSE = @HAVE_MOONUNIT_FALSE@
+HAVE_MOONUNIT_TRUE = @HAVE_MOONUNIT_TRUE@
+IDL_CC = @IDL_CC@
+IDL_CFLAGS = @IDL_CFLAGS@
+IDL_CPP = @IDL_CPP@
+IDL_FLAGS = @IDL_FLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIB_dl = @LIB_dl@
+LIB_moonunit = @LIB_moonunit@
+LIB_nsl = @LIB_nsl@
+LIB_pthread = @LIB_pthread@
+LIB_rt = @LIB_rt@
+LIB_socket = @LIB_socket@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLDFLAGS = @LTLDFLAGS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MOONUNIT_STUB = @MOONUNIT_STUB@
+NAF_HTTP_FALSE = @NAF_HTTP_FALSE@
+NAF_HTTP_TRUE = @NAF_HTTP_TRUE@
+NAF_IP_FALSE = @NAF_IP_FALSE@
+NAF_IP_TRUE = @NAF_IP_TRUE@
+NAF_NP_FALSE = @NAF_NP_FALSE@
+NAF_NP_TRUE = @NAF_NP_TRUE@
+NAF_UXD_FALSE = @NAF_UXD_FALSE@
+NAF_UXD_TRUE = @NAF_UXD_TRUE@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PROT_NCACN_FALSE = @PROT_NCACN_FALSE@
+PROT_NCACN_TRUE = @PROT_NCACN_TRUE@
+PROT_NCADG_FALSE = @PROT_NCADG_FALSE@
+PROT_NCADG_TRUE = @PROT_NCADG_TRUE@
+RANLIB = @RANLIB@
+SBINDIR = @SBINDIR@
+SCHANNEL_INCLUDES = @SCHANNEL_INCLUDES@
+SCHANNEL_LDFLAGS = @SCHANNEL_LDFLAGS@
+SCHANNEL_LIBS = @SCHANNEL_LIBS@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TARGET_OS_LINUX_FALSE = @TARGET_OS_LINUX_FALSE@
+TARGET_OS_LINUX_TRUE = @TARGET_OS_LINUX_TRUE@
+VERSION = @VERSION@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+include_dcom_idl = @include_dcom_idl@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+lt_ECHO = @lt_ECHO@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+rpc_dir = @rpc_dir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+dceincludedir = $(includedir)/dce/arm
+dceinclude_HEADERS = marshall.h ndr_rep.h ndrtypes.h
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/dce/arm/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign include/dce/arm/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+install-dceincludeHEADERS: $(dceinclude_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(dceincludedir)" || $(mkdir_p) "$(DESTDIR)$(dceincludedir)"
+ @list='$(dceinclude_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(dceincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(dceincludedir)/$$f'"; \
+ $(dceincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(dceincludedir)/$$f"; \
+ done
+
+uninstall-dceincludeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(dceinclude_HEADERS)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(dceincludedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(dceincludedir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(dceincludedir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-dceincludeHEADERS
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-dceincludeHEADERS uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libtool ctags distclean distclean-generic \
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dceincludeHEADERS install-exec \
+ install-exec-am install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-dceincludeHEADERS \
+ uninstall-info-am
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
View
39 dcerpc/include/dce/arm/marshall.h
@@ -0,0 +1,39 @@
+/*
+ *
+ * (c) Copyright 1991 OPEN SOFTWARE FOUNDATION, INC.
+ * (c) Copyright 1991 HEWLETT-PACKARD COMPANY
+ * (c) Copyright 1991 DIGITAL EQUIPMENT CORPORATION
+ * To anyone who acknowledges that this file is provided "AS IS"
+ * without any express or implied warranty:
+ * permission to use, copy, modify, and distribute this
+ * file for any purpose is hereby granted without fee, provided that
+ * the above copyright notices and this notice appears in all source
+ * code copies, and that none of the names of Open Software
+ * Foundation, Inc., Hewlett-Packard Company, or Digital Equipment
+ * Corporation be used in advertising or publicity pertaining to
+ * distribution of the software without specific, written prior
+ * permission. Neither Open Software Foundation, Inc., Hewlett-
+ * Packard Company, nor Digital Equipment Corporation makes any
+ * representations about the suitability of this software for any
+ * purpose.
+ *
+ */
+/*
+ */
+/*
+ * marshall.h
+ * platform dependent (OS + Architecture) file split out from stubbase.h
+ * for DCE 1.1 code cleanup
+ *
+ * This file is always included as part of stubbase.h
+ */
+
+#ifndef _MARSHALL_H
+#define _MARSHALL_H
+
+/* ARM Architecture can use the default marshalling macros */
+#define USE_DEFAULT_NDR_MARSHALLING_MACROS
+
+
+#endif /* _MARSHALL_H */
+
View
41 dcerpc/include/dce/arm/ndr_rep.h
@@ -0,0 +1,41 @@
+/*
+ *
+ * (c) Copyright 1991 OPEN SOFTWARE FOUNDATION, INC.
+ * (c) Copyright 1991 HEWLETT-PACKARD COMPANY
+ * (c) Copyright 1991 DIGITAL EQUIPMENT CORPORATION
+ * To anyone who acknowledges that this file is provided "AS IS"
+ * without any express or implied warranty:
+ * permission to use, copy, modify, and distribute this
+ * file for any purpose is hereby granted without fee, provided that
+ * the above copyright notices and this notice appears in all source
+ * code copies, and that none of the names of Open Software
+ * Foundation, Inc., Hewlett-Packard Company, or Digital Equipment
+ * Corporation be used in advertising or publicity pertaining to
+ * distribution of the software without specific, written prior
+ * permission. Neither Open Software Foundation, Inc., Hewlett-
+ * Packard Company, nor Digital Equipment Corporation makes any
+ * representations about the suitability of this software for any
+ * purpose.
+ *
+ */
+/*
+ */
+/*
+ * ndr_rep.h
+ * platform dependent (OS + Architecture) file split out from stubbase.h
+ * for DCE 1.1 code cleanup.
+ * This file contains the architecture specific definitions of the
+ * local scaler data representation used
+ *
+ * This file is always included as part of stubbase.h
+ */
+
+#ifndef _NDR_REP_H
+#define _NDR_REP_H
+
+#define NDR_LOCAL_INT_REP ndr_c_int_little_endian
+#define NDR_LOCAL_FLOAT_REP ndr_c_float_ieee
+#define NDR_LOCAL_CHAR_REP ndr_c_char_ascii
+
+#endif /* _NDR_REP_H */
+
View
97 dcerpc/include/dce/arm/ndrtypes.h
@@ -0,0 +1,97 @@
+/*
+ *
+ * (c) Copyright 1991 OPEN SOFTWARE FOUNDATION, INC.
+ * (c) Copyright 1991 HEWLETT-PACKARD COMPANY
+ * (c) Copyright 1991 DIGITAL EQUIPMENT CORPORATION
+ * To anyone who acknowledges that this file is provided "AS IS"
+ * without any express or implied warranty:
+ * permission to use, copy, modify, and distribute this
+ * file for any purpose is hereby granted without fee, provided that
+ * the above copyright notices and this notice appears in all source
+ * code copies, and that none of the names of Open Software
+ * Foundation, Inc., Hewlett-Packard Company, or Digital Equipment
+ * Corporation be used in advertising or publicity pertaining to
+ * distribution of the software without specific, written prior
+ * permission. Neither Open Software Foundation, Inc., Hewlett-
+ * Packard Company, nor Digital Equipment Corporation makes any
+ * representations about the suitability of this software for any
+ * purpose.
+ *
+ */
+/*
+ */
+/*
+** NAME:
+**
+** ndrtypes.h
+**
+** FACILITY:
+**
+** IDL Stub Support Include File
+**
+** ABSTRACT:
+**
+** This file is new for DCE 1.1. This is a platform specific file that
+** defines the base level ndr types. This file is indirectly included
+** in all files via the idlbase.h file.
+**
+*/
+
+/*
+ * This particular file defines the NDR types for a little-endian
+ * architecture. This file also depends on the presence of a ANSI
+ * C compiler, in that it uses the signed keyword to create the
+ * ndr_small_int type.
+ */
+
+#ifndef _NDR_TYPES_H
+#define _NDR_TYPES_H
+
+typedef unsigned char ndr_boolean;
+#define ndr_false false
+#define ndr_true true
+typedef unsigned char ndr_byte;
+
+typedef unsigned char ndr_char;
+
+typedef signed char ndr_small_int;
+
+typedef unsigned char ndr_usmall_int;
+
+typedef short int ndr_short_int;
+
+typedef unsigned short int ndr_ushort_int;
+
+typedef long int ndr_long_int;
+
+typedef unsigned int ndr_ulong_int;
+
+/*
+ * the reps for hyper must match the little-endian NDR rep since
+ * defined(vax) || defined(M_I86) => defined(ALIGNED_SCALAR_ARRAYS)
+ */
+
+struct ndr_hyper_int_rep_s_t {
+ ndr_ulong_int low;
+ ndr_long_int high;
+};
+
+struct ndr_uhyper_int_rep_s_t {
+ ndr_ulong_int low;
+ ndr_ulong_int high;
+};
+
+#ifdef __GNUC__
+typedef long long int ndr_hyper_int;
+typedef unsigned long long int ndr_uhyper_int;
+#else
+typedef struct ndr_hyper_int_rep_s_t ndr_hyper_int;
+typedef struct ndr_uhyper_int_rep_s_t ndr_uhyper_int;
+#endif /* __GNUC__ */
+
+typedef float ndr_short_float;
+typedef double ndr_long_float;
+
+
+#endif /* _NDR_TYPES_H */
+
View
57 debian/README.source
@@ -0,0 +1,57 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+ for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+ if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+ export QUILT_PATCHES=debian/patches
+ fi
+ done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+ quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+ quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches. Then, for every file that will be modified by this patch,
+run:
+
+ quilt add <file>
+
+before editing those files. You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly. After editing the files, run:
+
+ quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+ quilt import -P <patch> /path/to/patch
+ quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches. The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+ quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
View
3  debian/apparmor.homedirs
@@ -0,0 +1,3 @@
+# Update HOMEDIRS for likewise-open
+@{HOMEDIRS}+=/home/likewise-open/*/
+
View
444 debian/changelog
@@ -0,0 +1,444 @@
+likewise-open (6.1.0.406-0ubuntu5) precise; urgency=low
+
+ * Add debian/patches/g_thread_deprecation.patch: Use current glib 2.31.x
+ gthread API. (LP: #911125)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 03 Jan 2012 13:30:39 +0100
+
+likewise-open (6.1.0.406-0ubuntu4) oneiric; urgency=low
+
+ [ Scott Salley ]
+ * d/patches/config-fixes-for-verbose-make.patch: resolve issues with
+ verbose build/makekit causing issues with init scripts (LP: #845477).
+
+ [ James Page ]
+ * d/likewise-open.postinst: Disable npfs component as no longer part
+ of likewise-open (LP: #854971). Thanks to Scott Salley for this fix.
+
+ -- James Page <james.page@ubuntu.com> Wed, 28 Sep 2011 20:15:24 +0100
+
+likewise-open (6.1.0.406-0ubuntu3) oneiric; urgency=low
+
+ * Re-enable and update dropped patch
+ debian/patches/correct_lsass_configure_platform_detection.patch.
+ * Add platform detection for ARM, add dcerpc headers for ARM. LP: #823717.
+ * Turn on the verbose build.
+ * Fixed the worst packaging bugs, there are still plenty.
+
+ -- Matthias Klose <doko@ubuntu.com> Tue, 06 Sep 2011 22:10:33 +0200
+
+likewise-open (6.1.0.406-0ubuntu2) oneiric; urgency=low
+
+ * fixed parallel build failure
+ - added debian/patches/missing-dependencies.patch
+ - added debian/patches/update-root-MakeKitBuild.patch
+
+ -- Scott Salley <ssalley@likewise.com> Fri, 29 Jul 2011 17:43:42 -0800
+
+likewise-open (6.1.0.406-0ubuntu1) oneiric; urgency=low
+
+ * First 6.1
+
+ -- Scott Salley <ssalley@likewise.com> Tue, 12 Jul 2011 14:26:32 -0800
+
+likewise-open (6.0.0.53010-4ubuntu5) natty; urgency=low
+
+ * modified debian/patches/add-missing-lwconfig.diff to correct the paths in
+ file /var/lib/likewise-open/lwconfig.xml (LP: #752910)
+
+ -- Scott Salley <ssalley@likewise.com> Wed, 6 Apr 2011 14:29:02 -0800
+
+likewise-open (6.0.0.53010-4ubuntu4) natty; urgency=low
+
+ * debian/likewise-open.preinst now stops daemons during upgrade (LP: #751807)
+
+ -- Scott Salley <ssalley@likewise.com> Tue, 5 Apr 2011 13:52:58 -0800
+
+likewise-open (6.0.0.53010-4ubuntu3) natty; urgency=low
+
+ * remove stale pid files during installation and daemon exit. (LP: #737362)
+ - updated debian/likewise-open.preinst and debian/likewise-open.prerm
+ to delete stale pid files
+ - added debian/patches/remove-pid.diff to make daemons remove their
+ pid files on exit
+
+ -- Scott Salley <ssalley@likewise.com> Fri, 18 Mar 2011 15:48:54 -0800
+
+likewise-open (6.0.0.53010-4ubuntu2) natty; urgency=low
+
+ * added lwconfig from upstream that was mistakenly left out. (LP: #724038)
+ - added debian/patches/add-missing-lwconfig.diff based on upstream
+ - updated debian/rules, debian/likewise-open.install for lwconfig
+
+ -- Scott Salley <ssalley@likewise.com> Wed, 03 Mar 2011 10:50:26 -0800
+
+likewise-open (6.0.0.53010-4ubuntu1) natty; urgency=low
+
+ * debian/patches/correct_lsass_configure_platform_detection.patch:
+ Correct malformed patch which was silently not getting applied lately.
+ Add powerpc along with arm in the platform check.
+
+ -- Jani Monoses <jani@ubuntu.com> Wed, 02 Mar 2011 18:55:17 +0200
+
+likewise-open (6.0.0.53010-4) natty; urgency=low
+
+ * fixed resource paths in domainjoin-gui by updating
+ debian/patches/domainjoin-gui-path.diff and re-enabling it in
+ debian/patches/series. (LP: #727051)
+
+ -- Scott Salley <ssalley@likewise.com> Tue, 1 Mar 2011 10:30:11 -0800
+
+likewise-open (6.0.0.53010-3) natty; urgency=low
+
+ * LP: #716615
+ - added debian/patches/add-dependencies-2.diff to add in more libraries
+ needed for building and running.
+
+ -- Scott Salley <ssalley@likewise.com> Thu, 10 Feb 2011 11:15:29 -0800
+
+likewise-open (6.0.0.53010-2) natty; urgency=low
+
+ * LP: #684579
+ - added debian/patches/add-dependencies-1.diff to add in libraries missing
+ from the link that affect runtime behavior and prevent building when
+ autotools are re-run
+ - modified debian/rules to regenerate autoconf files so Makefile.am changes
+ are picked up and to make future patch work easier
+ * LP: #707195
+ - Corrected package version in descriptions
+ - Corrected dependency versions based on upstream documentation
+ - Corrected spelling of 'savely' to 'safely'
+
+ -- Scott Salley <ssalley@ssalley-ubuntu.corp.centeris.com> Mon, 24 Jan 2011 15:57:30 -0800
+
+likewise-open (6.0.0.53010-1) natty; urgency=high
+
+ * Likewise Open 6.0
+
+ -- Scott Salley <ssalley@likewise.com> Mon, 22 Nov 2010 12:06:00 -0700
+
+likewise-open (5.4.0.42111-3) lucid; urgency=high
+
+ * Fix security issues
+
+ -- Scott Salley <ssalley@likewise.com> Wed, 21 Jul 2010 13:54:00 -0700
+
+likewise-open (5.4.0.42111-2ubuntu1) lucid; urgency=low
+
+ * Properly fix ARM FTBFS (LP: #517300)
+ * debian/patches/correct_lsass_configure_platform_detection.patch
+ - Added support for lsass on ARM including location of the PC for
+ likewise-open's backtracing
+ - Modified configure to know what ARM is
+ * debian/patches/dcerpc_support_arm.diff
+ - Properly add ARM platform stubs and chitecture information.
+ - Modified configure to know what ARM is
+ * debian/patches/autoreconf_dcerpc.diff & autoreconf_lsass.conf
+ - Regenerate autotools for configuration changes made to support armel
+
+ -- Michael Casadevall <mcasadevall@ubuntu.com> Fri, 09 Apr 2010 12:30:18 +0000
+
+likewise-open (5.4.0.42111-2) lucid; urgency=low
+
+ * LP BUG #509934, #510683 - Don't fail to load the lsassd
+ ad-provider when we fail to add a domain to the trust list
+ * LP BUG #543730 - Add likewise-open5-gui transition package
+ * Fix the likewise-open-gui Gnome Administration menu item
+
+ -- Gerald Carter <gcarter@likewise.com> Wed, 07 Apr 2010 17:37:29 -0500
+
+likewise-open (5.4.0.42111-1) lucid; urgency=low
+
+ [ Michael Casadevall ]
+ * LP: #517300
+ - added debian/patches/disable_parallel_builds.diff to allow successful builds
+ on non-x86 architectures caused by improperly parsing /proc/cpuinfo to
+ determine the number of CPUs and set make -jX.
+ - added debian/patches/correct_lwio_configure_detection.diff to correct configure
+ tests for properly checking proc filesystems on non-x86 linux platforms
+ - added ${misc:Depends} to Depends lines to satisfy lintian
+ - Added debian/README.source to satisfy lintian
+ - Bumped standards version to 3.8.3
+
+ [ Gerald Carter ]
+ * New upstream release. (LP: #538616)
+ * likewise-open.install: Include uninstalled binaries and ncalrpc
+ servers required for domainjoin-cli {join,leave}
+ * patches/version-in-share.diff:
+ - Corrected location of VERSION file in lsassd
+
+ -- Gerald Carter <gcarter@likewise.com> Sat, 13 Mar 2010 07:42:44 -0600
+
+likewise-open (5.4.0.39949-3) lucid; urgency=low
+
+ * add /etc/apparmor.d/tunables/home.d/likewise-open to adjust HOMEDIRS.
+ - add debian/apparmor.homedirs
+ - debian/rules: install apparmor.homedirs
+ - debian/likewise-open.dirs: create etc/apparmor.d/tunables/home.d
+ - debian/likewise-open.install: add tunables/home.d/likewise-open to
+ likewise-open package
+ - LP: #274350
+
+ -- Jamie Strandboge <jamie@ubuntu.com> Fri, 08 Jan 2010 08:56:39 -0600
+
+likewise-open (5.4.0.39949-2) lucid; urgency=low
+
+ [Scott Salley]
+ * likewise-open.postinit: Fix upgrades when host is not joined to AD
+
+ -- Gerald Carter <jerry@plainjoe.org> Tue, 05 Jan 2010 16:21:34 -0600
+
+likewise-open (5.4.0.39949-1) lucid; urgency=low
+
+ * New upstream release to fix memory leaks
+
+ -- Gerald Carter <jerry@plainjoe.org> Tue, 05 Jan 2010 13:32:04 -0600
+
+likewise-open (5.4.0.39929-2) lucid; urgency=low
+
+ [ Martin Pitt ]
+ * debian/likewise-open.preinst: Remove obsolete conffiles from 4.1 and 5.0
+ on upgrade.
+
+ -- Gerald Carter <jerry@plainjoe.org> Tue, 05 Jan 2010 13:28:37 -0600
+
+likewise-open (5.4.0.39929-1) lucid; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <jerry@plainjoe.org> Mon, 04 Jan 2010 15:40:45 -0600
+
+likewise-open (5.4.0.39905-2) lucid; urgency=low
+
+ [ Gerald Carter ]
+ * debian/control: Re-add krb5-user to the Depends for likewise-open
+
+ [ Martin Pitt ]
+ * debian/control: Fix section and description of transitional dummy
+ packages.
+ * debian/control: Fix version of Conflicts/Replaces.
+ * debian/control: Fix likewise-open-{gui,server} conflicting/replacing
+ itself.
+ * Remove empty debian/likewise-open-server.postinst.
+
+ -- Gerald Carter <jerry@plainjoe.org> Mon, 04 Jan 2010 11:54:25 -0600
+
+likewise-open (5.4.0.39905-1) lucid; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <jerry@plainjoe.org> Wed, 30 Dec 2009 09:33:19 -0600
+
+likewise-open (5.4.0.39743-2) lucid; urgency=low
+
+ * Make upgrades from likewise-open5 work
+
+ * Make it possibile to 'purge'
+
+ -- Scott Salley <ssalley@likewise.com> Wed, 16 Dec 2009 16:50:00 -0800
+
+likewise-open (5.4.0.39743-1) lucid; urgency=low
+
+ * Removed krb5 from build; use system version
+
+ * Removed openldap from build; use system version
+
+ * Added server package
+
+ * Building for lucid
+
+ -- Scott Salley <ssalley@likewise.com> Tue, 15 Dec 2009 10:34:00 -0800
+
+likewise-open (5.4.0.39115-4) karmic; urgency=low
+
+ * To be determined
+
+ -- Scott Salley <ssalley@likewise.com> Tue, 24 Nov 2009 15:10:00 -0800
+
+likewise-open (5.4.0.39115-3) karmic; urgency=low
+
+ * Consolidate packagtes to likewise-open and likewise-open-gui
+
+ -- Gerald Carter <jerry@plainjoe.org> Wed, 19 Nov 2009 22:18:39 -0600
+
+likewise-open (5.4.0.39115-1) karmic; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <jerry@plainjoe.org> Wed, 18 Nov 2009 05:00:00 -0600
+
+likewise-open (5.4.0.38972-1) karmic; urgency=low
+
+ * New upstream release
+
+ -- Scott Salley <ssalley@likewise.com> Thu, 12 Nov 2009 03:45:14 -0800
+
+likewise-open (5.1.5162-1) jaunty; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <gcarter@likewisesoftware.com> Fri, 09 Jan 2009 10:10:32 -0600
+
+likewise-open (5.0.3944-1) intrepid; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <gcarter@likewisesoftware.com> Fri, 12 Dec 2008 13:25:32 -0600
+
+likewise-open (5.0.3938-1) intrepid; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <gcarter@likewisesoftware.com> Wed, 10 Dec 2008 10:32:04 -0800
+
+likewise-open (5.0.3931-1) intrepid; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <gcarter@likewisesoftware.com> Wed, 03 Dec 2008 08:49:40 -0600
+
+likewise-open (5.0.3867-1) intrepid; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <gcarter@likewisesoftware.com> Wed, 22 Oct 2008 11:13:21 -0500
+
+likewise-open (5.0.3832-1) intrepid; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <gcarter@likewisesoftware.com> Wed, 22 Oct 2008 11:13:21 -0500
+
+likewise-open (4.1.2982-1) intrepid; urgency=low
+
+ * New upstream release
+
+ -- Gerald Carter <gcarter@likewisesoftware.com> Mon, 08 Sep 2008 15:13:00 -0500
+
+likewise-open (4.1.2956-1) hardy; urgency=low
+
+ * Apply upstream SIGCHLD race condition crash fix from Samba tree
+ * Apply upstream patch to extend the length check on UA keys in
+ winbindd_cache.tdb
+ * Squash errno to ENOENT when return NSS_UNAVAIL from nss_lwidentity
+ * Disable the automatic configation of likewise-open for system boot
+ in order to allow packaging and upstart to take over
+ * Add loop exit patch when expanding domain group membership.
+
+ -- Gerald Carter <gcarter@likewisesoftware.com> Tue, 12 Aug 2008 12:34:04 -0500
+
+likewise-open (4.1.2956-0) hardy; urgency=low
+
+ * New upstream 4.1 release
+
+ -- Gerald Carter <gcarter@likewisesoftware.com> Mon, 04 Aug 2008 12:34:04 -0500
+
+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 <james.westby@canonical.com> 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 <nvalcarcel@ubuntu.com>
+ - 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 <kirkland@canonical.com>
+ * debian/likewise-open-gui.desktop: changed category to System;Settings
+ (LP: #211833)
+ * debian/patches/fix_window_close: from Soren Hanson <soren@canonical.com>
+ -fixes gtk close bug (LP: #211844)
+
+ -- Rick Clark <rick.clark@ubuntu.com> 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 <rick.clark@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <rick.clark@ubuntu.com> 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 <rick.clark@ubuntu.com> Wed, 13 Feb 2008 22:15:30 -0500
+
+likewise-open (4.0.4-0ubuntu7) hardy; urgency=low
+
+ * removed unnecessary headers binary package
+
+ -- Rick Clark <rick.clark@ubuntu.com> 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 <rick.clark@ubuntu.com> 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 <rick.clark@ubuntu.com> 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 <rick.clark@ubuntu.com> 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 <rick.clark@ubuntu.com> Thu, 07 Feb 2008 12:38:03 -0500
+
+likewise-open (4.0.4-0ubuntu2) hardy; urgency=low
+
+ * Quilt now used for patches
+
+ -- Rick Clark <rick.clark@ubuntu.com> 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 <rick.clark@ubuntu.com> Tue, 05 Feb 2008 13:53:54 -0500
+
View
1  debian/compat
@@ -0,0 +1 @@
+5
View
101 debian/control
@@ -0,0 +1,101 @@
+Source: likewise-open
+Section: net
+Priority: optional
+Maintainer: Chuck Short <zulcss@ubuntu.com>
+XSBC-Original-Maintainer: Gerald Carter <gcarter@likewise.com>
+Build-Depends: autoconf (>=2.61), automake (>= 1.9.6), bison, debhelper (>= 7),
+ libglade2-dev, libncurses5-dev, libpam0g-dev, libpam-runtime,
+ libssl-dev, libtool (>= 2.2.4), libsqlite3-dev, uuid-dev, quilt, rsync,
+ libxml2, libkrb5-dev, libldap2-dev, libtdb-dev, libcurl4-openssl-dev,
+ libpopt-dev, libsasl2-dev
+Standards-Version: 3.8.3
+Vcs-Browser: http://lobugs.likewiseopen.org/
+Homepage: http://www.likewiseopen.org/
+
+Package: likewise-open5
+Section: oldlibs
+Depends: ${misc:Depends}, likewise-open
+Architecture: all
+Description: transitional dummy package
+ This is a dummy package to facilitate clean upgrades. You can safely remove
+ this package after the upgrade.
+
+Package: likewise-open5-gui
+Section: oldlibs
+Depends: ${misc:Depends}, likewise-open, likewise-open-gui
+Architecture: all
+Description: transitional dummy package
+ This is a dummy package to facilitate clean upgrades. You can safely remove
+ this package after the upgrade.
+
+Package: likewise-open5-libs
+Section: oldlibs
+Depends: ${misc:Depends}, likewise-open
+Architecture: all
+Description: transitional dummy package
+ This is a dummy package to facilitate clean upgrades. You can safely remove
+ this package after the upgrade.
+
+Package: likewise-open5-lsass
+Section: oldlibs
+Depends: ${misc:Depends}, likewise-open, libpam-runtime, procps, psmisc
+Architecture: all
+Description: transitional dummy package
+ This is a dummy package to facilitate clean upgrades. You can safely remove
+ this package after the upgrade.
+
+Package: likewise-open5-eventlog
+Section: oldlibs
+Depends: ${misc:Depends}, likewise-open
+Architecture: all
+Description: transitional dummy package
+ This is a dummy package to facilitate clean upgrades. You can safely remove
+ this package after the upgrade.
+
+Package: likewise-open5-netlogon
+Section: oldlibs
+Depends: ${misc:Depends}, likewise-open
+Architecture: all
+Description: transitional dummy package
+ This is a dummy package to facilitate clean upgrades. You can safely remove
+ this package after the upgrade.
+
+Package: likewise-open5-rpc
+Section: oldlibs
+Depends: ${misc:Depends}, likewise-open
+Architecture: all
+Description: transitional dummy package
+ This is a dummy package to facilitate clean upgrades. You can safely remove
+ this package after the upgrade.
+
+Package: likewise-open
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libpam-runtime,
+ procps, psmisc
+Suggests: likewise-open-gui
+Provides: likewise-open5
+Conflicts: likewise-open,
+ likewise-open5 (<< 5.4.0.39115-3),
+ likewise-open5-libs (<< 5.4.0.39115-3),
+ likewise-open5-lsass (<< 5.4.0.39115-3),
+ likewise-open5-eventlog (<< 5.4.0.39115-3),
+ likewise-open5-netlogon (<< 5.4.0.39115-3),
+ likewise-open5-rpc (<< 5.4.0.39115-3),
+Replaces: likewise-open5 (<< 5.4.0.39115-3),
+ likewise-open5-libs (<< 5.4.0.39115-3),
+ likewise-open5-lsass (<< 5.4.0.39115-3),
+ likewise-open5-eventlog (<< 5.4.0.39115-3),
+ likewise-open5-netlogon (<< 5.4.0.39115-3),
+ likewise-open5-rpc (<< 5.4.0.39115-3),
+Description: Authentication services for Active Directory domains
+ Likewise Open integrates Unix desktops and servers into an Active Directory
+ environment by joining hosts to the domain and letting Unix applications and
+ services authenticate Windows users and groups via the PAM and Name Service
+ Switch libraries.
+
+Package: likewise-open-gui
+Architecture: any
+Depends: likewise-open, ${shlibs:Depends}, ${misc:Depends}
+Description: Desktop utility for joining Active Directory domains
+ Likewise Open graphical desktop utility for joining hosts to Active Directory
+ domains.
View
35 debian/copyright
@@ -0,0 +1,35 @@
+This package was Debianized by Gerald Carter <gcarter@likewise.com>
+
+The source was obtained from:
+
+ git://git.likewiseopen.org/likewise-open.git
+
+All software developed by Likewise Software is copyright by Likewise
+Software. The copyrights of all upstream components integrated into
+the Likewise Open maintained by their respective developers and/or
+foundations.
+
+This package was prepared by Scott Salley <ssalley@likewise.com>,
+based on earlier work by Gerald Carter <gcarter@likewise.com>,
+and Rick Clark <rick.clark@ubuntu.com>
+
+Licensing:
+
+ This package is composed of components release under varying
+ licenses.
+
+ Likewise Open is provided under the terms of the GNU General
+ Public License (GPL version 2) and the GNU Library General
+ Public License (LGPL version 2.1). The additional components
+ listed below are covered under separate license agreements:
+
+ Samba 3.0 Client libraries and tools - GPLv2
+ Novell DCE-RPC - BSD
+ libiconv - LGPLv2
+
+ For more details and for the full text for each of these
+ licenses, read the LICENSES and COPYING files included with
+ the source packaging of this software.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
View
246 debian/domainjoin-cli.8
@@ -0,0 +1,246 @@
+.\" Title: domainjoin-cli
+.\" Author:
+.\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
+.\" 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 <error | warning | info | verbose >
+.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 has not been edited in some time.
View
35 debian/domainjoin-gui.8
@@ -0,0 +1,35 @@
+.\" Title: domainjoin-gui
+.\" Author:
+.\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
+.\" 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 has not been edited in some time.
View
4 debian/install-excludes
@@ -0,0 +1,4 @@
+*.la
+.libs
+*.a
+usr/include/
View
166 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. "};
View
9 debian/likewise-open-gui.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Active Directory membership
+Comment=Join or leave an Active Directory domain using Likewise-Open
+Exec=/usr/bin/gksu /usr/bin/domainjoin-gui
+Terminal=false
+Type=Application
+Icon=/usr/share/likewise-open/domainjoin-logo.png
+Categories=System;Settings;
View
9 debian/likewise-open-gui.install
@@ -0,0 +1,9 @@
+usr/bin/domainjoin-gui
+
+usr/share/icons/likewise-gui.xpm
+usr/share/applications/likewise-open-gui.desktop
+
+usr/share/likewise-open/domainjoin-logo.png
+usr/share/likewise-open/likewise-logo.png
+usr/share/likewise-open/domainjoin-gtk.glade
+
View
30 debian/likewise-open.7
@@ -0,0 +1,30 @@
+.\" Title: Likewise Open
+.\" Author:
+.\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
+.\" 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.
View
5 debian/likewise-open.dirs
@@ -0,0 +1,5 @@
+var/lib/likewise-open/db
+var/lib/likewise-open/run
+var/lib/likewise-open/rpc
+var/rpc
+etc/apparmor.d/tunables/home.d
View
16 debian/likewise-open.install
@@ -0,0 +1,16 @@
+etc/likewise-open/*
+usr/bin/*
+usr/sbin/*
+usr/lib/likewise-open/*
+usr/libexec/likewise-open/*
+usr/share/likewise-open/*
+var/lib/likewise-open/*
+
+etc/apparmor.d/tunables/home.d/likewise-open
+etc/init.d/lwsmd
+etc/init.d/likewise
+
+lib/libnss_lsass.so*
+lib/security/pam_lsass.so
+usr/share/pam-configs/likewise-open
+
View
2  debian/likewise-open.manpages
@@ -0,0 +1,2 @@
+debian/domainjoin-cli.8
+debian/likewise-open.7
View
21 debian/likewise-open.pam-auth-update
@@ -0,0 +1,21 @@
+Name: Likewise Open
+Default: yes
+Priority: 250
+Conflicts: winbind
+Auth-Type: Primary
+Auth:
+ [success=end default=ignore] pam_lsass.so try_first_pass
+Auth-Initial:
+ [success=end default=ignore] pam_lsass.so
+Account-Type: Primary
+Account:
+ [success=ok new_authtok_reqd=ok default=ignore] pam_lsass.so unknown_ok
+ [success=end new_authtok_reqd=done default=ignore] pam_lsass.so
+Session-Type: Additional
+Session:
+ sufficient pam_lsass.so
+Password-Type: Primary
+Password:
+ [success=end default=ignore] pam_lsass.so use_authtok try_first_pass
+Password-Initial:
+ [success=end default=ignore] pam_lsass.so
View
234 debian/likewise-open.postinst
@@ -0,0 +1,234 @@
+#!/bin/sh
+
+UPGRADEDIR4="/etc/likewise-open/4_1_upgrade"
+UPGRADEDIR5="/etc/likewise-open/5_0_upgrade"
+
+CONVERT=/usr/bin/conf2reg
+DOMAINJOIN=/usr/bin/domainjoin-cli
+REGSHELL=/usr/bin/lwregshell
+LOG=/var/log/likewise-open-install.log
+TLOG=/tmp/LikewiseOpenTemp.txt
+
+# Display to screen and log file with a blank line between entries.
+log()
+{
+ echo $@
+ echo
+ echo $@ >> $LOG
+ echo >> $LOG
+}
+
+# Display to screen and log file with no blank line.
+_log()
+{
+ echo $@
+ echo $@ >> $LOG
+}
+
+# Display to file.
+logfile()
+{
+ echo $@ >> $LOG
+ echo >> $LOG
+}
+
+# Execute command.
+# If successful, note in log file.
+# If not successful, note on screen and log file.
+run()
+{
+ "$@" > $TLOG 2>&1
+ err=$?
+ if [ $err -eq 0 ]; then
+ echo "Success: $@" >> $LOG
+ cat $TLOG >> $LOG
+ echo >> $LOG
+ else
+ _log "Error: $@ returned $err"
+ _log `cat $TLOG`
+ _log
+ fi
+ rm -f $TLOG > /dev/null 2>&1
+ return $err
+}
+
+# Execute command.
+# Log only to file.
+run_quiet()
+{
+ "$@" > $TLOG 2>&1
+ err=$?
+ if [ $err -eq 0 ]; then
+ echo "Success: $@" >> $LOG
+ else
+ echo "Error: $@ returned $err (ignoring and continuing)" >> $LOG
+ fi
+ cat $TLOG >> $LOG
+ echo >> $LOG
+ rm -f $TLOG > /dev/null 2>&1
+ return $err
+}
+
+# Execute command.
+# If successful, note in log file.
+# If not successful, note on screen and log file and then exit.
+run_or_fail()
+{
+ "$@" > $TLOG 2>&1
+ err=$?
+ if [ $err -eq 0 ]; then
+ echo "Success: $@" >> $LOG
+ cat $TLOG >> $LOG
+ echo >> $LOG
+ else
+ _log "Error: $@ returned $err (aborting this script)"
+ _log `cat $TLOG`
+ _log
+ rm -f $TLOG > /dev/null 2>&1
+ exit 1
+ fi
+ rm -f $TLOG > /dev/null 2>&1
+ return $err
+}
+
+import_machine_account_4_1()
+{
+ run "$CONVERT" --lwiauth "${UPGRADEDIR4}/lwiauthd.conf" "${UPGRADEDIR4}/secrets.tdb" /etc/likewise-open/lwiauthd.reg
+
+ run rm -rf "${UPGRADEDIR4}"
+
+ if [ -f /etc/likewise-open/lwiauthd.reg ]; then
+ run_or_fail "$REGSHELL" upgrade /etc/likewise-open/lwiauthd.reg
+ fi
+}
+
+convert_import()
+{
+ COMMAND=$1
+ SOURCE=$2
+ # DEST is not necessary for some commands.
+ DEST=$3
+
+ if [ -f $SOURCE ]; then
+ run "$CONVERT" "$COMMAND" "$SOURCE" "$DEST"
+ if [ -n "$DEST" -a -f "$DEST" ]; then
+ run_or_fail "$REGSHELL" upgrade "$DEST"
+ fi
+ fi
+}
+
+import_machine_account_5_0()
+{
+ convert_import --lsass "${UPGRADEDIR5}/lsassd.conf" \
+ "/usr/share/likewise-open/config/lsassd.conf.reg"
+
+ convert_import --eventlog "${UPGRADEDIR5}/eventlogd.conf" \
+ "/usr/share/likewise-open/config/eventlogd.conf.reg"
+
+ convert_import --netlogon "${UPGRADEDIR5}/netlogon.conf" \
+ "/usr/share/likewise-open/config/netlogon.conf.reg"
+
+ # Bring machine account into registry
+ convert_import --pstore-sqlite "${UPGRADEDIR5}/pstore.db"
+
+ run "rm -rf ${UPGRADEDIR5}"
+}
+
+import_registry_configurations()
+{
+ log 'Importing registry...'
+ run_or_fail "$REGSHELL" import /usr/share/likewise-open/config/dcerpcd.reg
+ run_or_fail "$REGSHELL" import /usr/share/likewise-open/config/eventlogd.reg
+ run_or_fail "$REGSHELL" import /usr/share/likewise-open/config/lsassd.reg
+ run_or_fail "$REGSHELL" import /usr/share/likewise-open/config/lwiod.reg
+ run_or_fail "$REGSHELL" import /usr/share/likewise-open/config/lwreg.reg
+ run_or_fail "$REGSHELL" import /usr/share/likewise-open/config/netlogond.reg
+}
+
+fix_old_registry()
+{
+ DomainSeparator=`$REGSHELL list_values '[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]' | grep DomainSeparator | sed -e 's/ *[^ ]\+[ ]\+[^ ]\+[ ]\+"\([^ ]*\)"$/\1/'`
+ SpaceReplacement=`$REGSHELL list_values '[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]' | grep SpaceReplacement | sed -e 's/ *[^ ]\+[ ]\+[^ ]\+[ ]\+"\([^ ]*\)"$/\1/'`
+ if [ -n "${DomainSeparator}" ]; then
+ if [ "$DomainSeparator" = "\\\\" ]; then
+ DomainSeparator="\\"
+ fi
+ $REGSHELL set_value '[HKEY_THIS_MACHINE\Services\lsass\Parameters]' 'DomainSeparator' "$DomainSeparator"
+ fi
+ if [ -n "${SpaceReplacement}" ]; then
+ $REGSHELL set_value '[HKEY_THIS_MACHINE\Services\lsass\Parameters]' 'SpaceReplacement' "$SpaceReplacement"
+ fi
+}
+
+remove_npfs_dependencies()
+{
+ run_quiet '/usr/bin/lwregshell' set_value '[HKEY_THIS_MACHINE\Services\lwio\Parameters\Drivers]' 'Load' 'rdr'
+ run_quiet '/usr/bin/lwregshell' set_value '[HKEY_THIS_MACHINE\Services\lsass]' 'Dependencies' 'netlogon lwio lwreg rdr'
+}
+
+switch_to_open_provider()
+{
+ _value='[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]'
+ _path='/usr/lib/likewise-open/liblsass_auth_provider_ad_open.so'
+
+ run_or_fail "$REGSHELL" set_value "$_value" Path "$_path"
+}
+
+case "$1" in
+ abort-upgrade)
+ logfile "### likewise-open.postinst abort-upgrade"
+
+ if dpkg --compare-versions "$2" le "4.1.2982-0ubuntu3"; then
+ if [ -f /etc/init.d/likewise-open ]; then
+ run /usr/sbin/update-rc.d start likewise-open
+ fi
+
+ run rm -rf "${UPGRADEDIR4}"
+ fi
+ exit 0
+ ;;
+
+ configure)
+ logfile "### likewise-open.postinst configure"
+
+ run_or_fail /usr/sbin/lwsmd --start-as-daemon
+
+ if [ -n "$2" ]; then
+ if dpkg --compare-versions "$2" le "4.1.2982-0ubuntu3"; then
+ if [ -f "${UPGRADEDIR4}/lwiauthd.conf" -a \
+ -f "${UPGRADEDIR4}/secrets.tdb" ]; then
+ import_machine_account_4_1
+ fi
+ fi
+ else
+ if [ -d "${UPGRADEDIR5}" ]; then
+ import_machine_account_5_0
+ fi
+ fi
+
+ import_registry_configurations
+
+ fix_old_registry
+
+ remove_npfs_dependencies
+
+ switch_to_open_provider
+
+ run_or_fail /usr/bin/lwsm shutdown
+
+ run /usr/sbin/update-rc.d -f lwsmd defaults 19 9
+ run /usr/sbin/update-rc.d -f likewise defaults 20 8
+
+ run /usr/sbin/service lwsmd start
+ run /usr/sbin/service likewise start
+
+ run "$DOMAINJOIN" configure --enable nsswitch
+ run "$DOMAINJOIN" configure --enable ssh
+ run "$DOMAINJOIN" configure --long `hostname --long` --short `hostname --short` --enable krb5
+
+ run_or_fail pam-auth-update --package
+ exit 0
+ ;;
+esac
+
+#DEBHELPER#
View
95 debian/likewise-open.postrm
@@ -0,0 +1,95 @@
+#!/bin/sh
+
+LOG=/var/log/likewise-open-install.log
+TLOG=/tmp/likewise-open-install.txt
+
+# Display to screen and log file with a blank line.
+log()
+{
+ echo $@
+ echo
+ echo $@ >> $LOG
+ echo >> $LOG
+}
+
+_log()
+{
+ echo $@
+ echo $@ >> $LOG
+}
+
+# Display to file.
+logfile()
+{
+ echo $@ >> $LOG
+ echo >> $LOG
+}
+
+# Execute command.
+# If successful, note in log file.
+# If not successful, note on screen and log file.
+exec_log()
+{
+ $@ > $TLOG 2>&1
+ err=$?
+ if [ $err -eq 0 ]; then
+ echo "Success: $@" >> $LOG
+ cat $TLOG >> $LOG
+ echo >> $LOG
+ else
+ _log "Warning: $@ returned $err"
+ _log `cat $TLOG`
+ _log
+ fi
+ rm -f $TLOG > /dev/null 2>&1
+ return $err
+}
+
+# Execute command.
+# Log only to file.
+exec_logfile()
+{
+ $@ > $TLOG 2>&1
+ err=$?
+ if [ $err -eq 0 ]; then
+ echo "Success: $@" >> $LOG
+ else
+ echo "Warning: $@ returned $err" >> $LOG
+ fi
+ cat $TLOG >> $LOG
+ echo >> $LOG
+ rm -f $TLOG > /dev/null 2>&1
+ return $err
+}
+
+# Execute command.
+# If successful, note in log file.
+# If not successful, note on screen and log file and then exit.
+exec_log_exit()
+{
+ $@ > $TLOG 2>&1
+ err=$?
+ if [ $err -eq 0 ]; then
+ echo "Success: $@" >> $LOG
+ cat $TLOG >> $LOG
+ echo >> $LOG
+ else
+ _log "Error: $@ returned $err"
+ _log `cat $TLOG`
+ _log
+ rm -f $TLOG > /dev/null 2>&1
+ exit 1
+ fi
+ rm -f $TLOG > /dev/null 2>&1
+ return $err
+}
+
+case "$1" in
+ purge)
+ logfile "### likewise-open.postrm purge"
+ exec_log_exit "rm -rf /var/lib/likewise-open"
+ exit 0
+ ;;
+esac
+
+#DEBHELPER#
View
220 debian/likewise-open.preinst
@@ -0,0 +1,220 @@
+#!/bin/sh
+
+UPGRADEDIR4="/etc/likewise-open/4_1_upgrade"
+
+# Not all daemons in the list were 'officially' released on Ubuntu. But it
+# should not hurt to have them listed.
+DAEMONS_TO_HALT="likewise-winbindd lwsmd lwregd netlogond lwiod dcerpcd eventlogd lsassd"
+
+LOG=/var/log/likewise-open-install.log
+TLOG=/tmp/likewise-open-install.txt
+
+# Display to screen and log file with a blank line.
+log()
+{
+ echo $@
+ echo
+ echo $@ >> $LOG
+ echo >> $LOG
+}
+
+_log()
+{
+ echo $@
+ echo $@ >> $LOG
+}
+
+# Display to file.
+logfile()
+{
+ echo $@ >> $LOG
+ echo >> $LOG
+}
+
+# Execute command.
+# If successful, note in log file.
+# If not successful, note on screen and log file.
+exec_log()
+{
+ $@ > $TLOG 2>&1
+ err=$?
+ if [ $err -eq 0 ]; then
+ echo "Success: $@" >> $LOG
+ cat $TLOG >> $LOG
+ echo >> $LOG
+ else
+ _log "Warning: $@ returned $err"
+ _log `cat $TLOG`
+ _log
+ fi
+ rm -f $TLOG > /dev/null 2>&1
+ return $err
+}
+
+# Execute command.
+# Log only to file.
+exec_logfile()
+{
+ $@ > $TLOG 2>&1
+ err=$?
+ if [ $err -eq 0 ]; then
+ echo "Success: $@" >> $LOG
+ else
+ echo "Warning: $@ returned $err" >> $LOG
+ fi
+ cat $TLOG >> $LOG
+ echo >> $LOG
+ rm -f $TLOG > /dev/null 2>&1
+ return $err
+}
+
+# Execute command.
+# If successful, note in log file.
+# If not successful, note on screen and log file and then exit.
+exec_log_exit()
+{
+ $@ > $TLOG 2>&1
+ err=$?
+ if [ $err -eq 0 ]; then
+ echo "Success: $@" >> $LOG
+ cat $TLOG >> $LOG
+ echo >> $LOG
+ else
+ _log "Error: $@ returned $err"
+ _log `cat $TLOG`
+ _log
+ rm -f $TLOG > /dev/null 2>&1
+ exit 1
+ fi
+ rm -f $TLOG > /dev/null 2>&1
+ return $err
+}
+
+rm_conffile() {
+ CONFFILE="$1"
+
+ if [ -e "$CONFFILE" ]; then
+ md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
+ old_md5sum="`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $CONFFILE'{s/.* //;p}}\" /var/lib/dpkg/status`"
+ if [ "$md5sum"