Hi,
I'm using debian woody with samba (2.2.3a-12.3). After installing
2.2.8a everything that worked, still works. What didn't work, still
doesn't work.
Sharing files works properly.
I'd like to share a printer via the samba server. When I go to the
printers&faxes share in explorer, no printers are shown.
Hereunder is my smb.conf, /etc/lprng/printcap, and the logfile that
contains errors in relation to the printers (i get them when i go to
printers&faxes):
start smb.conf:
[global]
netbios name = ULYSSES
workgroup = ULYSSESL
server string = %h server (Samba %v)
load printers = yes
printing = lprng
printcap name = /etc/lprng/printcap
invalid users = root
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
security = user
encrypt passwords = true
printer admin = marc
hide dot files = yes
local master = yes
os level = 64
domain master = auto
domain logons = yes
logon path = \\%N\profiles\%u
logon drive = U:
logon home = \\%N\%u
logon script = %u.bat
preferred master = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
[homes]
comment = Home Directories
browseable = no
writable = yes
create mask = 0700
directory mask = 0700
hide dot files = yes
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = no
share modes = no
[profiles]
comment = Profiles for the users
path = /home/samba/profiles
writable = yes
create mask = 0600
directory mask = 0700
[print$]
comment = printer driver download area
path = /home/samba/printers
browsable = yes
guest ok = yes
read only = yes
create mask = 0644
directory mask = 755
write list = marc
printer admin = marc
[printers]
comment = All Printers
browseable = yes
path = /home/samba/printers/spool
printable = yes
public = no
writable = no
create mode = 0700
printer admin = marc
***** end smb.conf:
***** start printcap
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See /etc/filter.ps, /etc/filter.pcl and
# the printcap(5) manual page for further details.
lp1:\
:sd=/var/spool/lpd/lp1:\
:mx#0:\
:sh:\
:rm=10.0.0.88:\
:lpd_bounce=true:\
:PAPERSIZE=a4:\
:DESIRED_TO=ps:\
:PRINTER_TYPE=REMOTE:\
:ASCII_TO_PS=YES:\
:GSDEVICE=POSTSCRIPT:\
:RESOLUTION=600x600:\
:PS_SEND_EOF=YES:\
:NUP=1:\
:RTLFTMAR=18:\
:TOPBOTMAR=18:\
:TEXT_SEND_EOF=NO:
# :if=/etc/lprng/master-filter:\
# :rp=9100:\
# :rp=BINARY_P1:\
lp2:\
:sd=/var/spool/lpd/lp2:\
:mx#0:\
:sh:\
:rm=10.0.0.183:\
:lpd_bounce=true:\
:PAPERSIZE=a4:\
:DESIRED_TO=ps:\
:PRINTER_TYPE=REMOTE:\
:ASCII_TO_PS=YES:\
:GSDEVICE=POSTSCRIPT:\
:RESOLUTION=600x600:\
:PS_SEND_EOF=YES:\
:NUP=1:\
:RTLFTMAR=18:\
:TOPBOTMAR=18:\
:TEXT_SEND_EOF=NO:
lp3:\
:sd=/var/spool/lpd/lp3:\
:mx#0:\
:sh:\
:rm=10.0.0.88:\
:PAPERSIZE=a4:\
:DESIRED_TO=ps:\
:PRINTER_TYPE=REMOTE:\
:RESOLUTION=600x600:\
:PS_SEND_EOF=YES:\
:NUP=1:\
:RTLFTMAR=18:\
:TOPBOTMAR=18:\
:TEXT_SEND_EOF=NO:
***** end printcap
When I go to printers&faxes on a win/xp machine no printers are shown
The following is in the log file:
[2003/09/15 15:26:08, 0]
libsmb/cliconnect.c:attempt_netbios_session_request(977)
attempt_netbios_session_request: PO0015 rejected the session for name
*SMBSERVER with error Not listening on called name
[2003/09/15 15:26:08, 0]
rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(73)
[2003/09/15 15:26:08, 0] lib/fault.c:fault_report(38)
==============================================================[2003/09/15
15:26:08, 0] lib/fault.c:fault_report(39)
INTERNAL ERROR: Signal 11 in pid 13757 (2.2.3a-12.3 for Debian)
Please read the file BUGS.txt in the distribution
[2003/09/15 15:26:08, 0] lib/fault.c:fault_report(41)
==============================================================[2003/09/15
15:26:08, 0] lib/util.c:smb_panic(1064)
PANIC: internal error
[2003/09/15 15:26:10, 0]
libsmb/cliconnect.c:attempt_netbios_session_request(977)
attempt_netbios_session_request: PO0015 rejected the session for name
*SMBSERVER with error Not listening on called name
[2003/09/15 15:26:10, 0]
rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(73)
[2003/09/15 15:26:10, 0] lib/fault.c:fault_report(38)
==============================================================[2003/09/15
15:26:10, 0] lib/fault.c:fault_report(39)
INTERNAL ERROR: Signal 11 in pid 13764 (2.2.3a-12.3 for Debian)
Please read the file BUGS.txt in the distribution
[2003/09/15 15:26:10, 0] lib/fault.c:fault_report(41)
==============================================================[2003/09/15
15:26:10, 0] lib/util.c:smb_panic(1064)
PANIC: internal error
[2003/09/15 15:26:10, 0] smbd/service.c:make_connection(249)
po0015 (10.0.0.111) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
Anyone an idea?
Marc.