Jeremy Allison
2000-Nov-27 19:10 UTC
Samba - SVR4 UNIX and WIN NT servers in same network.
Allan Reid wrote:> > My question is how do I get UNIX machines running Samba to NOT show up in a > network list of printers. > > On my WIN 2000 PC I do Start/Settings/Printers > > Then I select Add Printer and select Network Printer and browse for > printers available on the network. > > I recieve a display of about 6 UNIX machines including SVR4, HP UNIX, SUN > SOLARIS, UNIXWARE7. > > The main problem is that it takes a long time for the output to be > displayed. There are no printers on the UNIX machines. We use NT > printers.Make the following change to the 2.0.7 source code : We could make this a parameter for 2.2. What do people think of this idea ? Regards, Jeremy Allison, Samba Team. ----------------------------------------------------------- Index: param/loadparm.c ==================================================================RCS file: /data/cvs/samba/source/param/loadparm.c,v retrieving revision 1.170.2.23.2.15 diff -u -r1.170.2.23.2.15 loadparm.c --- param/loadparm.c 2000/04/21 17:43:12 1.170.2.23.2.15 +++ param/loadparm.c 2000/11/27 19:04:51 @@ -2916,7 +2916,7 @@ static void set_default_server_announce_type(void) { default_server_announce = (SV_TYPE_WORKSTATION | SV_TYPE_SERVER | - SV_TYPE_SERVER_UNIX | SV_TYPE_PRINTQ_SERVER); + SV_TYPE_SERVER_UNIX); if(lp_announce_as() == ANNOUNCE_AS_NT_SERVER) default_server_announce |= (SV_TYPE_SERVER_NT | SV_TYPE_NT); if(lp_announce_as() == ANNOUNCE_AS_NT_WORKSTATION) -- -------------------------------------------------------- Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. --------------------------------------------------------
Jeremy Allison wrote:> > > I recieve a display of about 6 UNIX machines > > including SVR4, HP UNIX, SUN SOLARIS, UNIXWARE7. > > > > The main problem is that it takes a long time for > > the output to be displayed. There are no printers > > on the UNIX machines. We use NT printers. > > Make the following change to the 2.0.7 source code : > > We could make this a parameter for 2.2. What do people think of > this idea ?You've got my vote. -- jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )