ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Peter V. Saveliev" <peet@infosite.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] (SOS) Samba printer - how to share...
Date: Wed Oct  3 16:00:01 2001
Message-ID: <20011003160026.64508cca.peet@infosite.ru> (raw)

Hello!

Задача:
 с помощью самбы зашарить принтер. Но все хуже.

- драйвера должны предоставляться клиентами.
- доступ можно открыть полный для ограниченного круга IP.

Как это можно сделать? Samba-printing-howto повергла меня в тяжелое
медитативное состояние.

Пока так:

<skip>
;;;----------------------------------------------------------
;;; Server options:

security = share
local master = no
preferred master = no
domain master = no
os level = 30
allow trusted domains = yes
netbios name = TINEA

;;; Domain options:

workgroup = WORKGROUP
server string = InfoCentre SMB Server (%v)
;;;----------------------------------------------------------

socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192


;;;----------------------------------------------------------
;;; Shares:

;;; Printer prototype
[print$]
   comment = SMB printer
   path = /usr/local/samba/printers
   browseable = yes
   printable = yes
   guest ok = yes
   read only = yes


;;; smb.conf ends here.

Имя рабочей группы совпадает с именем домена, поэтому без авторизации
юзер попадает прямо на ресурс. Принтер не подключен и не настроен, так
как по условиям задачи - есть LPT, принтер, а драйвера втыкаются клиентом.
Содержание логов:

[2001/10/03 15:49:50, 0] smbd/service.c:make_connection(239)
   XX (192.168.1.X) couldn't find service::{2227a280-3aea-1069-a2de-08002b30309d}

Содержание /etc/printcap при такой раскладке к делу не относится, или я не прав?


SOS.
--
Петр.



             reply	other threads:[~2001-10-03 16:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-03 16:00 Peter V. Saveliev [this message]
2001-10-03 16:36 ` Peter V. Saveliev
2001-10-04 18:19 ` Вадим Илларионов
2001-10-05 11:38   ` Peter V. Saveliev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011003160026.64508cca.peet@infosite.ru \
    --to=peet@infosite.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git