Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Please help with using Samba shared from a Linux host

28 Mar 2014   #1

Win7 64bit
 
 
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 Windows 7 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 Windows 7 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:

Quote:
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 Windows 7 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, Windows 7 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 Windows 7 machine has a WIN7KVM hostname and belongs to a LINUXKVM workgroup.

My System SpecsSystem Spec
.

28 Mar 2014   #2

Windows 7 Ult, Windows 8.1 Pro,
 
 

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 System SpecsSystem Spec
28 Mar 2014   #3

Win7 64bit
 
 

Thanks for trying to help but the instructions from the thread you mention on Win8 do not seem to work on Windows 7 (at least for a clueless newb like me).

Any pointers relevant to Windows 7 ?

Take care
My System SpecsSystem Spec
.


28 Mar 2014   #4

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by rjalex View Post
Thanks for trying to help but the instructions from the thread you mention on Win8 do not seem to work on Windows 7 (at least for a clueless newb like me).

Any pointers relevant to Windows 7 ?

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 System SpecsSystem Spec
Reply

 Please help with using Samba shared from a Linux host




Thread Tools



Similar help and support threads for2: Please help with using Samba shared from a Linux host
Thread Forum
Solved VirtualBox Shared folder-Win 7 Host & Win XP Guest Virtualization
laptop cannot see linux server running samba on the same network Network & Sharing
BSOD when connected to Linux Samba share BSOD Help and Support
Linux Samba fil sharing issue Network & Sharing
problems about shared folder from samba(linux file serv Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:31 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33