Couple of Samba questions (SAMBA digest 2088)

Ludek Babor Babor at Glavunion.cz
Fri May 14 09:23:31 GMT 1999


> Date: Tue, 11 May 1999 10:43:15 -0700 (PDT)
> From: Steve Mertz <stevem at kwantlen.bc.ca>
> To: samba at samba.org
> Subject: Couple of Samba questions.
> Message-ID:
> <Pine.LNX.3.96.990511103951.132O-100000 at grasshopper.kwantlen.bc.ca>
> 
> I have a couple questions about Samba.
> 
> 3) Is there away to seperate the directory shares from the printer shares
>    so that they don't end up all bungled together?  Would this require
>    running two samba servers on the unix box.  One for directories and
>    one for the printers? or is there an easier/better way?

You can use multiple identity for SAMBA server, like this:
smb.conf:
[global]
  netbios aliases = SERVER1 SERVER2
  include = /usr/local/samba/lib/smb.conf.%L

smb.conf.server1: (must be in lower case)
[share1]
....
[share2]
....

smb.conf.server2:
[printer1]
....
[printer2]
....

Restart NMBD and SMBD processes.
And now are on network two hosts (SERVER1 and SERVER2). Physically it's 
only one machine.
In SERVER1 users can see only shares and in SERVER2 only printers.

Best regards
	Ludek Babor			E-Mail: Babor at Glavunion.cz
	operation manager		E-Mail: Ludek.Babor at cz.glaverbel.com
	Glaverbel Czech, a.s., Teplice	Tel: +420-417-503085 (+420-602-388003)
	Sklarska 450			Fax: +420-417-508085
	416 74 Teplice			FIDO: 2:423/74.13

	PGP key available from PGP key servers (http://www.pgp.net/pgpnet)

	I use MIME ISO-8859-2 friendly software.


More information about the samba mailing list