[[1]] All of the things that you spent so much time removing from smb.conf were put there for a reason. For example, you can not access any resources on your machine as a guest from Windows because you removed a line that enables it. My recommendation is to rebuild samba on your machine:
(1) Make sure the following file exists:/usr/share/samba/smb.conf
(2) Make a backup of your current smb.conf- Code: Select all
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
(3) Copy the default:- Code: Select all
sudo cp -a /usr/share/samba/smb.conf /etc/samba/
(4) Correct one mistake in the newly copied smb.conf:Find the line:
encrypt passwords = false
Could also be listed as "no"and change it to:
- Code: Select all
encrypt passwords = true
(5) Restart samba- Code: Select all
sudo service smbd restart
[[2]] Now you have a choice.
** Access the printer by name using the Mint machines ip address as I describe in the Howto I linked to above. Using Windows Add Printer utility:
- Code: Select all
http://192.168.0.100:631/printers/printer-name
** If you happen to have iTunes installed on that Windows machine you can also access it by a qualified hostname:
- Code: Select all
http://mint-host-name.local:631/printers/printer-name
** If you still want to browse to the printer by name then you will have to implement a rather nasty work around since cups / samba / Ubuntu have no intention of fixing a bug preventing it. That workaround can be found here:
viewtopic.php?f=42&t=28397&start=40#p618065There is one other option now that your smb.conf has been returned to the factory settings and that is to connect to the printer the way a Mac would by installing a utility on your Windows box:
Bonjour Print Services for Windows:
http://support.apple.com/kb/DL999