Questions tagged [smb]

Server Message Block, network-protocol for sharing files and printers implemented by Windows, Samba and others

786 questions
10
votes
6 answers

Does iOS support file operations via SMB?

Does iOS (or iPhone OS) support file operations via SMB network shares? If so, are there any documents about how to do this?
Dieter
  • 191
  • 1
  • 1
  • 6
9
votes
2 answers

JCIFS SmbException

I am trying to access a shared folder in my company network via JCIFS. But when i try to list the files under the shared folder, it throws an SmbException as below, jcifs.smb.SmbException: 0xC000009A at…
Kathir
  • 5,748
  • 7
  • 32
  • 67
9
votes
4 answers

Accessing SMB2.1 or SMB3 share from Java?

As Windows 2012R2 no longer supports the SMB 1 protocol without some registry hacks has anyone had any success working with SMB shares in Java where only SMB 2.1 or SMB 3 are supported? The JCIFS library is apparently SMB 1 only so it is out. I see…
Moth
  • 645
  • 2
  • 7
  • 13
9
votes
5 answers

Escape special characters in mount command

I am trying to mount a windows shared folder on Mac OSX Mavericks. A simplistic user name and password worked fine mount -t smbfs //user2:password2@server1.mydomain.com/myproject ~/localmap On trying out the more valid user name and password I am…
Karthick
  • 255
  • 1
  • 4
  • 13
9
votes
1 answer

Unable to connect to windows shares

I'm using the pysmb library to query shares/directory structures on SMB/CIFS network shares. def ListShares(Server, Username=None, Password=None, Domain=None): Ip = socket.gethostbyname(Server) conn = SMBConnection(Username, …
Basic
  • 25,223
  • 23
  • 108
  • 188
8
votes
1 answer

How to display network shares using JFileChooser in Java 9+?

The users of our software need to browse network shares on Windows 10 in our Java swing application, however swing's JFileChooser does not have this capability by default. In this related post How to navigate to a network host in JFileChooser? A…
ToddWebb
  • 91
  • 6
8
votes
2 answers

how to connect to samba server running in docker

I am running Docker Version 17.09.0-ce-mac35 on mac. I want to have a samba server running as part of a docker container and then connect to the running samba server from my mac. I'm using https://github.com/dperson/samba for this. I run the samba…
Anthony
  • 27,490
  • 32
  • 129
  • 238
8
votes
1 answer

Using Windows SMB shares from Kubernetes deployment app

We are migrating legacy java and .net applications from on-premises VMs to an on-premises Kubernetes cluster. Many of these applications make use of windows file shares to transfer files from and to other existing systems. Deploying to Kubernetes…
8
votes
3 answers

Ignore synced folder files/directories with NFS as sync system for Vagrant

Is there any way to make NFS to ignore specified files and/or directories from the synced folder? I have done it with rsync (rsync__exclude), but don't find any reference for NFS. I'm also looking for a solution for SMB. Any ideas?
Manolo
  • 16,729
  • 16
  • 67
  • 115
8
votes
4 answers

SMB Client Commands Through Shell Script

I have a shell script, which I am using to access the SMB Client: #!/bin/bash cd /home/username smbclient //link/to/server$ password -W domain -U username recurse prompt mput baclupfiles exit Right now, the script runs, accesses the server, and…
Dustin Cook
  • 1,141
  • 4
  • 23
  • 40
8
votes
7 answers

How do I keep NUL bytes from appearing throughout my GIT repository and commit messages?

I have a relatively clean install of Mac OS X Mavericks 10.9 running git version 1.8.5.1; my files are on a mounted SMB share, and I am no longer able to work properly with my GIT repositories because NULL bytes (\0's) keep appearing in all of my…
GrubLord
  • 191
  • 1
  • 6
7
votes
2 answers

Is there a way to enumerate files by creation time on an SMB share?

I'm looking for a way to retrieve files newer than a certain date/time on an SMB remote share, all working under Windows. I've been using DirectoryInfo.EnumerateFiles(), and filtering as they are returned. Unfortunately, this means every file…
Eclipse
  • 42,854
  • 19
  • 110
  • 166
7
votes
2 answers

Open Java SMB server implementation

Is there an open implementation of a SMB/CIFS server in Java? The only implementation I can find at all is Alfresco's but it isn't open source. A related question: assuming there is no such implementation, I'm surprised there isn't a library…
monorailkitty
  • 492
  • 4
  • 9
7
votes
5 answers

Convert SmbFile to Java IO File

My Java application requires access to a large excel file (1GB+ in size) saved on remote shared folder. I'm using SmbFile to get the file with authentication. Note: Downloading of the file is not an option mainly for size reasons. The problem is…
arash moeen
  • 3,835
  • 5
  • 33
  • 72
7
votes
2 answers

Mapping and Remapping Network Drives with Different Users on Win7

I am currently trying to develop an automated client-side test of a server that contains a network share. However, I need to verify its security by connecting with more than one user, although I only need to connect one user at a time. Currently, I…
user3846506
  • 186
  • 1
  • 1
  • 11
1
2
3
52 53