Results 1 to 6 of 6

Thread: file sharing between Windows 7 Pro and Ubuntu 12.04LTS

  1. #1
    Join Date
    Nov 2009
    Beans
    51

    file sharing between Windows 7 Pro and Ubuntu 12.04LTS

    OK, so where do I begin. I have tried RDP, and apparently you cant just copy and paste files as you can with Windows RDP client. I have a share on the Windows box which I would really like to be able to access from Ubuntu. "Files" shows a network browser, but all it seems to get from the Windows box is the name of the server ("Unable to mount..."). I can access the share from other Windows boxes on my NW, so I think my problem is on the Ubuntu side. I attempted to install samba (sudo apt-get install samba4) and got:
    Code:
    ERROR: Invalid smb.conf
    /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied
    dpkg: error processing samba4 (--configure):
     subprocess installed post-installation script returned error exit status 126
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     samba4
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Any advice would be appreciated!

  2. #2
    Join Date
    Nov 2006
    Beans
    410
    Distro
    Xubuntu

    Re: file sharing between Windows 7 Pro and Ubuntu 12.04LTS

    I think you should purge samba4 and then install samba instead.

  3. #3
    Join Date
    Nov 2009
    Beans
    51

    Re: file sharing between Windows 7 Pro and Ubuntu 12.04LTS

    Quote Originally Posted by r.stiltskin View Post
    I think you should purge samba4 and then install samba instead.
    purge? How, "sudo apt-get uninstall samba4?"

  4. #4
    Join Date
    Jun 2011
    Beans
    91

    Re: file sharing between Windows 7 Pro and Ubuntu 12.04LTS

    sudo apt-get remove --purge samba4

  5. #5
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: file sharing between Windows 7 Pro and Ubuntu 12.04LTS

    You don't need to install the full Samba package just to access a Windows share, desktop Ubuntu includes the Samba client packages by default. You should just be able to navigate to it through the file browser.

    Personally though I would add an entry to /etc/fstab so that it automatically mounts at boot. Takes about five minutes to set up and then it just works nice and cleanly forever after.
    Last edited by Paqman; April 3rd, 2013 at 02:59 AM.

  6. #6
    Join Date
    Nov 2009
    Beans
    51

    Re: file sharing between Windows 7 Pro and Ubuntu 12.04LTS

    Thanks, Gang! This seems to work.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •