RFc Networking e Informatica
Pubblicata su RFc Networking e Informatica (https://www.rfc.it)

Home > Problemi a stampare con samba

Problemi a stampare con samba

Inviato da Marco il Gio, 21/07/2011 - 11:19

Non riesco a stampare dai client Windows attraverso il server samba. Sono riuscito a caricare i driver per Windows sul server, quando collego per la prima volta un PC Windows vengono scaricati e installati in locale, posso modificare le impostazioni ma quando stampo la pagina di prova ricevo l'errore "La stampa della pagina di prova non e riuscita. Impossibile completare l'operazione".
Di seguito il mio file smb.conf: Uso SLES11 SP1.

[global]
workgroup = COSTA
printing = cups
printcap name = cups
load printers = yes
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U
logon drive = P:
usershare allow guests = No
idmap gid = 10000-20000
idmap uid = 10000-20000
realm = COSTA.IT
security = ADS
template homedir = /home/%D/%U
winbind refresh tickets = yes
wins server = 192.168.1.25
wins support = No
username map = /etc/samba/smbusers
template shell = /bin/bash
passdb backend = smbpasswd
map untrusted to domain = yes
printer admin = "COSTA\administrator" root administrator

## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes

[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700

## Share disabled by YaST
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/

## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = Yes
read only = No
force printername = yes
admin users = root administrator "COSTA\administrator"

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root administrator "@COSTA\domain admins" "COSTA\administrator"
force group = ntadmin
create mask = 0664
directory mask = 0775
read only = No
browseable = Yes
guest ok = Yes
use client driver = no

[dati]
comment = Dati Utenti
inherit acls = Yes
force security mode = 0600
path = /srv/dati
read only = No
# profile acl = yes
nt acl support = yes

Qualcuno ha qualche suggerimento?

Forums: 
Linux [1]

RFc -Restori Fabrizio Consulenze-  S.da Buffolara, 67 -43126 Parma- Tel. +39 335 240228 Fax +39 0521 940035   P.IVA 01788460341

webmaster: Fabrizio
Note

var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-37939674-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
var _paq = _paq || []; _paq.push(["trackPageView"]); _paq.push(["enableLinkTracking"]); (function() { var u=(("https:" == document.location.protocol) ? "https" : "http") + "://www.rfc.it/piwik/"; _paq.push(["setTrackerUrl", u+"piwik.php"]); _paq.push(["setSiteId", "1"]); var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); })();

URL di origine:https://www.rfc.it/content/problemi-stampare-con-samba

Links
[1] https://www.rfc.it/forums/informatica/linux-suse-e-affini