[SCM] Samba Shared Repository - branch v3-6-test updated

Jim McDonough jmcd at samba.org
Mon Aug 16 12:12:42 MDT 2010


The branch, v3-6-test has been updated
       via  f1fed29... s3-printing: fix BUG 7280 - auto printers not loading with registry config
      from  a21b0b2... s3:idmap: fix sid_to_unixid for builtin and own domain.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit f1fed298d80a3170f4fdec22ee06b4625a6876f9
Author: Jim McDonough <jmcd at samba.org>
Date:   Mon Aug 16 14:07:44 2010 -0400

    s3-printing: fix BUG 7280 - auto printers not loading with registry
    config

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

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


Changeset truncated at 500 lines:

diff --git a/source3/printing/load.c b/source3/printing/load.c
index 99b5226..76265b5 100644
--- a/source3/printing/load.c
+++ b/source3/printing/load.c
@@ -32,6 +32,10 @@ static void add_auto_printers(void)
 	char *saveptr;
 
 	if (pnum < 0)
+		if (process_registry_service(PRINTERS_NAME))
+			pnum = lp_servicenumber(PRINTERS_NAME);
+
+	if (pnum < 0)
 		return;
 
 	if ((str = SMB_STRDUP(lp_auto_services())) == NULL)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list