New
#1
Please help with using Samba shared from a Linux host
Dear friends,
please bear with my ignorance. I have to run a Windows 7 virtual machine under KVM on a Linux Ubuntu 12.10 64 bit host to run MS Office 2013.
I have printers defined on the Linux host and would like to have the Win7 guest to "see" them.
I have therefore setup a samba server on my Linux host for sharing both the printers and a directory. While the latter works great, I am not able to "see" the printers from within the Win7 guest.
Would any of you be so knowledgeable (and patient and kind ) to see if you can sort out which mistake I might be doing ?
Here follow info from a thread I posted on a Linux forum. Thank you so much in advance:
The virtual Win7 machine has a WIN7KVM hostname and belongs to a LINUXKVM workgroup.Dear friends,
I am trying to "see" the printers I have defined on an Ubuntu Linux IBM client from within a Windows 7 guest OS running under KVM virtualization via Samba protocol.
The setup of the samba server seems quite aok to me and from within the Win7 command line if I issue a net view command I see the following (slightly trimmed redundant entries:
C:\Users\IBM_ADMIN>net view \\192.168.122.1Unfortunately when I go through "Devices and printers" -> Add a printer -> Add a network printer, Win7 never finds anything, nor the Computer->Network "method" finds anything (even though I do use a shared folder very well).
Shared resources at \\192.168.122.1
Samba Server Version 3.6.6
Share name Type Used as Comment
------------------------------------------------------------
Downloads Disk
itroml39 Print itroml39
itroml39.confidential Print itroml39.confidential
... snip ...
itroml78 Print itroml78
itroml78.confidential Print itroml78.confidential
itrotl37 Print itrotl37
itrotl37.confidential Print itrotl37.confidential
PostScript Print PostScript
shared_robert Disk Z: robert home
The command completed successfully.
So I think it's the "browsing" thingie not working
Is there a commandline net use command that might work ? I tried "net use \\192.168.122.1\itrotl37" and similar, which issues a "Command completed succesfully" msg but the printer is not to be found anywhere.
Anyone know what I could try ? Thanks in advance. Attaching a couple of files which I hope will give you clues.
Here follows also an excerpt of my Linux samba config:
[global]
workgroup = LINUXKVM
server string = Samba Server Version %v
interfaces = lo virbr0
log file = /var/log/samba/log.%m
max log size = 50
security = user
load printers = yes
cups options = raw
[printers]
comment = All Printers
browseable = yes
guest ok = no
writable = no
printable = yes
path = /tmp
#public = yes
# path = /var/spool/samba
#create mode = 0700
use client driver = yes