Seb
2009-Dec-22 23:35 UTC
[Samba] share CUPS printer/scanner in Debian system with Windows computers in home network
Hi, I've been trying to fix this for many months and cannot do it. I have a printer (Samsung ML-1740) and a printer/scanner (Canon MP-150), both installed in a Debian AMD64 system via CUPS. I have enabled sharing all printers in this machine in CUPS, and can print to them fine from other GNU/Linux systems in the network. However, I cannot even see this computer from other Windows machines in the network, even though I have the following in /etc/samba/smb.conf: ---<--------------------cut here---------------start------------------->--- $ testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[printers]" Processing section "[print$]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] server string = %h server obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 printcap name = cups dns proxy = No wins server = panic action = /usr/share/samba/panic-action %d [homes] comment = Home Directories valid users = %S read only = No create mask = 0700 directory mask = 0700 browseable = No browsable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes browseable = No browsable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers guest ok = Yes ---<--------------------cut here---------------end--------------------->--- Can somebody suggest what may be wrong with this setup? Thanks. Cheers, -- Seb
Ryan Suarez
2009-Dec-23 17:34 UTC
[Samba] share CUPS printer/scanner in Debian system with Windows computers in home network
Seb wrote:> Hi, > > I've been trying to fix this for many months and cannot do it. I have a > printer (Samsung ML-1740) and a printer/scanner (Canon MP-150), both > installed in a Debian AMD64 system via CUPS. I have enabled sharing all > printers in this machine in CUPS, and can print to them fine from other > GNU/Linux systems in the network. However, I cannot even see this > computer from other Windows machines in the network, even though I have > the following in /etc/samba/smb.conf: >On the samba server what does 'smbclient -L localhost' output? Also, post the results of 'testparm -v'.