Принтер в состоянии (нет доступа, подключение невозмож

Проблемы установки, настройки и работы Правильной Операционной Системы

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
densan
ст. сержант
Сообщения: 370
Зарегистрирован: 2007-12-06 10:02:02
Откуда: Penza
Контактная информация:

Принтер в состоянии (нет доступа, подключение невозможно)

Непрочитанное сообщение densan » 2007-12-06 16:48:38

Ставлю по ставтье http://www.lissyara.su/?id=1514 FreeBSD 6.2, samba-3.0.26a_2,1, cups-base-1.3.3_2., cups-samba не ставил.
Подключаюсь с виндовс машины к принтеру драйвера беру с диска, все проходит хорошо, в принтер с состоянии "нет доступа, подключение невозможно", печать идет :), но надпись состояния нервирует.

Код: Выделить всё

[global]
	dos charset = cp866
	unix charset = koi8-r
	display charset = cp866
	workgroup = PNZ
	realm = PNZ.LOCAL
	server string = Samba Server
	security = ADS
	auth methods = winbind
	map to guest = Bad User
	password server = 172.17.5.20
	client lanman auth = No
	client plaintext auth = No
	log file = /var/log/samba/log.%m
	max log size = 50
	client signing = Yes
	printcap name = cups
	preferred master = No
	local master = No
	domain master = No
	dns proxy = No
	ldap ssl = no
	usershare allow guests = Yes
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	winbind enum users = Yes
	winbind enum groups = Yes
	winbind use default domain = Yes
	winbind refresh tickets = Yes
	acl group control = Yes
	hosts allow = 172.17.5., 127.
	map acl inherit = Yes
	printing = cups
	print command = 
	lpq command = %p
	lprm command = 
	case sensitive = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	printer admin = root, @da, @support
	guest ok = Yes
	printable = Yes
	browseable = No

[vol0]
	comment = vol0
	path = /usr/vol0
	valid users = @PNZ\volodar_user
	admin users = @PNZ\support
	read only = No
	inherit permissions = Yes
	inherit acls = Yes
	inherit owner = Yes

[HP3052]
	path = /var/spool/samba
	printer admin = root, @da, @support
	read only = No
	guest ok = Yes
	printable = Yes
	printer name = HP3052
	oplocks = No
	share modes = No

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info

# Administrator user group...
SystemGroup wheel


# Only listen for connections from the local machine.
Listen localhost:631
Listen 172.17.5.99:631
uten /var/run/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow localhost
  Allow 172.17.5.*
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Encryption Required
  Order allow,deny
  Allow localhost
  Allow 172.17.5.*
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
  Allow 172.17.5.*
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
Последний раз редактировалось Alex Keda 2007-12-06 20:45:00, всего редактировалось 1 раз.
Причина: Товарищщи, цените чужое время, юзайте кнопочку [code]...

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35427
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Принтер в состоянии (нет доступа, подключение невозмож

Непрочитанное сообщение Alex Keda » 2009-03-08 23:03:22

забить? =)
Убей их всех! Бог потом рассортирует...