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

Karolin Seeger kseeger at samba.org
Mon Aug 23 03:14:05 MDT 2010


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

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


- Log -----------------------------------------------------------------
commit bb92b0e1571e4766ab20bb3eea53f9e7f9567a5f
Author: Jim McDonough <jmcd at samba.org>
Date:   Mon Aug 23 11:13:06 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