[Samba-it] (no subject)
g.sportelli at istitutomartuscelli.it
g.sportelli at istitutomartuscelli.it
Wed Jan 18 18:51:01 MST 2006
salve ho ancora problemi con la stampante in rete con samba
Riepilogo aggiornato
Server Suse samba 3.0.20a con dhcp sopra funzione PDC
Stampante di rete canon lbp 2000 con cups funzionante in linux
la con di samba è semplice semplice
login as: alunni
Using keyboard-interactive authentication.
Password:
smb.conf [----] 37 L:[ 1+ 6 7/ 96] *(180 /2424b)= . 10 0x0A
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2005/12/13 18:53:36
[global]
printing = cups
load printers = yes
printcap name = /etc/cups/printcap
printcap cache time = 750
cups options = raw
workgroup = ISTITUTO
server string = Samba Server
interfaces = eth0, eth1, lo
map to guest = Bad User
null passwords = Yes
passdb backend = tdbsam:/var/lib/samba/passdb.tdb
guest account = alunni
pam password change = Yes
username map = /etc/samba/smbusers
log level = 3
log file = /var/log/samba/%m.log
max log size = 10
name resolve order = wins hosts lmhosts bcast
time server = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192
SO_RC
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody
-s /bin
logon script = users.bat
logon path = \\%L\profiles\%U
logon drive = P:
logon home = \\%L\%U\.9xprofile
domain logons = yes
os level = 255
preferred master = yes
domain master = yes
wins support = Yes
admin users = gsportelli
veto files = /*.eml/*.nw+s/*.(*)/
hide files = /*.ini/
veto oplock files = /*.mdb/*.doc/*.xls
local master = yes
encrypt passwords = yes
security = user
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0640
directory mask = 0750
inherit permissions = Yes
browseable = no
guest ok = no
printable = no
[samba]
comment = Cartella Pacchetti Installazione
path = /samba
read only = No
create mask = 0777
directory mask = 0777
browseable = yes
guest ok = no
printable = no
[prog]
comment = Cartella Programmi
path = /prog
read only = No
create mask = 0777
directory mask = 0777
browseable = yes
guest ok = no
printable = no
[prog]
comment = Cartella Programmi
path = /prog
read only = No
create mask = 0777
directory mask = 0777
browseable = yes
guest ok = no
printable = no
[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
profile acls = Yes
directory mask = 0700
profile acls = Yes
store dos attributes = Yes
browseable = yes
guest ok = no
printable = no
[netlogon]
write list = gsportelli, root, @ntadmin
guest ok = yes
browseable = yes
comment = Servizi di rete per il login
path = /samba/netlogon
printable = no
[printers]
comment = Stampante di Rete
browseable = no
public = yes
guest ok = yes
printable = yes
path = /var/tmp
;; valid users = %u
writeable = no
questo è il file di config.
il log di smbd quando si invia una stampa da xp sp2
reload status: ok
[2006/01/18 15:46:50, 3]
printing/printing.c:print_queue_update_internal(1144)
print_queue_update_internal: 0 jobs in queue for canon2000
[2006/01/18 16:06:44, 3] smbd/process.c:check_reload(1347)
Printcap cache time expired.
[2006/01/18 16:06:44, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2006/01/18 16:06:44, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2006/01/18 17:40:00, 3] smbd/process.c:check_reload(1347)
Printcap cache time expired.
[2006/01/18 17:40:00, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2006/01/18 17:40:00, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2006/01/18 17:57:25, 3] smbd/process.c:check_reload(1347)
Printcap cache time expired.
[2006/01/18 17:57:25, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2006/01/18 17:57:25, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2006/01/18 18:26:10, 3] smbd/process.c:check_reload(1347)
e questo è un pezzo di log di un pc che non stampa
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/18 18:50:30, 3] smbd/process.c:process_smb(1114)
Transaction 990 of length 406
[2006/01/18 18:50:30, 3] smbd/process.c:switch_message(900)
switch message SMBtrans (pid 16664) conn 0x83b3b68
[2006/01/18 18:50:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (1004, 101) - sec_ctx_stack_ndx = 0
[2006/01/18 18:50:30, 3] smbd/ipc.c:reply_trans(539)
trans <\PIPE\> data=318 params=0 setup=2
[2006/01/18 18:50:30, 3] smbd/ipc.c:named_pipe(334)
named pipe command on <> name
[2006/01/18 18:50:30, 3] smbd/ipc.c:api_fd_reply(294)
Got API command 0x26 on pipe "spoolss" (pnum 7536)
[2006/01/18 18:50:30, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(540)
free_pipe_context: destroying talloc pool of size 0
[2006/01/18 18:50:30, 3] rpc_server/srv_pipe.c:api_rpcTNP(1550)
api_rpcTNP: rpc command: SPOOLSS_ADDPRINTEREX
[2006/01/18 18:50:30, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(540)
free_pipe_context: destroying talloc pool of size 270
[2006/01/18 18:51:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Dal buon funzioanamento di sta stampante
Grazie per l'aiuto
Ps mi scuso anticipatamente per la lunghezza del messg
More information about the samba-it
mailing list