svn commit: samba r16703 - in branches/SAMBA_3_0_RELEASE: . source/printing

jerry at samba.org jerry at samba.org
Thu Jun 29 22:41:10 GMT 2006


Author: jerry
Date: 2006-06-29 22:41:06 +0000 (Thu, 29 Jun 2006)
New Revision: 16703

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16703

Log:
add crash fix in printer publishing code
Modified:
   branches/SAMBA_3_0_RELEASE/WHATSNEW.txt
   branches/SAMBA_3_0_RELEASE/source/printing/nt_printing.c


Changeset:
Modified: branches/SAMBA_3_0_RELEASE/WHATSNEW.txt
===================================================================
--- branches/SAMBA_3_0_RELEASE/WHATSNEW.txt	2006-06-29 22:37:45 UTC (rev 16702)
+++ branches/SAMBA_3_0_RELEASE/WHATSNEW.txt	2006-06-29 22:41:06 UTC (rev 16703)
@@ -162,6 +162,8 @@
 o   Gerald (Jerry) Carter <jerry at samba.org>
     * Use system provided killproc() in RedHat init scripts for 
       more robust shutdown.
+    * Fix a crash in the printer publishing code when adding a 
+      new printer via the APW.
 
 
 o   Guenther Deschner <gd at samba.org>

Modified: branches/SAMBA_3_0_RELEASE/source/printing/nt_printing.c
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/printing/nt_printing.c	2006-06-29 22:37:45 UTC (rev 16702)
+++ branches/SAMBA_3_0_RELEASE/source/printing/nt_printing.c	2006-06-29 22:41:06 UTC (rev 16703)
@@ -3169,7 +3169,7 @@
 		goto done;
 	}
 
-	ads = ads_init(NULL, NULL, NULL);
+	ads = ads_init(lp_realm(), lp_workgroup(), NULL);
 	if (!ads) {
 		DEBUG(3, ("ads_init() failed\n"));
 		win_rc = WERR_SERVER_UNAVAILABLE;



More information about the samba-cvs mailing list