summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-11-15 21:54:50 +0000
committerGerald Carter <jerry@samba.org>2004-11-15 21:54:50 +0000
commita3408d7781f739acc84bac292b218ece2e43eb37 (patch)
treea932758a72f21dec7eda1558ebd54b0c320c6de8
parentf2570b3bdd0285ef8e7eeee935c6001c592cd774 (diff)
downloadsamba-a3408d7781f739acc84bac292b218ece2e43eb37.tar.gz
samba-a3408d7781f739acc84bac292b218ece2e43eb37.tar.xz
samba-a3408d7781f739acc84bac292b218ece2e43eb37.zip
r3775: missed one important change from 3.0; also update release notes some more
-rw-r--r--WHATSNEW.txt49
-rw-r--r--source/printing/nt_printing.c2
2 files changed, 50 insertions, 1 deletions
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 55aa893923e..052b8237f48 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -27,10 +27,59 @@ commits
-------
o Jeremy Allison <jra@samba.org>
+ * Correctly detect errno for no acl/ea support.
+ * BUG 2036: Fix seg fault in 'net ads join'.
+
o Gerald (Jerry) Carter <jerry@samba.org>
+ * Solaris packaging fixes.
+ * Fix seg fault in lanman printing code.
+ * BUG 2017: fix testparm reporting for the passwd program
+ string.
+ * Fix output of smbstatus to match the man page.
+ * BUG 2027: fix conflict with declaration MD5_CTX in system
+ headers.
+ * 2028: Avoid false error messages when copying a long
+ printer name to the device mode.
+
+
+o Guenther Deschner <gd@samba.org>
+ * Allow deldriverex in rpcclient to delete drivers for a
+ specific architecture and a specific version.
+ * Fix a couple of rpcclient spoolss commands (setprinter,
+ setprintername, getdriver) w.r.t to printer-naming scheme.
+ Allow 'localhost' in the server string for certain server-side
+ spoolss functions.
+ * BUG 2015: Do not fail on setting file attributes with
+ acl support enabled.
+
+
+o Michel Gravey <michel.gravey@optogone.com>
+ * Fix build when using gcc 3.0.
+
+
+o Volker Lendecke <vl@samba.org>
+ * Fix tdb open logic when checking our local_pid after
+ the fork().
+o Jim McDonough <jmcd@us.ibm.com>
+ * BUG 1932: Fix crash in 'net getlocalsid' when run as
+ non-root user.
+
+
+o Luke Mewburn <lukem@NetBSD.org>
+ BUG 1661: Fix KRB5_SETPW-defines
+
+
+o Lars Müller <lmuelle@suse.de>
+ * BUG 2013: Fix unresolved symbols in libsmbclient.so.
+
+
+o Martin Zielinski <mz@seh.de>
+ * Add DeletePrinterDriverEx() functionality to rpcclient.
+
+
Changes for older versions follow below:
--------------------------------------------------
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index 3ff2d517336..6ab8b76f144 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -3428,7 +3428,7 @@ static WERROR get_a_printer_2(NT_PRINTER_INFO_LEVEL_2 **info_ptr, const char *se
info.devmode = construct_nt_devicemode(printername);
}
- safe_strcpy(adevice, info.printername, sizeof(adevice)-1);
+ slprintf( adevice, sizeof(adevice), "%s", info.printername );
if (info.devmode) {
fstrcpy(info.devmode->devicename, adevice);
}