Questions tagged [smb]

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

786 questions
158
votes
11 answers

How do you force a CIFS connection to unmount

I have a CIFS share mounted on a Linux machine. The CIFS server is down, or the internet connection is down, and anything that touches the CIFS mount now takes several minutes to timeout, and is unkillable while you wait. I can't even run ls in…
smoofra
  • 2,715
  • 2
  • 19
  • 23
76
votes
1 answer

What are `Zone.Identifier` files?

I often see files named 'blabla.exe:Zone.Identifier' when monitoring I/O with Process Monitor. The files are seen on network-drives. What are Zone.Identifier files? What does the colon mean in the filename? Is the colon related the file's…
Benjamin
  • 8,715
  • 14
  • 72
  • 121
25
votes
2 answers

Access to file using Java with Samba JCIFS

I have a question about accessing file with Samba JCIFS. So there is a server I want to access, let's call it server.unv.edu and the workgroup is WKGRP. There is a share in this server: \\server.unv.edu\pcb$ the way I am trying to access to the…
Allan Jiang
  • 10,075
  • 22
  • 96
  • 153
24
votes
5 answers

Windows file share: why sometimes newly created files aren't visible for some period of time?

We were faced with very strange issue that made us crazy. Sometimes newly created files on our File Share PC were "absent" for some period of time. To reproduce a problem you should have at least two computers, call them alpha and beta. Create file…
Roman
  • 4,079
  • 10
  • 33
  • 65
22
votes
5 answers

Read remote file beginning with "smb://" using R

To read a file in R, I'd normally do something like the following: read.csv('/Users/myusername/myfilename.csv') But, I'm trying to read a file located on a remote server (Windows SMB/CIFS share) which I access on my Mac via the Finder → Go →…
Joshua Rosenberg
  • 3,364
  • 4
  • 26
  • 61
17
votes
0 answers

smb authentication (74 bytes vs 24?)

I need to implement a virtual filesystem that will be accessed as a Windows share. It seems Alfresco JLan is doing the job. So far, I have some promising results starting from this answer: How to setup alfresco jlan file server as a standalone java…
ymajoros
  • 2,220
  • 3
  • 30
  • 56
17
votes
3 answers

Link to samba shares in html

First off if you're unaware, samba or smb == Windows file sharing, \\computer\share etc. I have a bunch of different files on a bunch of different computers. It's mostly media and there is quite a bit of it. I'm looking into various ways of…
SCdF
  • 51,261
  • 23
  • 74
  • 108
13
votes
3 answers

mount error(6): No such device or address when sharing windows folder to ubuntu

I have a windows shared folder named \\mymachine\sf and I want to map it as a ubuntu device. I use smbmount command as below: smbmount //mymachine/sf /mnt/sf -o The output is like retrying with upper case share name mount error(6): No…
Catherine Dai
  • 513
  • 2
  • 5
  • 7
12
votes
2 answers

Android ServerSocket programming with jCIFS streaming files

I've got a bit of an issue and I've been asking regarding it quite a few times, but I think I'm one step closer now, so hopefully someone can help me with the rest. My previous questions: Connect to NAS device from Android How to open files in…
Michell Bak
  • 12,857
  • 11
  • 60
  • 121
11
votes
2 answers

How to navigate to a network host in JFileChooser?

The Problem I have a JFileChooser and I need to programmatically set its currentDirectory to a network host containing several SMB shares (e.g. \\blah). Technically this is not a "directory" but rather a shell folder representing a list of available…
matvei
  • 676
  • 9
  • 21
10
votes
4 answers

SMB/samba support on iOS?

I check iOS document and also google it for a while and get the impression that iOS does not support samba (although there is a samba app for jailbreak iPhone). But then how do the app FileBrowser achieves that? Does that mean they implemented samba…
Qiulang
  • 5,733
  • 4
  • 47
  • 82
10
votes
2 answers

Does Windows 7 actually support the SMB core protocol?

I have started the development of a SMB server for an old Z80 based machine. This machine runs a very simple, MS-DOS like operating system (no multitask, no concept of users, FAT filesystem only, no unicode, 8.3 filenames only) and has limited…
Konamiman
  • 47,560
  • 16
  • 107
  • 133
10
votes
2 answers

access remote files on server with smb protocol python3

I have remote server with some files. smb://ftpsrv/public/ I can be authorized there as an anonymous user. In java I could simply write this code: SmbFile root = new SmbFile(SMB_ROOT); And get the ability to work with files inside (it is all I…
Alex
  • 2,343
  • 3
  • 16
  • 35
10
votes
3 answers

ANDROID: Accessing CIFS Shares in Java

I'm writing my first Android app, which is more or less going to be a mount point manager. Local mounts and NFS mounts have been easy, but I'm not sure of how to go about CIFS shares. Ideally, after selecting a host, a list of CIFS shares would be…
ecoutu
  • 1,882
  • 4
  • 20
  • 28
10
votes
2 answers

How do I configure a Vista Ultimate (64bit) account so it can access a SMB share on OSX?

I have Windows File sharing enabled on an OS X 10.4 computer. It's accessible via \rudy\myshare for all the Windows users on the network, except for one guy running Vista Ultimate 64-bit edition. All the other users are running Vista or XP, all…
Joe Mahoney
  • 873
  • 6
  • 14
1
2 3
52 53