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

Karolin Seeger kseeger at samba.org
Mon Aug 23 03:15:11 MDT 2010


The branch, v3-4-test has been updated
       via  9c3537b... s3-printing: fix BUG 7280 - auto printers not loading with registry config
      from  9812b1a... Fix bug 7590 - offline login fails because winbind deletes cache on every startup.

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


- Log -----------------------------------------------------------------
commit 9c3537b6d8b2ea36265d3a69f7e90278cb86dbfb
Author: Jim McDonough <jmcd at samba.org>
Date:   Mon Aug 23 11:14:47 2010 +0200

    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 fc21f27..874f7f2 100644
--- a/source3/printing/load.c
+++ b/source3/printing/load.c
@@ -31,6 +31,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