Server Message Block, network-protocol for sharing files and printers implemented by Windows, Samba and others
Questions tagged [smb]
896 questions
0
votes
1 answer
Path truncation issue with _wstat and Windows 7 share
This code:
int main()
{
wchar_t fnucs2[260];
wcscpy(fnucs2, L"//buildserver7500/wec");
std::wcout << L" | wstat: " << fnucs2 << std::endl;
struct _stat32i64 b;
int r;
r = _wstat32i64(fnucs2, &b);
return…

Thomas
- 3,348
- 4
- 35
- 49
0
votes
3 answers
CIFS/SMB Write Optimization
I am looking at making a write optimization for CIFS/SMB such that the writing of duplicate blocks are suppressed. For example, I read a file from the remote share and modify a portion near the end of the file. When I save the file, I only want to…

Chappelle
- 65
- 2
- 9
0
votes
2 answers
pySMB Windows File Share Buffer Overflow
Hi I have been stuck on an error in python using the pySMB module.
While making a script for myself I ran in to some trouble with trying to connect to a Network share. Here is the Python Code
from smb.SMBConnection import SMBConnection
…

GeneralZero
- 290
- 1
- 3
- 15
0
votes
1 answer
BAT script to delete a remote file
I have a backup harddrive shared (SMB/CIFS) on my local Windows network. Now I need a windows BAT script that deletes some of the shared files in the backup drive. In Linux+bash it would be fairly simple but on a SMB/CIFS shared drive and using only…

Gianluca Ghettini
- 11,129
- 19
- 93
- 159
0
votes
1 answer
Exposing a custom filesystem over SMB or other network protocol
We've written a library that implements a filesystem-like API on top of a custom database system.
We'd like to be able to mount this filesystem as an ordinary filesytem from other machines across a network.
Are there any libraries, that can run in…

Thrill Science
- 408
- 4
- 14
0
votes
0 answers
Android Smb directory list force close
This is a weird problem I have here. I am using SmbFile from jcifs suite in with my android app. I have done this plenty of times. I currently debug most of my apps with a Droid X but just recently got a new Droid Razr HD. I built a few new apps…

itgeek25
- 203
- 2
- 7
- 18
0
votes
2 answers
Grabbing log files from production server
I developed a statistics system for online web service user behavior research in python, which mostly relies on reading and analyzing logs from production server. Currently I shared log folders internally under SMB protocol for the routine analytics…

Jason Xu
- 2,903
- 5
- 31
- 54
0
votes
1 answer
linux smbclient using win 7 local credentials
I have a win 7 machine connected to a domain (say TEST). There is a domain administrator account and a local administrator account (both are enabled).
if I run smbclient with the domain administrator's credentials then it works fine:
smbclient -L…

Mike Troll
- 1
- 1
- 2
0
votes
0 answers
Safari can't open web link sent from windows PC.
I want to share web link \172.16.100.78\AboutViewController.m.html (located in my windows pc, shared by SMB) to my MAC peer, but can't open it by Safari. Any format error? How to correct?
Seems always work well between two windows PC.
Thank you. …

jianhua
- 1,011
- 1
- 12
- 28
0
votes
1 answer
Is there any free network drive/share benchmark tool for Windows?
I want to know if there is any free tool to test the performance of a smb/CIFS network share. All free speed test I saw were for local drives only.

sorin
- 161,544
- 178
- 535
- 806
0
votes
1 answer
Samba which CPU performance is used?
I have 2 Servers, the 1st is runing a PHP-Script, the 2nd contents a Java-Program to analyse pictures, which needs more performance.
I want to make the PHP-Script use this Java Program, at first time i decided to use SOAP-Connection between the 2…

Elteroooo
- 2,913
- 3
- 33
- 40
0
votes
1 answer
Config samba permission in smb.config
How can I edit file smb.conf to solve this problem:
Every samba user can read and write the folder /myfolder but only the person who created the file in folder can delete his file.

Cụt Cánh
- 375
- 2
- 10
-1
votes
1 answer
mount samba make folder unaccessible
I have created a folder and 770 it; when I try to mount a samba share, permissions are changed to 670 and I cannot access folder data; but if I "su" I can access all the data.
My command is:
sudo smbmount //192.168.1.5/docs /home/my_user/docs -o…

user1097726
- 61
- 1
- 6
-1
votes
1 answer
How to setup a simple SMB Server with Java Spring Boot?
I have a fresh Spring Boot Project. I want to setup a simple SMB Server, which I can connect to with my Windows Explorer. I simply want to share one folder and be able to connect to the server with a set username and password. The folder I want to…

Max
- 11
- 1
-1
votes
1 answer
Setting up a connection to an SMB1 server in my iOS app
I am trying to create a custom connection to a server that is SMB1. I want to be able to connect a button action to make this connection and bring up the files in a document picker. I feel like I have scoured the internet and can't find any sort of…

SoundGuy41
- 1
- 2