Questions tagged [cifs]

The Common Internet File System (CIFS), also known as Server Message Block (SMB), is a network protocol whose most common use is sharing files on a Local Area Network (LAN).

The Common Internet File System (CIFS), also known as Server Message Block (SMB), is a network protocol whose most common use is sharing files on a Local Area Network (LAN).

330 questions
0
votes
1 answer

Printing an entire list, instead of one line

I am having trouble writing the entire list into an outfile. Here is the code: with open(infline, "r") as f: lines = f.readlines() for l in lines: if "ATOM" in l : split = l.split() if split[-1] == "1": …
Anna
  • 31
  • 2
0
votes
0 answers

Docker mount CIFS in run command

I want to mount a CIFS share for my docker container to use. This already worked by explicitly creating a docker volume like so: docker volume create --driver local --opt type=cifs --opt o=vers=2.0,username=xxxx,password=xxxx --opt…
Queeg
  • 7,748
  • 1
  • 16
  • 42
0
votes
1 answer

SMB protocol, linking a request to a response

I am implementing a SMB protocol decoder. I don’t understand how, when reading a file/named pipe, the client understands that the response is associated with one of many open files/named pipes. The client sends the file descriptor (file id), but the…
OlegUP
  • 113
  • 4
0
votes
0 answers

Thread getting blocked while accessing cifs file

We are running our spring-boot application on azure environment using following config: os: centos-8 jdk: openjdk-java(TM) SE Runtime Environment (build 1.8.0_261-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode) file system:…
mcacorner
  • 1,304
  • 3
  • 22
  • 45
0
votes
0 answers

Access is denied when creating a file in a directory

I've a strange problem with creation of a file in the remote shared network folder. Use case: My development environment is located in some local VM. Application calculates some data. Creates and saves a xml file under specific path. (example:…
Ahmet Eroğlu
  • 594
  • 1
  • 7
  • 23
0
votes
1 answer

Docker - mount cifs volume without subfolder

Is it possible mount CIFS volume root folder? Something like this: my-storage: driver: local driver_opts: type: cifs device: '//IP-address' o:…
0
votes
1 answer

Volume Mount Fails for AzureFileShare in minikube

I am running locally minikube/docker on Windows 10 Enterprise. I try mounting a volume from azure fileShare as follows: apiVersion: v1 kind: Secret metadata: name: secret-fileshare type: Opaque stringData: azurestorageaccountname:…
Myar
  • 112
  • 10
0
votes
0 answers

Bash Scripts failed due to spaces in absolute path variable

I am running following script to copy files from CIFS share mounted on the system to another destination system. The absolute path of CIFS share contains few spaces and so it fails for that path, I tried running it on another path which doesn't…
Bela
  • 9
  • 1
0
votes
0 answers

Writing to Networked Mapped Drive - Empty Files or Failure

Sorry for reformatting my question by focusing on the real issue as follows: I am trying to create file and write to it on a network mapped drive, which I can access, create, delete and edit files using windows explorer or CMD (Windows 10/Server…
helhadad
  • 21
  • 7
0
votes
1 answer

One docker container, one samba share and permissions Problems

following docker command: sudocker run --restart unless-stopped --name lancache -v /mnt/steamcache/CacheServer/cache:/data/cache -v /mnt/steamcache/CacheServer/logs:/data/logs -p My-Server-IP:80:80 lancachenet/monolithic:latest also my mount…
Hades85
  • 103
  • 1
  • 1
  • 10
0
votes
0 answers

'df' hangs after a connection to a mounted smb (cifs) storage was lost

First I mount a storage from an SMB server using the command sudo mount.cifs //{addr}/{path} /mnt/smb -o vers=2.0,guest Second, I down a network interface (through which I have access to the SMB storage). sudo ifconfig enp0s3 down After that…
0
votes
1 answer

A script executed by MOUNT

I write a script in BASH that performs MOUNT for a particular folder The MOUNT command requires a UID & GID I want the script to take from etc / passwd / The details and each will be written to his own variable and then in the MOUNT command I will…
0
votes
1 answer

Quick delete remote directory

We writed java program, it deletes directory on some shared network disc. But it is very slow. It uses recursion for directories deletion (in function commons-io FileUtils.deleteDirectory). But I think recursion is slow, because there is a lot of…
user3706629
  • 209
  • 2
  • 9
0
votes
1 answer

Do the PowerShell cmdlets Set-ADComputer and Get-ADComputer work outside of OU=COMPUTER?

I would like to know if Set-ADComputer and Get-ADComputer work only for objects presents inside the OU=Computer or if these cmdlets are compatible with any other location?
litroma
  • 5
  • 2
0
votes
1 answer

Connect to Windows Server File System with SMB

I have written a program with C++ that can spawn an authenticate cmd.exe process in a workgroup. In further, I can run the psexec.exe program with that authenticated token to connect the server machine. printf("\n\t"); …
night-wolf
  • 127
  • 9