[SCM] Samba Shared Repository - branch master updated

Günther Deschner gd at samba.org
Mon Dec 7 06:42:20 MST 2009


The branch, master has been updated
       via  a367b2b... s3-spoolss: a default printer should have at least a "PrintDriverData" key.
      from  1bc83b9... s3-winreg: fill in some inline comments.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit a367b2b5df30b92ccacc4fc15c07c1fd955c7d5b
Author: Günther Deschner <gd at samba.org>
Date:   Fri Dec 4 17:22:25 2009 +0100

    s3-spoolss: a default printer should have at least a "PrintDriverData" key.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source3/printing/nt_printing.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 5f5f344..553eed6 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -3833,6 +3833,13 @@ static WERROR get_a_printer_2_default(NT_PRINTER_INFO_LEVEL_2 *info,
 		goto fail;
 	}
 
+	info->data = TALLOC_ZERO_P(info, NT_PRINTER_DATA);
+	if (!info->data) {
+		goto fail;
+	}
+
+	add_new_printer_key(info->data, SPOOL_PRINTERDATA_KEY);
+
 	return WERR_OK;
 
 fail:


-- 
Samba Shared Repository


More information about the samba-cvs mailing list