Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: gadmin-samba

gadmin-samba (0.3.2-0ubuntu2) bionic; urgency=high * No change rebuild to pick up -fPIE compiler default -- Balint Reczey <rbalint@ubuntu.com> Tue, 03 Apr 2018 12:24:10 +0000 gadmin-samba (0.3.2-0ubuntu1) precise; urgency=low * New upstream release. * Refreshing patches: - debian/patches/01-examples.patch - debian/patches/02-icondir.patch - debian/patches/03-desktop.patch * debian/patches/04-spelling-in-binary.patch: Fix typos in binary. * debian/watch: added for uscan. -- Mahyuddin Susanto <udienz@ubuntu.com> Wed, 04 Jan 2012 19:47:20 +0700

Modifications :
  1. Download patch src/chars_are_digits.c

    --- 0.2.9-3/src/chars_are_digits.c 2009-11-18 10:19:50.000000000 +0000 +++ 0.3.2-0ubuntu2/src/chars_are_digits.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  2. Download patch src/add_macct.h

    --- 0.2.9-3/src/add_macct.h 2009-11-18 10:17:45.000000000 +0000 +++ 0.3.2-0ubuntu2/src/add_macct.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  3. Download patch src/deactivate_button_clicked.h

    --- 0.2.9-3/src/deactivate_button_clicked.h 2009-11-18 10:27:19.000000000 +0000 +++ 0.3.2-0ubuntu2/src/deactivate_button_clicked.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  4. Download patch src/create_user_tab.c

    --- 0.2.9-3/src/create_user_tab.c 2010-03-13 13:48:31.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_user_tab.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -105,9 +105,9 @@ void create_user_tab(struct w *widgets) frame = gtk_frame_new(_("User settings:")); /* A table with NUM settings and 2 columns FIXME, Count */ - widgets->usr_set_table = gtk_table_new(NUM_USERTAB_ENTRIES+NUM_USERTAB_SPINBUTTONS+NUM_USERTAB_CHECKBUTTONS, 2, FALSE); + widgets->user_set_table = gtk_table_new(NUM_USERTAB_ENTRIES+NUM_USERTAB_SPINBUTTONS+NUM_USERTAB_CHECKBUTTONS, 2, FALSE); gtk_box_pack_start(GTK_BOX(widgets->user_settings_vbox), frame, TRUE, TRUE, 1); - gtk_container_add(GTK_CONTAINER(frame), widgets->usr_set_table); + gtk_container_add(GTK_CONTAINER(frame), widgets->user_set_table); gtk_widget_show_all(widgets->main_window);
  5. Download patch po/Makefile

    --- 0.2.9-3/po/Makefile 2010-03-13 16:01:47.000000000 +0000 +++ 0.3.2-0ubuntu2/po/Makefile 2011-02-18 22:02:13.000000000 +0000 @@ -14,7 +14,7 @@ GETTEXT_PACKAGE = gadmin-samba PACKAGE = gadmin-samba -VERSION = 0.2.9 +VERSION = 0.3.2 SHELL = /bin/sh @@ -52,14 +52,14 @@ INCLUDES = -I.. -I$(top_srcdir)/intl COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) SOURCES = -POFILES = fr.po -GMOFILES = fr.gmo +POFILES = fr.po de.po +GMOFILES = fr.gmo de.gmo DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \ $(POFILES) $(GMOFILES) $(SOURCES) POTFILES = \ -CATALOGS = fr.gmo +CATALOGS = fr.gmo de.gmo CATOBJEXT = .gmo INSTOBJEXT = .mo
  6. Download patch debian/patches/04-spelling-in-binary.patch

    --- 0.2.9-3/debian/patches/04-spelling-in-binary.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.3.2-0ubuntu2/debian/patches/04-spelling-in-binary.patch 2011-09-08 21:06:49.000000000 +0000 @@ -0,0 +1,71 @@ +Author: Mahyuddin Susanto +Description: Fix typos in binary + +Index: gadmin-samba-0.3.2/src/create_server_settings.c +=================================================================== +--- gadmin-samba-0.3.2.orig/src/create_server_settings.c 2011-09-09 03:58:10.419250194 +0700 ++++ gadmin-samba-0.3.2/src/create_server_settings.c 2011-09-09 04:04:31.329808860 +0700 +@@ -213,7 +213,7 @@ + a++; b++; comb++; + + /* Password syncronization */ +- widgets->server_set_combo[comb] = make_short_combo_with_label(GTK_TABLE(widgets->srv_set_table), _(" Syncronize passwords: "), 0,1,a,b,50); ++ widgets->server_set_combo[comb] = make_short_combo_with_label(GTK_TABLE(widgets->srv_set_table), _(" Synchronize passwords: "), 0,1,a,b,50); + combo_text = g_strdup_printf(_("Yes")); + utf8 = g_locale_to_utf8(combo_text, strlen(combo_text), NULL, NULL, NULL); + gtk_combo_box_append_text(GTK_COMBO_BOX(widgets->server_set_combo[comb]), utf8); +Index: gadmin-samba-0.3.2/src/show_info.c +=================================================================== +--- gadmin-samba-0.3.2.orig/src/show_info.c 2011-09-09 03:58:10.409250168 +0700 ++++ gadmin-samba-0.3.2/src/show_info.c 2011-09-09 04:04:31.329808860 +0700 +@@ -46,13 +46,13 @@ + + if( content == NULL ) + { +- printf("show_info recieved null content\n"); ++ printf("show_info received null content\n"); + return; + } + + if( strlen(content) < 5 ) + { +- printf("show_info recieved < 5 chars of content\n"); ++ printf("show_info received < 5 chars of content\n"); + return; + } + +Index: gadmin-samba-0.3.2/src/standard_conf.c +=================================================================== +--- gadmin-samba-0.3.2.orig/src/standard_conf.c 2011-09-09 03:58:10.399250157 +0700 ++++ gadmin-samba-0.3.2/src/standard_conf.c 2011-09-09 04:04:31.329808860 +0700 +@@ -483,7 +483,7 @@ + + _("Do you want to overwrite the current samba configuration ?\n"), + +- _("\t\t\t(If you dont know then press yes)\n"), ++ _("\t\t\t(If you don't know then press yes)\n"), + NULL); + + utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL); +Index: gadmin-samba-0.3.2/po/gadmin-samba.pot +=================================================================== +--- gadmin-samba-0.3.2.orig/po/gadmin-samba.pot 2011-09-09 04:05:18.529878094 +0700 ++++ gadmin-samba-0.3.2/po/gadmin-samba.pot 2011-09-09 04:05:17.199876147 +0700 +@@ -570,7 +570,7 @@ + msgid " Encrypt passwords: " + msgstr "" + +-msgid " Syncronize passwords: " ++msgid " Synchronize passwords: " + msgstr "" + + msgid " Socket transfer options: " +@@ -1587,7 +1587,7 @@ + msgid "Do you want to overwrite the current samba configuration ?\n" + msgstr "" + +-msgid "\t\t\t(If you dont know then press yes)\n" ++msgid "\t\t\t(If you don't know then press yes)\n" + msgstr "" + + #, c-format
  7. Download patch src/create_main_window.h

    --- 0.2.9-3/src/create_main_window.h 2009-11-18 10:23:55.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_main_window.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  8. Download patch src/chars_are_digits.h

    --- 0.2.9-3/src/chars_are_digits.h 2009-11-18 10:19:59.000000000 +0000 +++ 0.3.2-0ubuntu2/src/chars_are_digits.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  9. Download patch po/de.po
  10. Download patch src/create_user_tab.h

    --- 0.2.9-3/src/create_user_tab.h 2009-11-18 10:26:45.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_user_tab.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  11. Download patch src/create_share_settings.c

    --- 0.2.9-3/src/create_share_settings.c 2009-11-18 10:25:38.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_share_settings.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -193,15 +193,19 @@ void del_share_access_clicked(GtkButton void select_share_path_clicked(struct w *widgets) { - gchar *path = NULL; + gchar *path = NULL, *sharesdir = NULL; + + sharesdir = g_strdup_printf("%s/lib/samba", LOCALSTATEDIR); - path = get_dialog_path_selection("DIR", "/var/samba", "None"); + path = get_dialog_path_selection("DIR", sharesdir, "None"); if( path!=NULL ) { printf("Selected directory: %s\n", path); gtk_entry_set_text(GTK_ENTRY(widgets->share_set_entry[1]), path); g_free(path); } + + g_free(sharesdir); } @@ -613,19 +617,7 @@ void create_share_settings(struct w *wid g_free(combo_text); g_free(utf8); a++; b++; comb++; -/* "share modes" Has been deprecated. - widgets->share_set_combo[comb] = make_label_combo_label(GTK_TABLE(widgets->share_set_table), _(" Share modes: "), 0,1,a,b, 80); - combo_text = g_strdup_printf(_("Yes")); - utf8 = g_locale_to_utf8(combo_text, strlen(combo_text), NULL, NULL, NULL); - gtk_combo_box_append_text(GTK_COMBO_BOX(widgets->share_set_combo[comb]), utf8); - combo_text = g_strdup_printf(_("No")); - utf8 = g_locale_to_utf8(combo_text, strlen(combo_text), NULL, NULL, NULL); - gtk_combo_box_append_text(GTK_COMBO_BOX(widgets->share_set_combo[comb]), utf8); - g_free(combo_text); g_free(utf8); - a++; b++; comb++; -*/ - - /* locking combo */ + /* File locking combo */ widgets->share_set_combo[comb] = make_label_combo_label(GTK_TABLE(widgets->share_set_table), _(" File locking: "), 0,1,a,b, 80); combo_text = g_strdup_printf(_("Yes")); utf8 = g_locale_to_utf8(combo_text, strlen(combo_text), NULL, NULL, NULL); @@ -636,7 +628,7 @@ void create_share_settings(struct w *wid g_free(combo_text); g_free(utf8); a++; b++; comb++; - /* Strict locking */ + /* Strict file locking */ widgets->share_set_combo[comb] = make_label_combo_label(GTK_TABLE(widgets->share_set_table), _(" Strict locking: "), 0,1,a,b, 80); combo_text = g_strdup_printf(_("Yes")); utf8 = g_locale_to_utf8(combo_text, strlen(combo_text), NULL, NULL, NULL);
  12. Download patch src/create_import_question.c

    --- 0.2.9-3/src/create_import_question.c 2009-11-18 10:22:18.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_import_question.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  13. Download patch po/Makefile.in

    --- 0.2.9-3/po/Makefile.in 2010-03-13 16:01:47.000000000 +0000 +++ 0.3.2-0ubuntu2/po/Makefile.in 2011-02-18 22:02:13.000000000 +0000 @@ -14,7 +14,7 @@ GETTEXT_PACKAGE = gadmin-samba PACKAGE = gadmin-samba -VERSION = 0.2.9 +VERSION = 0.3.2 SHELL = /bin/sh @@ -52,14 +52,14 @@ INCLUDES = -I.. -I$(top_srcdir)/intl COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) SOURCES = -POFILES = fr.po -GMOFILES = fr.gmo +POFILES = fr.po de.po +GMOFILES = fr.gmo de.gmo DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \ $(POFILES) $(GMOFILES) $(SOURCES) POTFILES = \ -CATALOGS = fr.gmo +CATALOGS = fr.gmo de.gmo CATOBJEXT = .gmo INSTOBJEXT = .mo
  14. Download patch src/credits_window.c

    --- 0.2.9-3/src/credits_window.c 2009-11-18 10:26:54.000000000 +0000 +++ 0.3.2-0ubuntu2/src/credits_window.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -101,7 +101,7 @@ void show_credits() _("French"), " (fr) Martial Lillo <HiddenEmail>\n", _("Galician"), " (gl) NAME <EMAIL>\n", - _("German"), " (de) Sebastian Schoss <sebastian@schoss.it>\n", + _("German"), " (de) M.Mueller aka Quax <mmueller@live-modules.org>\n", _("Greek"), " (el) NAME <EMAIL>\n", _("Hebrew"), " (he) NAME <EMAIL>\n",
  15. Download patch MAKE_TGZ

    --- 0.2.9-3/MAKE_TGZ 2010-03-11 12:54:11.000000000 +0000 +++ 0.3.2-0ubuntu2/MAKE_TGZ 2011-02-18 15:43:37.000000000 +0000 @@ -1,6 +1,6 @@ #!/bin/sh -version='0.2.9' +version='0.3.2' beta='' make clean @@ -11,5 +11,6 @@ rm -f config.log rm -f config.status rm -f stamp* rm -f po/*.gmo +rm -rf src/.deps cd .. tar -hzcvf gadmin-samba-$version$beta.tar.gz gadmin-samba-$version
  16. Download patch src/.deps/add_change_user.Po
  17. Download patch src/apply_button_clicked.c

    --- 0.2.9-3/src/apply_button_clicked.c 1970-01-01 00:00:00.000000000 +0000 +++ 0.3.2-0ubuntu2/src/apply_button_clicked.c 2011-02-18 21:55:48.000000000 +0000 @@ -0,0 +1,33 @@ +/* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * +*/ + + + +#include <gtk/gtk.h> +#include <stdio.h> +#include <string.h> +#include "widgets.h" +#include "gettext.h" +#include "reread_conf.h" + + +void apply_button_clicked(struct w *widgets) +{ + reread_conf(widgets); +}
  18. Download patch src/add_share.c

    --- 0.2.9-3/src/add_share.c 2009-11-18 10:17:58.000000000 +0000 +++ 0.3.2-0ubuntu2/src/add_share.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -425,15 +425,6 @@ void add_share(struct w *widgets) opt = g_strdup_printf("printable = no\n"); strcat(new_conf, opt); -/* "Share modes" has been deprecated. - active_index = gtk_combo_box_get_active(GTK_COMBO_BOX(widgets->share_set_combo[7])); - if( active_index == 0 ) - opt = g_strdup_printf("share modes = yes\n"); - else - opt = g_strdup_printf("share modes = no\n"); - strcat(new_conf, opt); -*/ - active_index = gtk_combo_box_get_active(GTK_COMBO_BOX(widgets->share_set_combo[7])); if( active_index == 0 ) opt = g_strdup_printf("locking = yes\n");
  19. Download patch src/create_user_settings.c

    --- 0.2.9-3/src/create_user_settings.c 2010-03-13 13:47:01.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_user_settings.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -110,7 +110,7 @@ void create_user_settings(struct w *widg gtk_box_pack_start(GTK_BOX(hbuttonbox), new_user_button, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(hbuttonbox), apply_user_button, TRUE, TRUE, 0); - gtk_table_attach(GTK_TABLE(widgets->usr_set_table), hbuttonbox, 0, 3, a, b, 0, 0, 5, 5); + gtk_table_attach(GTK_TABLE(widgets->user_set_table), hbuttonbox, 0, 3, a, b, 0, 0, 5, 5); a++; b++; @@ -132,14 +132,14 @@ void create_user_settings(struct w *widg /* Username */ /* Max length and input 350 chars */ GtkWidget *username_button; widgets->user_set_entry[ent] = gtk_entry_new(); - username_button = make_button_with_entry(GTK_TABLE(widgets->usr_set_table), + username_button = make_button_with_entry(GTK_TABLE(widgets->user_set_table), widgets->user_set_entry[ent], "gtk-refresh", - "Username:", // fixme, utf8 - "Create a randomized username", // fixme, utf8 + _("Username:"), // fixed, Quax + _("Create a randomized username"), // fixed, Quax 0,1,a,b,350); - gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], "The name of the user.", NULL); + gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], _("The name of the user."), NULL); a++; b++; ent++; g_signal_connect_swapped(G_OBJECT(username_button), "clicked", @@ -148,13 +148,13 @@ void create_user_settings(struct w *widg /* Password */ GtkWidget *password_button; widgets->user_set_entry[ent] = gtk_entry_new(); - password_button = make_button_with_entry(GTK_TABLE(widgets->usr_set_table), + password_button = make_button_with_entry(GTK_TABLE(widgets->user_set_table), widgets->user_set_entry[ent], "gtk-refresh", - "Password:", // fixme, utf8 - "Create a randomized password", // fixme, utf8 + _("Password:"), // fixed, Quax + _("Create a randomized password"), // fixed, Quax 0,1,a,b,350); - gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], "The users password.", NULL); + gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], _("The users password."), NULL); a++; b++; ent++; g_signal_connect_swapped(G_OBJECT(password_button), "clicked", @@ -162,33 +162,33 @@ void create_user_settings(struct w *widg /* Group */ - widgets->user_set_entry[ent] = make_entry_with_label(GTK_TABLE(widgets->usr_set_table), _(" Group: "), 0,1,a,b,350); - gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], "The group the user belongs to", NULL); + widgets->user_set_entry[ent] = make_entry_with_label(GTK_TABLE(widgets->user_set_table), _(" Group: "), 0,1,a,b,350); + gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], _("The group the user belongs to"), NULL); a++; b++; ent++; /* Comment */ - widgets->user_set_entry[ent] = make_entry_with_label(GTK_TABLE(widgets->usr_set_table), _(" Comment: "), 0,1,a,b,350); - gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], "A comment about the user", NULL); + widgets->user_set_entry[ent] = make_entry_with_label(GTK_TABLE(widgets->user_set_table), _(" Comment: "), 0,1,a,b,350); + gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], _("A comment about the user"), NULL); a++; b++; ent++; /* Home directory */ GtkWidget *homedir_button; widgets->user_set_entry[ent] = gtk_entry_new(); - homedir_button = make_button_with_entry(GTK_TABLE(widgets->usr_set_table), + homedir_button = make_button_with_entry(GTK_TABLE(widgets->user_set_table), widgets->user_set_entry[ent], "gtk-refresh", - "Home directory:", // fixme, utf8 - "Choose a home directory for this user", // fixme, utf8 + _("Home directory:"), // fixed, Quax + _("Choose a home directory for this user"), // fixed, Quax 0,1,a,b,350); - gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], "The users home directory, IE: /home/UserName or /dev/null to skip making a homedirectory.", NULL); + gtk_tooltips_set_tip(tooltips, widgets->user_set_entry[ent], _("The users home directory, IE: /home/UserName or /dev/null to skip making a homedirectory."), NULL); a++; b++; ent++; g_signal_connect_swapped(G_OBJECT(homedir_button), "clicked", G_CALLBACK(select_home_path_clicked), widgets); - widgets->user_set_combo[comb] = make_label_textcombo_label(GTK_TABLE(widgets->usr_set_table), _(" Shell: "), 0,1,a,b, 80); + widgets->user_set_combo[comb] = make_label_textcombo_label(GTK_TABLE(widgets->user_set_table), _(" Shell: "), 0,1,a,b, 80); populate_shell_combo(widgets->user_set_combo[comb]); a++; b++; comb++;
  20. Download patch src/create_share_settings.h

    --- 0.2.9-3/src/create_share_settings.h 2009-11-18 10:25:47.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_share_settings.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  21. Download patch src/create_import_selection.c

    --- 0.2.9-3/src/create_import_selection.c 2009-11-18 10:22:35.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_import_selection.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -219,9 +219,23 @@ void create_import_selection(struct w *w gtk_widget_show_all(widgets->import_window); + /* Populate the import treeview with LOCAL users and groups except machine accounts */ if( global_import_local ) { + /* First add macros for all users and groups. + FIX: Make translatable after modifying the recieving functions. */ + gtk_list_store_append(GTK_LIST_STORE(widgets->import_store), &iter); + import_msg = g_strdup_printf("All users"); + utf8 = g_locale_to_utf8(import_msg, strlen(import_msg), NULL, NULL, NULL); + gtk_list_store_set(GTK_LIST_STORE(widgets->import_store), &iter, 0, utf8, -1); + g_free(import_msg); + import_msg = g_strdup_printf("All groups"); + utf8 = g_locale_to_utf8(import_msg, strlen(import_msg), NULL, NULL, NULL); + gtk_list_store_set(GTK_LIST_STORE(widgets->import_store), &iter, 1, utf8, -1); + g_free(import_msg); + + if((fp=fopen(PASSWD_FILE, "r"))==NULL) { printf("Cant open passwd here:\n%s\n", PASSWD_FILE);
  22. Download patch src/create_import_question.h

    --- 0.2.9-3/src/create_import_question.h 2009-11-18 10:22:25.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_import_question.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  23. Download patch MAKE_RPM

    --- 0.2.9-3/MAKE_RPM 2010-03-11 12:54:16.000000000 +0000 +++ 0.3.2-0ubuntu2/MAKE_RPM 2011-02-18 15:43:25.000000000 +0000 @@ -1,7 +1,7 @@ #!/bin/sh # Make an rpm. -version='0.2.9' +version='0.3.2' cd .. # Works for Fedora up to FC9: tar -zhcvf /usr/src/redhat/SOURCES/gadmin-samba-$version.tar.gz gadmin-samba-$version
  24. Download patch src/credits_window.h

    --- 0.2.9-3/src/credits_window.h 2009-11-18 10:27:02.000000000 +0000 +++ 0.3.2-0ubuntu2/src/credits_window.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  25. Download patch src/create_server_tab.c

    --- 0.2.9-3/src/create_server_tab.c 2009-11-18 10:24:40.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_server_tab.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  26. Download patch src/activate_button_clicked.c

    --- 0.2.9-3/src/activate_button_clicked.c 2009-11-18 10:16:52.000000000 +0000 +++ 0.3.2-0ubuntu2/src/activate_button_clicked.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,7 +16,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ - #include "../config.h"
  27. Download patch src/create_server_settings.c

    --- 0.2.9-3/src/create_server_settings.c 2010-03-13 14:32:18.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_server_settings.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -80,7 +80,6 @@ void create_server_settings(struct w *wi /* Security level combo */ -// Short combo removed widgets->server_set_combo[comb] = make_short_combo_with_label(GTK_TABLE(widgets->srv_set_table), _(" Security level: "), 0,1,a,b,50); widgets->server_set_combo[comb] = make_combo_with_label(GTK_TABLE(widgets->srv_set_table), _(" Security level: "), 0,1,a,b,50); /* Default SAMBA security level */ @@ -158,17 +157,11 @@ void create_server_settings(struct w *wi _("Server settings for advanced administrators:"), 0, 1, a, b); a++; b++; - -// printing = cups Not included. - /* CUPS Options */ widgets->server_set_combo[comb] = make_short_combo_with_label(GTK_TABLE(widgets->srv_set_table), _(" CUPS Options: "), 0,1,a,b,50); combo_text = g_strdup_printf(_("Raw")); utf8 = g_locale_to_utf8(combo_text, strlen(combo_text), NULL, NULL, NULL); gtk_combo_box_append_text(GTK_COMBO_BOX(widgets->server_set_combo[comb]), utf8); -// combo_text = g_strdup_printf(_("fixme....")); -// utf8 = g_locale_to_utf8(combo_text, strlen(combo_text), NULL, NULL, NULL); -// gtk_combo_box_append_text(GTK_COMBO_BOX(widgets->server_set_combo[comb]), utf8); g_free(combo_text); g_free(utf8); a++; b++; comb++; @@ -556,8 +549,7 @@ void create_server_settings(struct w *wi gtk_tooltips_set_tip(tooltips, widgets->server_set_entry[ent], _("The path to SAMBA's username file, IE: /etc/samba/smbusers"), NULL); a++; b++; ent++; - /* DEPRECATED: Samba password file */ -// Leave these... + /* DEPRECATED: Samba password file, leave these... */ a++; b++; ent++; /* The systems passwd program */ @@ -565,10 +557,7 @@ void create_server_settings(struct w *wi gtk_tooltips_set_tip(tooltips, widgets->server_set_entry[ent], _("The path to the systems passwd program, IE: /usr/bin/passwd"), NULL); a++; b++; ent++; - /* Didnt work.. Root directory */ -// widgets->server_set_entry[ent] = make_long_entry_with_label(GTK_TABLE(widgets->srv_set_table), _(" Root home directory: "), 0,1,a,b,200); -// gtk_tooltips_set_tip(tooltips, widgets->server_set_entry[ent], _("Path to the root users home directory, IE: /var/samba/root or /root"), NULL); -// Leave these alone... + /* Leave these... */ a++; b++; ent++; /* Password chat phrase */ @@ -616,8 +605,6 @@ void create_server_settings(struct w *wi gtk_tooltips_set_tip(tooltips, widgets->server_set_spinbutton[spin], _("Machine password timeout, IE: 120 (seconds)"), NULL); a++; b++; spin++; -// per machine configuration skipped (include = ...) - /* idmap_uid */ widgets->server_set_entry[ent] = make_entry_with_label(GTK_TABLE(widgets->srv_set_table), _(" Username id range: "), 0,1,a,b,200); gtk_tooltips_set_tip(tooltips, widgets->server_set_entry[ent], _("The users uids, IE: 16777216-33554431"), NULL);
  28. Download patch src/apply_button_clicked.h

    --- 0.2.9-3/src/apply_button_clicked.h 1970-01-01 00:00:00.000000000 +0000 +++ 0.3.2-0ubuntu2/src/apply_button_clicked.h 2011-02-18 21:55:48.000000000 +0000 @@ -0,0 +1,26 @@ +/* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * +*/ + + +#ifndef apply_button_clicked_H +# define apply_button_clicked_H + +void apply_button_clicked(struct w *widgets); + +#endif
  29. Download patch src/add_share.h

    --- 0.2.9-3/src/add_share.h 2009-11-18 10:18:07.000000000 +0000 +++ 0.3.2-0ubuntu2/src/add_share.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  30. Download patch src/create_user_settings.h

    --- 0.2.9-3/src/create_user_settings.h 2009-11-18 10:26:25.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_user_settings.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  31. Download patch src/create_import_selection.h

    --- 0.2.9-3/src/create_import_selection.h 2009-11-18 10:22:58.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_import_selection.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  32. Download patch src/change_macct.c

    --- 0.2.9-3/src/change_macct.c 2010-03-13 12:54:32.000000000 +0000 +++ 0.3.2-0ubuntu2/src/change_macct.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  33. Download patch po/ChangeLog

    --- 0.2.9-3/po/ChangeLog 2008-02-21 17:59:32.000000000 +0000 +++ 0.3.2-0ubuntu2/po/ChangeLog 2010-08-08 17:39:57.000000000 +0000 @@ -1 +1,2 @@ - +Added French translation (Martial Lillo) +Added Deutsch translation (Manfred Mueller)
  34. Download patch src/create_server_tab.h

    --- 0.2.9-3/src/create_server_tab.h 2009-11-18 10:24:50.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_server_tab.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  35. Download patch src/activate_button_clicked.h

    --- 0.2.9-3/src/activate_button_clicked.h 2009-11-18 10:17:05.000000000 +0000 +++ 0.3.2-0ubuntu2/src/activate_button_clicked.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  36. Download patch debian/control

    --- 0.2.9-3/debian/control 2010-11-28 19:38:34.000000000 +0000 +++ 0.3.2-0ubuntu2/debian/control 2012-01-04 11:12:40.000000000 +0000 @@ -1,7 +1,8 @@ Source: gadmin-samba Section: admin Priority: optional -Maintainer: Debian QA Group <packages@qa.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian QA Group <packages@qa.debian.org> Build-Depends: debhelper (>= 8), autotools-dev, libgtk2.0-dev Standards-Version: 3.9.1 Homepage: http://www.gadmintools.org/
  37. Download patch src/create_server_settings.h

    --- 0.2.9-3/src/create_server_settings.h 2009-11-18 10:24:31.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_server_settings.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  38. Download patch src/change_macct.h

    --- 0.2.9-3/src/change_macct.h 2009-11-18 10:19:41.000000000 +0000 +++ 0.3.2-0ubuntu2/src/change_macct.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  39. Download patch debian/patches/01-examples.patch

    --- 0.2.9-3/debian/patches/01-examples.patch 2010-11-28 19:38:42.000000000 +0000 +++ 0.3.2-0ubuntu2/debian/patches/01-examples.patch 2011-09-08 19:17:55.000000000 +0000 @@ -1,37 +1,47 @@ Author: Daniel Baumann <daniel@debian.org> Description: Removes example installation, we do it through debian/examples. -diff -Naurp gadmin-samba.orig/Makefile.am gadmin-samba/Makefile.am ---- gadmin-samba.orig/Makefile.am 2009-08-19 20:23:26.000000000 +0000 -+++ gadmin-samba/Makefile.am 2009-08-20 07:45:41.000000000 +0000 -@@ -51,13 +51,6 @@ install-data-local: +Index: gadmin-samba-0.3.2/Makefile.am +=================================================================== +--- gadmin-samba-0.3.2.orig/Makefile.am 2011-09-09 02:05:22.929324381 +0700 ++++ gadmin-samba-0.3.2/Makefile.am 2011-09-09 02:05:23.019324513 +0700 +@@ -51,16 +51,7 @@ if test -d $(DESTDIR)$(bindir) && test ! -f $(DESTDIR)$(bindir)/gadmin-samba-pdf; then \ cp scripts/gadmin-samba-pdf $(bindir)/; \ fi; -- @echo Installing example logon script to static /home/netlogon. -- if test ! -d /home/netlogon; then \ -- mkdir -p /home/netlogon; \ +- @echo Installing example logon script to $(DESTDIR)$(localstatedir)/lib/samba/netlogon. +- if test ! -d $(DESTDIR)$(localstatedir)/lib/samba/netlogon; then \ +- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/samba/netlogon; \ - fi; -- if test -d /home/netlogon && test ! -f /home/netlogon/example.bat; then \ -- cp scripts/example.bat /home/netlogon/; \ +- if test -d $(DESTDIR)$(localstatedir)/lib/samba/netlogon && \ +- test ! -f $(DESTDIR)$(localstatedir)/lib/samba/netlogon/example.bat; then \ +- cp scripts/example.bat $(DESTDIR)$(localstatedir)/lib/samba/netlogon/; \ +- chmod a+r $(DESTDIR)$(localstatedir)/lib/samba/netlogon/example.bat; \ - fi; - @echo "" - @echo "Start GADMIN-SAMBA by typing gadmin-samba in a terminal" - @echo "or start it from the menu." -diff -Naurp gadmin-samba.orig/Makefile.in gadmin-samba/Makefile.in ---- gadmin-samba.orig/Makefile.in 2009-08-19 20:23:26.000000000 +0000 -+++ gadmin-samba/Makefile.in 2009-08-20 07:45:41.000000000 +0000 -@@ -676,13 +676,6 @@ install-data-local: +- @echo Creating the profiles directory $(DESTDIR)$(localstatedir)/lib/samba/profiles. ++ @echo Creating the profiles directory $(DESTDIR)$(localstatedir)/lib/samba/profiles. + if test ! -d $(DESTDIR)$(localstatedir)/lib/samba/profiles; then \ + $(mkinstalldirs) -m 1755 $(DESTDIR)$(localstatedir)/lib/samba/profiles; \ + fi; +Index: gadmin-samba-0.3.2/Makefile.in +=================================================================== +--- gadmin-samba-0.3.2.orig/Makefile.in 2011-09-09 02:05:22.899324337 +0700 ++++ gadmin-samba-0.3.2/Makefile.in 2011-09-09 02:05:23.019324513 +0700 +@@ -755,16 +755,7 @@ if test -d $(DESTDIR)$(bindir) && test ! -f $(DESTDIR)$(bindir)/gadmin-samba-pdf; then \ cp scripts/gadmin-samba-pdf $(bindir)/; \ fi; -- @echo Installing example logon script to static /home/netlogon. -- if test ! -d /home/netlogon; then \ -- mkdir -p /home/netlogon; \ +- @echo Installing example logon script to $(DESTDIR)$(localstatedir)/lib/samba/netlogon. +- if test ! -d $(DESTDIR)$(localstatedir)/lib/samba/netlogon; then \ +- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/samba/netlogon; \ - fi; -- if test -d /home/netlogon && test ! -f /home/netlogon/example.bat; then \ -- cp scripts/example.bat /home/netlogon/; \ +- if test -d $(DESTDIR)$(localstatedir)/lib/samba/netlogon && \ +- test ! -f $(DESTDIR)$(localstatedir)/lib/samba/netlogon/example.bat; then \ +- cp scripts/example.bat $(DESTDIR)$(localstatedir)/lib/samba/netlogon/; \ +- chmod a+r $(DESTDIR)$(localstatedir)/lib/samba/netlogon/example.bat; \ - fi; - @echo "" - @echo "Start GADMIN-SAMBA by typing gadmin-samba in a terminal" - @echo "or start it from the menu." +- @echo Creating the profiles directory $(DESTDIR)$(localstatedir)/lib/samba/profiles. ++ @echo Creating the profiles directory $(DESTDIR)$(localstatedir)/lib/samba/profiles. + if test ! -d $(DESTDIR)$(localstatedir)/lib/samba/profiles; then \ + $(mkinstalldirs) -m 1755 $(DESTDIR)$(localstatedir)/lib/samba/profiles; \ + fi;
  40. Download patch src/commented.c

    --- 0.2.9-3/src/commented.c 2009-11-18 10:20:50.000000000 +0000 +++ 0.3.2-0ubuntu2/src/commented.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  41. Download patch ChangeLog

    --- 0.2.9-3/ChangeLog 2010-03-13 16:27:09.000000000 +0000 +++ 0.3.2-0ubuntu2/ChangeLog 2011-02-18 21:53:31.000000000 +0000 @@ -1,3 +1,25 @@ +Version 0.3.2 +------------------------------------------------------ +Allow more then 30 chars for the samba version string. +Added Valid users = %U as default for the [homes] share. + + +Version 0.3.1 +------------------------------------------------------ +Allows for more dynamic configuration of netlogon, profiles and pdf-documents. +(Thanks to Nathan Owens of Arch Linux) + + +Version 0.3.0 +------------------------------------------------------ +Changed paths to /var/lib/samba for netlogon, profiles and pdf-documents. +All users and All groups macros can now be imported. +Added and updated Deutsch translation (Thanks to Manfred Mueller). +Adds better default user profile values. +Improved handling of directories with spaces. +A small helpfile change (add user/apply user). + + Version 0.2.9 ------------------------------------------------------ Requires samba >= 3.4.0.
  42. Download patch src/.deps/add_share.Po
  43. Download patch src/create_security_tab.c

    --- 0.2.9-3/src/create_security_tab.c 2009-11-18 10:24:04.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_security_tab.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  44. Download patch src/delete_user.c

    --- 0.2.9-3/src/delete_user.c 2010-03-13 14:13:13.000000000 +0000 +++ 0.3.2-0ubuntu2/src/delete_user.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  45. Download patch src/.deps/add_macct.Po
  46. Download patch src/clear_security_tab.c

    --- 0.2.9-3/src/clear_security_tab.c 2009-11-18 10:20:09.000000000 +0000 +++ 0.3.2-0ubuntu2/src/clear_security_tab.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  47. Download patch src/apply_share_settings.c

    --- 0.2.9-3/src/apply_share_settings.c 2009-11-18 10:19:11.000000000 +0000 +++ 0.3.2-0ubuntu2/src/apply_share_settings.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  48. Download patch src/.deps/add_standard_users.Po
  49. Download patch src/.deps/activate_button_clicked.Po
  50. Download patch src/commented.h

    --- 0.2.9-3/src/commented.h 2009-11-18 10:21:00.000000000 +0000 +++ 0.3.2-0ubuntu2/src/commented.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  51. Download patch src/create_security_tab.h

    --- 0.2.9-3/src/create_security_tab.h 2009-11-18 10:24:13.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_security_tab.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  52. Download patch src/delete_user.h

    --- 0.2.9-3/src/delete_user.h 2009-11-18 10:28:22.000000000 +0000 +++ 0.3.2-0ubuntu2/src/delete_user.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  53. Download patch src/clear_security_tab.h

    --- 0.2.9-3/src/clear_security_tab.h 2009-11-18 10:20:22.000000000 +0000 +++ 0.3.2-0ubuntu2/src/clear_security_tab.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  54. Download patch src/apply_share_settings.h

    --- 0.2.9-3/src/apply_share_settings.h 2009-11-18 10:19:20.000000000 +0000 +++ 0.3.2-0ubuntu2/src/apply_share_settings.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  55. Download patch src/apply_server_settings.c

    --- 0.2.9-3/src/apply_server_settings.c 2010-03-13 14:21:50.000000000 +0000 +++ 0.3.2-0ubuntu2/src/apply_server_settings.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  56. Download patch src/create_conf_tab.c

    --- 0.2.9-3/src/create_conf_tab.c 2009-11-18 10:21:09.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_conf_tab.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  57. Download patch src/create_share_tab.c

    --- 0.2.9-3/src/create_share_tab.c 2009-11-18 10:25:57.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_share_tab.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  58. Download patch src/create_macct_tab.c

    --- 0.2.9-3/src/create_macct_tab.c 2009-11-18 10:23:29.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_macct_tab.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  59. Download patch configure
  60. Download patch src/apply_server_settings.h

    --- 0.2.9-3/src/apply_server_settings.h 2009-11-18 10:19:00.000000000 +0000 +++ 0.3.2-0ubuntu2/src/apply_server_settings.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  61. Download patch NEWS

    --- 0.2.9-3/NEWS 2006-07-10 16:54:06.000000000 +0000 +++ 0.3.2-0ubuntu2/NEWS 2010-09-07 18:14:30.000000000 +0000 @@ -1,2 +0,0 @@ - -New site www.gadmintools.org
  62. Download patch gadmin-samba.spec

    --- 0.2.9-3/gadmin-samba.spec 2010-03-13 13:26:58.000000000 +0000 +++ 0.3.2-0ubuntu2/gadmin-samba.spec 2011-02-18 15:46:39.000000000 +0000 @@ -1,9 +1,9 @@ %define desktop_vendor newrpms -%{!?_dist: %{expand: %%define dist rhfc12}} +%{!?_dist: %{expand: %%define dist rhfc14}} Summary: GADMIN-SAMBA -- A GTK+ administation tool for the SAMBA server. Name: gadmin-samba -Version: 0.2.9 +Version: 0.3.2 Release: 0.1.%{dist}.nr License: GPL Group: Applications/System @@ -41,13 +41,20 @@ install -d %{buildroot}%{_datadir}/doc/% install -m 644 README COPYING AUTHORS ChangeLog %{buildroot}%{_datadir}/doc/%{name} # Logon scripts -install -d %{buildroot}/home/netlogon -install -m 755 scripts/example.bat %{buildroot}/home/netlogon +install -d %{buildroot}/var/lib/samba/netlogon +install -m 755 scripts/example.bat %{buildroot}/var/lib/samba/netlogon + +# Profiles directory +install -d %{buildroot}/var/lib/samba/profiles # PDF Printer script install -d %{buildroot}%{_bindir} install -m 755 scripts/gadmin-samba-pdf %{buildroot}%{_bindir} +# PDF Printer output directory +install -d %{buildroot}/var/lib/samba/pdf-documents + + %find_lang %name @@ -66,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(0755, root, root) %{_sbindir}/%{name} %{_bindir}/gadmin-samba-pdf -/home/netlogon/example.bat +/var/lib/samba/netlogon/example.bat %defattr(0644, root, root) #%doc COPYING AUTHORS ChangeLog @@ -82,7 +89,25 @@ rm -rf $RPM_BUILD_ROOT %dir %{_datadir}/pixmaps/%{name} %{_datadir}/pixmaps/%{name}/*.png +%defattr(1755, root, root) +%dir /var/lib/samba/profiles +%defattr(1755, root, root) +%dir /var/lib/samba/pdf-documents + %changelog +* Fri Feb 18 2011 Magnus Loef <magnus-swe@telia.com> +- Allow more then 30 chars for the samba version (Really?/Yes, apparently:) +- Added Valid users = %U as default for the [homes] share. +* Thu Sep 12 2010 Magnus Loef <magnus-swe@telia.com> +- Allows for more dynamic configuration of netlogon, profiles and pdf-documents. +* Thu Sep 9 2010 Magnus Loef <magnus-swe@telia.com> +- Changed paths to /var/lib/samba for netlogon, profiles and pdf-documents. +- All users and All groups macros can now be imported. +- Added and updated Deutsch translation (Thanks to Manfred Mueller). +- Adds better default user profile values. +- Improved handling of directories with spaces. +- A small helpfile change (add user/apply user). + * Sat Mar 13 2010 Magnus Loef <magnus-swe@telia.com> - Now using pdbedit and the tdbsam files instead - of the smbpasswd file and binary.
  63. Download patch src/create_conf_tab.h

    --- 0.2.9-3/src/create_conf_tab.h 2009-11-18 10:21:17.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_conf_tab.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  64. Download patch debian/patches/03-desktop.patch

    --- 0.2.9-3/debian/patches/03-desktop.patch 2010-11-28 19:38:44.000000000 +0000 +++ 0.3.2-0ubuntu2/debian/patches/03-desktop.patch 2011-09-08 20:45:55.000000000 +0000 @@ -1,13 +1,20 @@ Author: Daniel Baumann <daniel@debian.org> Description: Makes use of su-to-root and cleans Categories. -diff -Naurp gadmin-samba.orig/desktop/gadmin-samba.desktop gadmin-samba/desktop/gadmin-samba.desktop ---- gadmin-samba.orig/desktop/gadmin-samba.desktop 2009-08-19 20:23:26.000000000 +0000 -+++ gadmin-samba/desktop/gadmin-samba.desktop 2009-08-20 07:46:22.000000000 +0000 -@@ -15,8 +15,8 @@ Name[ro]=GADMIN-SAMBA - Name[zh_TW]=GADMIN-SAMBA +Index: gadmin-samba-0.3.2/desktop/gadmin-samba.desktop +=================================================================== +--- gadmin-samba-0.3.2.orig/desktop/gadmin-samba.desktop 2011-09-09 03:04:54.000000000 +0700 ++++ gadmin-samba-0.3.2/desktop/gadmin-samba.desktop 2011-09-09 03:45:26.118129193 +0700 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=GADMIN-SAMBA + Name[de]=GADMIN-SAMBA + Name[es]=GADMIN-SAMBA +@@ -16,8 +15,8 @@ GenericName=GADMIN-SAMBA Comment=SAMBA file, print and domain server administration + Comment[de]=SAMBA Datei-, Druck- und Domänen-Kontroller Verwaltung -Exec=gadmin-samba -Icon=gadmin-samba.png +Exec=su-to-root -X -c /usr/sbin/gadmin-samba
  65. Download patch src/.deps/apply_server_settings.Po
  66. Download patch src/create_share_tab.h

    --- 0.2.9-3/src/create_share_tab.h 2009-11-18 10:26:06.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_share_tab.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  67. Download patch src/create_macct_tab.h

    --- 0.2.9-3/src/create_macct_tab.h 2009-11-18 10:23:38.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_macct_tab.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  68. Download patch src/allocate.c

    --- 0.2.9-3/src/allocate.c 2009-11-18 10:18:34.000000000 +0000 +++ 0.3.2-0ubuntu2/src/allocate.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  69. Download patch src/.deps/allocate.Po

    --- 0.2.9-3/src/.deps/allocate.Po 2010-03-13 16:02:10.000000000 +0000 +++ 0.3.2-0ubuntu2/src/.deps/allocate.Po 1970-01-01 00:00:00.000000000 +0000 @@ -1,85 +0,0 @@ -allocate.o: allocate.c ../config.h /usr/include/stdlib.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i686-redhat-linux/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i686-redhat-linux/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/string.h /usr/include/xlocale.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h - -../config.h: - -/usr/include/stdlib.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i686-redhat-linux/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i686-redhat-linux/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h:
  70. Download patch src/delete_macct.c

    --- 0.2.9-3/src/delete_macct.c 2010-03-13 14:37:39.000000000 +0000 +++ 0.3.2-0ubuntu2/src/delete_macct.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  71. Download patch debian/watch

    --- 0.2.9-3/debian/watch 1970-01-01 00:00:00.000000000 +0000 +++ 0.3.2-0ubuntu2/debian/watch 2011-09-08 18:47:51.000000000 +0000 @@ -0,0 +1,2 @@ +version=3 +http://mange.dynalias.org/linux/gadmin-samba/gadmin-samba-([0-9.]*)\.tar\.gz
  72. Download patch scripts/gadmin-samba-pdf

    --- 0.2.9-3/scripts/gadmin-samba-pdf 2006-12-02 13:25:22.000000000 +0000 +++ 0.3.2-0ubuntu2/scripts/gadmin-samba-pdf 2010-09-09 14:37:50.000000000 +0000 @@ -5,7 +5,7 @@ ### Install client printers as "HP Color Laserjet PS" ########## ### Any postscript laserjet printer will do but select color ### -OUTDIR="/home/pdf-documents" +OUTDIR="/var/lib/samba/pdf-documents" DATE=`date +%Y-%b-%d---%H.%M.%S` /usr/bin/ps2pdf12 $1 $OUTDIR/$DATE.pdf
  73. Download patch debian/patches/series

    --- 0.2.9-3/debian/patches/series 2010-11-28 19:38:43.000000000 +0000 +++ 0.3.2-0ubuntu2/debian/patches/series 2011-09-08 20:53:42.000000000 +0000 @@ -1,3 +1,4 @@ 01-examples.patch 02-icondir.patch 03-desktop.patch +04-spelling-in-binary.patch
  74. Download patch src/create_del_system_user_question.c

    --- 0.2.9-3/src/create_del_system_user_question.c 2009-11-18 10:21:44.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_del_system_user_question.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  75. Download patch debian/patches/02-icondir.patch

    --- 0.2.9-3/debian/patches/02-icondir.patch 2010-11-28 19:38:43.000000000 +0000 +++ 0.3.2-0ubuntu2/debian/patches/02-icondir.patch 2011-09-08 20:43:08.000000000 +0000 @@ -1,10 +1,11 @@ Author: Daniel Baumann <daniel@debian.org> Description: Adjusts icon directory. -diff -Naurp gadmin-samba.orig/Makefile.am gadmin-samba/Makefile.am ---- gadmin-samba.orig/Makefile.am 2009-08-19 20:23:26.000000000 +0000 -+++ gadmin-samba/Makefile.am 2009-08-20 07:46:04.000000000 +0000 -@@ -10,15 +10,15 @@ EXTRA_DIST = \ +Index: gadmin-samba-0.3.2/Makefile.am +=================================================================== +--- gadmin-samba-0.3.2.orig/Makefile.am 2011-09-09 02:45:47.592880610 +0700 ++++ gadmin-samba-0.3.2/Makefile.am 2011-09-09 02:46:34.942950058 +0700 +@@ -10,15 +10,15 @@ install-data-local: @$(NORMAL_INSTALL) if test -d $(srcdir)/pixmaps; then \ @@ -24,10 +25,11 @@ diff -Naurp gadmin-samba.orig/Makefile.a fi; if test -f $(DESTDIR)$(bindir)/consolehelper && test ! -f $(DESTDIR)$(bindir)/gadmin-samba; then \ ln -s $(DESTDIR)$(bindir)/consolehelper $(DESTDIR)$(bindir)/gadmin-samba; \ -diff -Naurp gadmin-samba.orig/Makefile.in gadmin-samba/Makefile.in ---- gadmin-samba.orig/Makefile.in 2009-08-19 20:23:26.000000000 +0000 -+++ gadmin-samba/Makefile.in 2009-08-20 07:46:04.000000000 +0000 -@@ -635,15 +635,15 @@ uninstall-am: +Index: gadmin-samba-0.3.2/Makefile.in +=================================================================== +--- gadmin-samba-0.3.2.orig/Makefile.in 2011-09-09 02:45:47.592880610 +0700 ++++ gadmin-samba-0.3.2/Makefile.in 2011-09-09 02:45:47.612880635 +0700 +@@ -714,15 +714,15 @@ install-data-local: @$(NORMAL_INSTALL) if test -d $(srcdir)/pixmaps; then \ @@ -47,10 +49,11 @@ diff -Naurp gadmin-samba.orig/Makefile.i fi; if test -f $(DESTDIR)$(bindir)/consolehelper && test ! -f $(DESTDIR)$(bindir)/gadmin-samba; then \ ln -s $(DESTDIR)$(bindir)/consolehelper $(DESTDIR)$(bindir)/gadmin-samba; \ -diff -Naurp gadmin-samba.orig/src/create_main_window.c gadmin-samba/src/create_main_window.c ---- gadmin-samba.orig/src/create_main_window.c 2009-08-19 20:23:26.000000000 +0000 -+++ gadmin-samba/src/create_main_window.c 2009-08-20 07:46:04.000000000 +0000 -@@ -55,7 +55,7 @@ void create_main_window(struct w *widget +Index: gadmin-samba-0.3.2/src/create_main_window.c +=================================================================== +--- gadmin-samba-0.3.2.orig/src/create_main_window.c 2011-09-09 02:45:47.412880346 +0700 ++++ gadmin-samba-0.3.2/src/create_main_window.c 2011-09-09 02:45:47.612880635 +0700 +@@ -51,7 +51,7 @@ g_free(info); /* Set the main window icon */
  76. Download patch src/allocate.h

    --- 0.2.9-3/src/allocate.h 2009-11-18 10:18:43.000000000 +0000 +++ 0.3.2-0ubuntu2/src/allocate.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  77. Download patch configure.in

    --- 0.2.9-3/configure.in 2010-03-13 14:53:13.000000000 +0000 +++ 0.3.2-0ubuntu2/configure.in 2011-02-18 15:43:44.000000000 +0000 @@ -2,7 +2,7 @@ dnl Process this file with autoconf to p AC_INIT(configure.in) -AM_INIT_AUTOMAKE(gadmin-samba, 0.2.9) +AM_INIT_AUTOMAKE(gadmin-samba, 0.3.2) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE @@ -66,7 +66,7 @@ AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[needed for gettext...]) dnl Add the languages which your application supports here. -ALL_LINGUAS="fr" +ALL_LINGUAS="fr de" AM_GLIB_GNU_GETTEXT dnl Use -Wall if we have gcc.
  78. Download patch src/delete_macct.h

    --- 0.2.9-3/src/delete_macct.h 2009-11-18 10:27:38.000000000 +0000 +++ 0.3.2-0ubuntu2/src/delete_macct.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  79. Download patch src/commands.c

    --- 0.2.9-3/src/commands.c 2010-03-13 14:51:08.000000000 +0000 +++ 0.3.2-0ubuntu2/src/commands.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  80. Download patch src/create_del_system_user_question.h

    --- 0.2.9-3/src/create_del_system_user_question.h 2009-11-18 10:21:53.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_del_system_user_question.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  81. Download patch src/add_change_user.c

    --- 0.2.9-3/src/add_change_user.c 2010-03-13 14:11:25.000000000 +0000 +++ 0.3.2-0ubuntu2/src/add_change_user.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,10 +46,11 @@ void clear_user_profile(struct w *widget { gchar *info; + /* Same default values as in functions.c's get_user_setting() */ gtk_entry_set_text(GTK_ENTRY(widgets->user_set_entry[0]), "user1"); gtk_entry_set_text(GTK_ENTRY(widgets->user_set_entry[1]), ""); gtk_entry_set_text(GTK_ENTRY(widgets->user_set_entry[2]), "group1"); - gtk_entry_set_text(GTK_ENTRY(widgets->user_set_entry[3]), "User 1"); + gtk_entry_set_text(GTK_ENTRY(widgets->user_set_entry[3]), _("Comment")); gtk_entry_set_text(GTK_ENTRY(widgets->user_set_entry[4]), "/dev/null"); /* Set account locked to the unlocked state */ @@ -92,9 +93,11 @@ void account_locked_checkbutton_clicked( if( ! smbuser_exists(username) ) { +/* Dont show this popup. info = g_strdup_printf(_("Can not lock or unlock a samba user that does not exist.\n")); show_info(info); g_free(info); +*/ return; } @@ -449,23 +452,22 @@ void add_change_user(struct w *widgets) // printf("Selected Shell: %s\n", shell); - /* Create directory: /var/samba/profiles/UserName */ - cmd = g_strdup_printf("mkdir -p %s/samba/profiles/%s", LOCALSTATEDIR, username); + /* Create directory: /var/lib/samba/profiles/UserName */ + cmd = g_strdup_printf("mkdir -p '%s/lib/samba/profiles/%s'", LOCALSTATEDIR, username); if( ! run_command(cmd) ) { - info = g_strdup_printf(_("Error creating directory: %s/samba/profiles/%s\n"), LOCALSTATEDIR, username); + info = g_strdup_printf(_("Error creating directory: %s/lib/samba/profiles/%s\n"), LOCALSTATEDIR, username); show_info(info); g_free(info); g_free(cmd); return; } g_free(cmd); - - /* Chown directory: /var/samba/profiles/UserName to this user:group */ - cmd = g_strdup_printf("chown %s:%s %s/samba/profiles/%s", username, groupname, LOCALSTATEDIR, username); + /* Chown directory: /var/lib/samba/profiles/UserName to this user:group */ + cmd = g_strdup_printf("chown %s:%s %s/lib/samba/profiles/%s", username, groupname, LOCALSTATEDIR, username); if( ! run_command(cmd) ) { - info = g_strdup_printf(_("Error chowning directory: %s/samba/profiles/%s\n"), LOCALSTATEDIR, username); + info = g_strdup_printf(_("Error chowning directory: %s/lib/samba/profiles/%s\n"), LOCALSTATEDIR, username); show_info(info); g_free(info); g_free(cmd);
  82. Download patch src/add_standard_users.c

    --- 0.2.9-3/src/add_standard_users.c 2010-03-13 14:07:13.000000000 +0000 +++ 0.3.2-0ubuntu2/src/add_standard_users.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -86,7 +86,7 @@ int add_standard_users() gchar *cmd, *info, *path, *conf, *name; /* SYSCONFDIR/samba is required */ - cmd = g_strdup_printf("mkdir -p %s/samba", SYSCONFDIR); + cmd = g_strdup_printf("mkdir -p '%s/samba'", SYSCONFDIR); if( ! run_command(cmd) ) { printf("Error creating directory: %s/samba\n", SYSCONFDIR);
  83. Download patch src/commands.h

    --- 0.2.9-3/src/commands.h 2010-03-13 14:44:52.000000000 +0000 +++ 0.3.2-0ubuntu2/src/commands.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  84. Download patch src/create_disc_tab.c

    --- 0.2.9-3/src/create_disc_tab.c 2009-11-18 10:22:02.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_disc_tab.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  85. Download patch src/add_change_user.h

    --- 0.2.9-3/src/add_change_user.h 2009-11-18 10:17:26.000000000 +0000 +++ 0.3.2-0ubuntu2/src/add_change_user.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  86. Download patch po/gadmin-samba.pot
  87. Download patch src/delete_share.c

    --- 0.2.9-3/src/delete_share.c 2009-11-18 10:27:47.000000000 +0000 +++ 0.3.2-0ubuntu2/src/delete_share.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  88. Download patch src/create_conn_tab.c

    --- 0.2.9-3/src/create_conn_tab.c 2009-11-18 10:21:25.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_conn_tab.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  89. Download patch src/add_standard_users.h

    --- 0.2.9-3/src/add_standard_users.h 2009-11-18 10:18:24.000000000 +0000 +++ 0.3.2-0ubuntu2/src/add_standard_users.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  90. Download patch Makefile.am

    --- 0.2.9-3/Makefile.am 2008-02-21 17:28:11.000000000 +0000 +++ 0.3.2-0ubuntu2/Makefile.am 2010-09-12 21:06:41.000000000 +0000 @@ -51,12 +51,22 @@ install-data-local: if test -d $(DESTDIR)$(bindir) && test ! -f $(DESTDIR)$(bindir)/gadmin-samba-pdf; then \ cp scripts/gadmin-samba-pdf $(bindir)/; \ fi; - @echo Installing example logon script to static /home/netlogon. - if test ! -d /home/netlogon; then \ - mkdir -p /home/netlogon; \ + @echo Installing example logon script to $(DESTDIR)$(localstatedir)/lib/samba/netlogon. + if test ! -d $(DESTDIR)$(localstatedir)/lib/samba/netlogon; then \ + $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/samba/netlogon; \ fi; - if test -d /home/netlogon && test ! -f /home/netlogon/example.bat; then \ - cp scripts/example.bat /home/netlogon/; \ + if test -d $(DESTDIR)$(localstatedir)/lib/samba/netlogon && \ + test ! -f $(DESTDIR)$(localstatedir)/lib/samba/netlogon/example.bat; then \ + cp scripts/example.bat $(DESTDIR)$(localstatedir)/lib/samba/netlogon/; \ + chmod a+r $(DESTDIR)$(localstatedir)/lib/samba/netlogon/example.bat; \ + fi; + @echo Creating the profiles directory $(DESTDIR)$(localstatedir)/lib/samba/profiles. + if test ! -d $(DESTDIR)$(localstatedir)/lib/samba/profiles; then \ + $(mkinstalldirs) -m 1755 $(DESTDIR)$(localstatedir)/lib/samba/profiles; \ + fi; + @echo Creating the pdf-documents directory $(DESTDIR)$(localstatedir)/lib/samba/pdf-documents. + if test ! -d $(DESTIR)$(localstatedir)/lib/samba/pdf-documents; then \ + $(mkinstalldirs) -m 1755 $(DESTDIR)$(localstatedir)/lib/samba/pdf-documents; \ fi; @echo "" @echo "Start GADMIN-SAMBA by typing gadmin-samba in a terminal"
  91. Download patch src/create_macct_settings.c

    --- 0.2.9-3/src/create_macct_settings.c 2009-11-18 10:23:07.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_macct_settings.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  92. Download patch src/create_disc_tab.h

    --- 0.2.9-3/src/create_disc_tab.h 2009-11-18 10:22:10.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_disc_tab.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  93. Download patch src/delete_share.h

    --- 0.2.9-3/src/delete_share.h 2009-11-18 10:27:56.000000000 +0000 +++ 0.3.2-0ubuntu2/src/delete_share.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  94. Download patch src/create_conn_tab.h

    --- 0.2.9-3/src/create_conn_tab.h 2009-11-18 10:21:34.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_conn_tab.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  95. Download patch desktop/gadmin-samba.desktop

    --- 0.2.9-3/desktop/gadmin-samba.desktop 2008-02-21 17:08:39.000000000 +0000 +++ 0.3.2-0ubuntu2/desktop/gadmin-samba.desktop 2010-08-23 22:32:46.000000000 +0000 @@ -15,6 +15,7 @@ Name[ro]=GADMIN-SAMBA Name[zh_TW]=GADMIN-SAMBA GenericName=GADMIN-SAMBA Comment=SAMBA file, print and domain server administration +Comment[de]=SAMBA Datei-, Druck- und Domänen-Kontroller Verwaltung Exec=gadmin-samba Icon=gadmin-samba.png Terminal=false
  96. Download patch src/create_macct_settings.h

    --- 0.2.9-3/src/create_macct_settings.h 2009-11-18 10:23:17.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_macct_settings.h 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  97. Download patch src/add_macct.c

    --- 0.2.9-3/src/add_macct.c 2010-03-13 12:22:41.000000000 +0000 +++ 0.3.2-0ubuntu2/src/add_macct.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  98. Download patch src/deactivate_button_clicked.c

    --- 0.2.9-3/src/deactivate_button_clicked.c 2009-11-18 10:27:11.000000000 +0000 +++ 0.3.2-0ubuntu2/src/deactivate_button_clicked.c 2011-02-18 21:55:48.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
  99. Download patch Makefile.in

    --- 0.2.9-3/Makefile.in 2010-03-13 14:53:46.000000000 +0000 +++ 0.3.2-0ubuntu2/Makefile.in 2011-02-18 15:46:55.000000000 +0000 @@ -154,6 +154,7 @@ PACKAGE_LIBS = @PACKAGE_LIBS@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ @@ -754,12 +755,22 @@ install-data-local: if test -d $(DESTDIR)$(bindir) && test ! -f $(DESTDIR)$(bindir)/gadmin-samba-pdf; then \ cp scripts/gadmin-samba-pdf $(bindir)/; \ fi; - @echo Installing example logon script to static /home/netlogon. - if test ! -d /home/netlogon; then \ - mkdir -p /home/netlogon; \ - fi; - if test -d /home/netlogon && test ! -f /home/netlogon/example.bat; then \ - cp scripts/example.bat /home/netlogon/; \ + @echo Installing example logon script to $(DESTDIR)$(localstatedir)/lib/samba/netlogon. + if test ! -d $(DESTDIR)$(localstatedir)/lib/samba/netlogon; then \ + $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/samba/netlogon; \ + fi; + if test -d $(DESTDIR)$(localstatedir)/lib/samba/netlogon && \ + test ! -f $(DESTDIR)$(localstatedir)/lib/samba/netlogon/example.bat; then \ + cp scripts/example.bat $(DESTDIR)$(localstatedir)/lib/samba/netlogon/; \ + chmod a+r $(DESTDIR)$(localstatedir)/lib/samba/netlogon/example.bat; \ + fi; + @echo Creating the profiles directory $(DESTDIR)$(localstatedir)/lib/samba/profiles. + if test ! -d $(DESTDIR)$(localstatedir)/lib/samba/profiles; then \ + $(mkinstalldirs) -m 1755 $(DESTDIR)$(localstatedir)/lib/samba/profiles; \ + fi; + @echo Creating the pdf-documents directory $(DESTDIR)$(localstatedir)/lib/samba/pdf-documents. + if test ! -d $(DESTIR)$(localstatedir)/lib/samba/pdf-documents; then \ + $(mkinstalldirs) -m 1755 $(DESTDIR)$(localstatedir)/lib/samba/pdf-documents; \ fi; @echo "" @echo "Start GADMIN-SAMBA by typing gadmin-samba in a terminal"
  100. Download patch src/create_main_window.c

    --- 0.2.9-3/src/create_main_window.c 2010-03-11 16:48:31.000000000 +0000 +++ 0.3.2-0ubuntu2/src/create_main_window.c 2011-02-18 22:02:04.000000000 +0000 @@ -1,5 +1,5 @@ /* GADMIN-SAMBA, an easy to use GTK+ frontend for the SAMBA file and print server. - * Copyright (C) 2006 - 2009 Magnus Loef <magnus-swe@telia.com> + * Copyright (C) 2006 - 2011 Magnus Loef <magnus-swe@telia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ #include "credits_window.h" #include "activate_button_clicked.h" #include "deactivate_button_clicked.h" -#include "reread_button_clicked.h" +#include "apply_button_clicked.h" #include "show_help.h" #include "settings_window.h" @@ -107,16 +107,16 @@ void create_main_window(struct w *widget G_CALLBACK(deactivate_button_clicked), widgets); - /* Reread button */ - GtkWidget *toolbar_reread_icon = gtk_image_new_from_stock("gtk-refresh", + /* Apply button */ + GtkWidget *toolbar_apply_icon = gtk_image_new_from_stock("gtk-refresh", gtk_toolbar_get_icon_size(GTK_TOOLBAR(main_toolbar))); - GtkWidget *reread_button = gtk_toolbar_append_element(GTK_TOOLBAR(main_toolbar), + GtkWidget *apply_button = gtk_toolbar_append_element(GTK_TOOLBAR(main_toolbar), GTK_TOOLBAR_CHILD_BUTTON, - NULL, _("Reread"), + NULL, _("Apply"), NULL, NULL, - toolbar_reread_icon, NULL, NULL); - g_signal_connect_swapped(G_OBJECT(reread_button), "clicked", - G_CALLBACK(reread_button_clicked), widgets); + toolbar_apply_icon, NULL, NULL); + g_signal_connect_swapped(G_OBJECT(apply_button), "clicked", + G_CALLBACK(apply_button_clicked), widgets); /* Settings button */ @@ -143,8 +143,8 @@ void create_main_window(struct w *widget G_CALLBACK(show_help), widgets); - /* About/Credits button */ - GtkWidget *toolbar_icon_about = gtk_image_new_from_stock("gtk-justify-center", + /* About button */ + GtkWidget *toolbar_icon_about = gtk_image_new_from_stock("gtk-about", gtk_toolbar_get_icon_size(GTK_TOOLBAR(main_toolbar))); GtkWidget *about_button = gtk_toolbar_append_element(GTK_TOOLBAR(main_toolbar), GTK_TOOLBAR_CHILD_BUTTON, @@ -194,7 +194,7 @@ void create_main_window(struct w *widget GtkWidget *resource_label = gtk_label_new(_("Shares")); GtkWidget *maccts_label = gtk_label_new(_("Machines")); - GtkWidget *dom_mgmt_label = gtk_label_new(_("Domain management")); + GtkWidget *dom_mgmt_label = gtk_label_new(_("Domains")); GtkWidget *conn_label = gtk_label_new(_("Connections"));
  101. ...
  1. gadmin-samba