Patch for printers browser, samba3.0.2pre1

Jianliang Lu j.lu at tiesse.com
Fri Jan 16 09:15:16 GMT 2004


This patch will solve the problem of printers listing when you use the add 
printer wizard to add a samba shared printer to your windows workstation.

Cheers,
Jianliang Lu

patch:

--- samba-3.0.2pre1/source/param/loadparm.c.orig    Fri Jan 16 09:30:51 2004
+++ samba-3.0.2pre1/source/param/loadparm.c Fri Jan 16 09:39:46 2004
@@ -4094,6 +4094,7 @@
    default_server_announce |= SV_TYPE_WORKSTATION;
    default_server_announce |= SV_TYPE_SERVER;
    default_server_announce |= SV_TYPE_SERVER_UNIX;
+   default_server_announce |= SV_TYPE_PRINTQ_SERVER;

    switch (lp_announce_as()) {
        case ANNOUNCE_AS_NT_SERVER:


--------------------------------------
TieSse s.p.a.     Ivrea (To) - Italy
j.lu at tiesse.com   luj at libero.it
http://www.tiesse.com


More information about the samba-technical mailing list