FAQ Database Discussion Community


R in Ubuntu Server 14.04 - Writing file to a samba sharing in which a directory is protected by user/pass

r,file,ubuntu,rstudio,samba
I was wondering if writing to a protected samba directory, to a internal directory with another user/pass could be possible. I have been searching for an R package with these capabilities but I haven't found it yet. Now I'm using the write() function. In the documentation for this function, it...

“Virtual” Windows Shares (possibly) using Samba?

linux,samba
I am interested in developing an application that acts as a Windows computer exposing shares that do not exist physically. This means that directories and files may not exist as such in any file system. The process should be like the following: Somebody attempts to connect to \\MyFakeSambaServer. User is...

“The share name does not exist on the server. Please check…” CENTOS yosemite samba

osx,centos,samba
I'm trying to connect a new macbook pro (Yosemite) to a samba share, that is hosted on a CENTOS 6.5 server, running samba 3.6. The sharing works perfectly between the CENTOS box and any windows machines on the network. As does sharing between the Macbook Pro and windows boxes. However,...

Is there in bash an array_combine function, where I can create an associative array from two?

arrays,linux,bash,samba
I have two arrays one with user names and other with their full names that are actually dynamically generated by wbinfo -u. USR=(user1 user2 user3) FULL=("full user 1" "full user 2" "full user 3") I want to create an associative array that I can use it with pdbedit so in...

Existing GIT Repos over Samba don't work from Cygwin

git,cygwin,samba
I have a set of git repos on a Samba server which it seems I can no longer use from one of the Cygwin installations I've been using them from. I have been using this same server for a few years without touching its OS at all. I did however...

PhpStorm 8.0.3 crashing itself and Windows Samba share

windows-7,centos,phpstorm,samba,windows-explorer
I access the code on my CentOS VM through a Samba share on my Windows machine. I have been using PhpStorm for a while now, however this morning I have been unable to use PhpStorm to access the Samba share. When PhpStorm loads it shows a blank screen (no project...

Samba Share directory outside user directory

networking,windows-7-x64,ubuntu-14.04,samba
I set up a machine with Ubuntu 14.4.1 yesterday and I am trying to use it as remote storage for a project I am working on remotely with a few people. I know nothing about hosting servers, so I am attempting to avoid the issue entirely by just treating it...

Accessing Samba share through Raspberry Pi SSH

ssh,raspberry-pi,samba
I have a raspberry Pi at home that I can access over the internet using SSH (using only key authentication), which is behind a TP-Link router. This router has a hard drive attached to it, which I can access as a samba share locally using the router's IP address. I...

R - write() a file to a SAMBA share

r,file,put,samba
I have a file loaded in R that I want to move to a samba share It is something like write(some-file, file = "|smbclient -U user //ip password") It connects to the samba but then (I think) the output is "executed" in the smb: \> and I don't want the...

What would I get using Java File.delete() with UNC path if the server response time out

java,java-io,samba,smb,java.nio.file
I have a rather theoritical question for you. What would happen if one calls java.io.File#delete() using a UNC path i.e. new File("\192.168.10.10\MyShare\myFile.txt").delete() and the underlying SMB_COM_DELETE request reaches the SMB server but the SMB_COM_DELETE_RESPONSE does not reach the caller back for some reason (network failure, firewall or whatever)? I would...

use Eclipse to edit source code file on virtual machine

eclipse,debugging,sublimetext2,virtual-machine,samba
Currently I'm using a virtual machine (VM) environment on my laptop (Mac) for project development (i.e. virtual machine is running in VirtualBox on my laptop). And I just use Samba to open code folder (on VM) and then I use SubLime (on my laptop) to connect to VM, so that...