Please help with using Samba shared from a Linux host

rjalex

New member
Local time
2:52 PM
Messages
2
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:

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.1
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.
Unfortunately 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).
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

The virtual Win7 machine has a WIN7KVM hostname and belongs to a LINUXKVM workgroup.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo
OS
Win7 64bit
Not completely sure on this as your set up is a bit different than normal.

For Samba share access Windows 7 requires some adjustments to the lanman server settings and the encryption might also be a problem.

The following link shows how to make these adjustments via the Local Security Policy.

Solved W2K3 Server can access W8 W8 computer cant see W2K server
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Thanks for trying to help but the instructions from the thread you mention on Win8 do not seem to work on Win7 (at least for a clueless newb like me).

Any pointers relevant to Win7 ?

Take care
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo
OS
Win7 64bit
Thanks for trying to help but the instructions from the thread you mention on Win8 do not seem to work on Win7 (at least for a clueless newb like me).

Any pointers relevant to Win7 ?

Take care

Well Windows 7 has the same settings but if you don't have the Local Security Policy then you must be using Home Premium version.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Back
Top