Samba - SVR4 UNIX and WIN NT servers in same network.
Jeremy Allison
jeremy at valinux.com
Mon Nov 27 19:10:08 GMT 2000
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.
--------------------------------------------------------
More information about the samba
mailing list