Please help with using Samba shared from a Linux host


  1. Posts : 2
    Win7 64bit
       #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:

    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


  2. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #2

    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


  3. Posts : 2
    Win7 64bit
    Thread Starter
       #3

    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


  4. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #4

    rjalex said:
    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


 

  Related Discussions
Our Sites
Site Links
About 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 09:00.
Find Us