TrevorBradley
May 7th, 2010, 09:04 PM
Hey everyone, been running Ubuntu on my server since 8.10, and have had my Samsung ML-1610 printer working great the whole time. However, with the recent Lynx upgrade, I can no longer print from the Windows machines on my network.
The printer appears to work fine locally, is visible on an smbclient lookup, and even shows up on the other Windows machines on the samba share. The samba file shares from my server work fine.
If I attempt to print from my Windows machine, it says it prints the document but nothing happens.
The only reasonable thing I can think of is that something's changed in samba and my old smb.conf file isn't cutting it anymore, but I've run the config check and I don't see any errors.
The log files in /var/log/samba are disturbingly spare, and searching for these errors doesn't appear to turn up a fix on google:
/var/log/samba/log.nineveh:
[2010/05/07 12:48:06, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2010/05/07 12:48:06, 0] lib/util_sock.c:1491(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
[2010/05/07 12:50:38, 1] smbd/service.c:1063(make_connection_snum)
nineveh (192.168.11.2) connect to service ML-1610 initially as user trevor (uid=1000, gid=1000) (pid 4155)
[2010/05/07 12:50:54, 1] smbd/service.c:1240(close_cnum)
nineveh (192.168.11.2) closed connection to service ML-1610
[2010/05/07 12:51:00, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2010/05/07 12:51:00, 0] lib/util_sock.c:1491(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
My smb.conf file: (the relevant bits, comments taken out):
[global]
workgroup = ARBUTUS
server string = %h server (Samba, Ubuntu)
dns proxy = no
interfaces = eth1
bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = Yes
usershare owner only = False
username map = /etc/samba/smbusers
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
; guest ok = no
; read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
; browseable = yes
writeable = yes
guest ok = yes
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin
I'm close to being stumped. Any ideas?
Thanks!
Trevor
The printer appears to work fine locally, is visible on an smbclient lookup, and even shows up on the other Windows machines on the samba share. The samba file shares from my server work fine.
If I attempt to print from my Windows machine, it says it prints the document but nothing happens.
The only reasonable thing I can think of is that something's changed in samba and my old smb.conf file isn't cutting it anymore, but I've run the config check and I don't see any errors.
The log files in /var/log/samba are disturbingly spare, and searching for these errors doesn't appear to turn up a fix on google:
/var/log/samba/log.nineveh:
[2010/05/07 12:48:06, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2010/05/07 12:48:06, 0] lib/util_sock.c:1491(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
[2010/05/07 12:50:38, 1] smbd/service.c:1063(make_connection_snum)
nineveh (192.168.11.2) connect to service ML-1610 initially as user trevor (uid=1000, gid=1000) (pid 4155)
[2010/05/07 12:50:54, 1] smbd/service.c:1240(close_cnum)
nineveh (192.168.11.2) closed connection to service ML-1610
[2010/05/07 12:51:00, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2010/05/07 12:51:00, 0] lib/util_sock.c:1491(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
My smb.conf file: (the relevant bits, comments taken out):
[global]
workgroup = ARBUTUS
server string = %h server (Samba, Ubuntu)
dns proxy = no
interfaces = eth1
bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = Yes
usershare owner only = False
username map = /etc/samba/smbusers
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
; guest ok = no
; read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
; browseable = yes
writeable = yes
guest ok = yes
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin
I'm close to being stumped. Any ideas?
Thanks!
Trevor