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

How to automatically mount a Windows SMB (Server Message Block) share from a network device to your linux computer

This question has been answered many times. I have been trying to help a friend do this on his network, but either I haven't conveyed the right information or the links I have sent him do not adequately explain how to do tit incrementally and with…
Kyle H
  • 111
  • 5
0
votes
1 answer

Samba: does current linux client support asynchronous reads?

In the interest of increasing performance, is it possible to read asynchronously from a CIFS mounted file, on linux? Thanks!!!
Jacko
  • 12,665
  • 18
  • 75
  • 126
0
votes
1 answer

Need CIFS dynamic PV provisionner restricted to a specific namespace

I have a kubernetes cluster on baremetal. I need a CIFS dynamic PV provisionner restricted to a specific namespace. I only want user/pod that have access to namespace_a to be able to store on PV provisioned on CIFS shared_a. Is there any existing…
ThatChrisGuy
  • 559
  • 2
  • 7
  • 23
0
votes
0 answers

Sanitize passwords from system logs

Can passwords or other sensitive information be removed from system logs? After mounting shares with mount -t cifs -o username=[USER],password=[PASSWORD] //[HOST]/[SHARE] /[MOUNT_POINT] checking logs with journalctl reveals that the command is…
adatum
  • 655
  • 9
  • 23
0
votes
0 answers

How to customize existing kernel module to be supported for future upgrades and multiple Linux flavours?

I have added some IOCTL calls to the existing cifs kernel module. How do I ensure that the customized cifs module is supported with future kernel upgrades? Also how to compile the customized cifs module for various Linux flavours ? The customized…
0
votes
1 answer

How to permanently mount a windows share folder in Lubuntu use PC NAME?

I am using a java program on Lubuntu which backs up my windows computer through Wi-Fi LAN. I need to access to his windows shared folder but with PC-NAME, not with IP Address. How can I do that? I am using cifs utils to achieve that and for…
Altair
  • 325
  • 3
  • 16
0
votes
1 answer

Why won't mount.cifs use my credential file?

I have a script that needs to mount a Windows share to a Linux box, run a script, then unmount it. Despite following the man page for mount.cifs the command fails to recognize the credential file. I made sure file sharing packages were…
Aaron Martin
  • 397
  • 2
  • 6
  • 17
0
votes
1 answer

Connect to windows EC2 instance through java code without SMB protocol

I'm trying to connect AWS Windows instance through java code with CIFS or WinRM and I don't have to use SMB protocol. I'm not sure whether is possible or not. On instance WinRM service is running and for testing I have allowed all traffic as…
Mayur
  • 576
  • 2
  • 5
  • 26
0
votes
1 answer

Jenkins Publish over CIFS - jobwise credential configuration

Is it possible to configure my cifs credentials jobwise? The jenkins we are using is a shared jenkins and therefore I would like to configure the credentials in my job only. As I unterstood from the general Publish Over documentation it should be…
0
votes
1 answer

Docker and remote volumes

I'm a docker beginner and have a problem with volumes residing on a NAS. The connection to the shares is working fine. With both SMB and NFS, I could mount the shares to the docker host using the following entries in fstab
John AC Lupe
  • 21
  • 2
  • 4
0
votes
0 answers

How to identity performance bottleneck with PHP slowness on linux?

On my linux server, I have a PHP process which is taking way too long (multiple days) to complete. The script basically splits a large data file into small chunks and writes into corresponding files onto a CIFS filesystem (network share). I am…
D.prd
  • 605
  • 1
  • 7
  • 21
0
votes
2 answers

Puppet - Parameter name with whitespace failed on CIFS Mount

Basic Info : Puppet Version: 2.8.1 OS Name/Version: RedHat 7 We are trying to run the below puppet resource but we are getting whitespace error, Please find the same. mount { "/SERVER/New York_share": atboot => true, ensure =>…
SudhakaranR
  • 43
  • 10
0
votes
1 answer

kubernetes cifs smb flexvolume is missing files

We have mounted a smb share from a windows server on a kubernetes Centos cluster as a PV using this plugin https://github.com/juliohm1978/kubernetes-cifs-volumedriver, that is basically just a script to use mount.cifs. We have also tried both the…
0
votes
0 answers

How to programmatically create a kerberos credential cache?

I need to mount a smb/cifs file share using a service ticket obtained via S4U2Proxy (resource-based constrained delegation). I think I can do all the steps in Java except for creating the credential cache with the service ticket in it (which…
Chris
  • 4,734
  • 2
  • 19
  • 26
0
votes
0 answers

PHP mkdir doesn't work if the path is on mapped network drive

I am trying to make a folder with mkdir, it will work as expected on a local drive, but it will fail with No such file or directory if I use a mapped network drive. I ran into this a year or so ago, and solved it with some net use trickery, but…
Douglas Gaskell
  • 9,017
  • 9
  • 71
  • 128