Questions tagged [smb]

smb is an abbreviation for Server Message Block, a network protocol for sharing files and printers implemented by Windows, Samba and others.

192 questions
40
votes
2 answers

mount -t cifs: "Operation not supported", but can connect via smbclient

After sysadmin replaced the NAS, I can no longer mount the network share with sudo mount -t cifs //netgear.local/public /media/mountY -o uid=1000,iocharset=utf8,username="adam",password="password" Both NAS are linux-based, one with Samba 3.5.15…
Adam Ryczkowski
  • 5,493
  • 7
  • 39
  • 60
30
votes
8 answers

Copy files without encryption (ssh) in local network

scp works well in all cases, but the Raspberry Pi is to weak to copy files efficiently in a secure environment (lan). The theoretically possible 6,75 MB/s via 54 Mbit wireless lan shrink down to about 1.1 MB/s. Is there a way to copy files remotely…
ManuelSchneid3r
  • 4,256
  • 8
  • 41
  • 58
15
votes
4 answers

Linux to Windows - can list smb shares but cannot connect

This is a really weird one and all the research I've done so far isn't panning out. I'm trying to connect to a Windows share from CentOS 7.5.1804 to Windows Server 2008 R2 (no snickering and let's stay on topic please) share. This server: has not…
MGoBlue93
  • 263
  • 1
  • 2
  • 6
14
votes
1 answer

SMB protocol min max values available?

I am running Samba 3.6 in SLES 11.4. I recently added in /etc/samba/smb.conf in the [global] section the following min protocol = SMB2 max protocol = SMB2 this was done to allow communication with Windows10 clients that are starting to come…
ron
  • 5,749
  • 7
  • 48
  • 84
14
votes
1 answer

Getting Samba working in manjoro linux, daemon failed to start: Samba detected misconfigured 'server role' and exited.

I recently tried to start samba on manjoro linux. systemctl start samba.service systemctl status samba.service ● samba.service - Samba AD Daemon Loaded: loaded (/usr/lib/systemd/system/samba.service; enabled; vendor preset: disabled) Active:…
nelaaro
  • 1,333
  • 3
  • 15
  • 20
11
votes
1 answer

Command line printing with a Samba printer requiring authentication

Is there a way to print to a Samba printer requiring authentication by providing the credentials on the command line (e.g., with lpr)? I managed to store the credentials in GNOME Keyring and when I am logged with a desktop session I can print with…
Matteo
  • 9,676
  • 4
  • 49
  • 66
10
votes
1 answer

Smbclient asking for password

I am connecting to a samba share using the following command.. /usr/bin/smbclient \\\\server78\\publicfolder It asks me for my linux account password before it will connect. This isn't a problem if I am running it manually but how can I use this…
fightstarr20
  • 237
  • 1
  • 2
  • 8
10
votes
8 answers

mount.cifs can't use the same credential file that smbclient uses

I'm trying to mount a NetApp CIFS share to one of our servers and I keep getting "Permission Denied" printed to stderr and NT_STATUS_WRONG_PASSWORD printed to the running dmesg. root@xxxehpvld05 ~ $ mount.cifs -vv //zhp-nas.xxx.com/perspectives…
Bratchley
  • 16,684
  • 13
  • 64
  • 103
10
votes
4 answers

How to check if Samba is installed

I don't know if Samba is pre-installed in my Linux system. I have the /etc/samba/ directory, with smb.conf file. But if I try one of these commands sudo service smb start sudo service samba start sudo service smbd start the answer is always…
BowPark
  • 4,811
  • 12
  • 47
  • 74
9
votes
1 answer

CIFS randomly losing connection to Windows share

I have had a couple of directories mounted remotely from a Debian Jessie, in a Windows share, for a few months. In the last weeks, I keep having complaints of random disconnects from the mountpoint, and had to do a sudo mount -a to regain the mount…
Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
8
votes
3 answers

How can I access files of an SMB share if I have the IP?

Having the IP, under Linux how can I access shared smb files? When I type in for example: smb://192.168.0.50 I get an error message.
DeerPole
  • 91
  • 1
  • 1
  • 2
7
votes
1 answer

Very slow CIFS/SMB performace

I switched from NFS to SMB/CIFS since the permission system of NFS annoyed me. I never had performance issues while using NFS (1GB Lan) and had about 70-90 MB/s write and read speed while writing to my synology NAS. I test my write performance with…
rockZ
  • 679
  • 3
  • 7
  • 14
7
votes
2 answers

Setting SMB 2.0 as default for mount operations

Using a mount -t cifs -v
returns with Host is Down error when connecting to a server running SMB 2.0 (with SMB 1.0 disabled). A workaround is to specify vers=2.0 to the argument list of mount. This works fine if you're mounting via command…
MarkP
  • 191
  • 1
  • 6
7
votes
2 answers

Is it possible to transfer a file from a Linux Bash script to Windows without mounting the server folder?

I am writing a script (Bash) to transfer files from my local Linux machine to Windows servers. The Windows servers are accessible normally using the SAMBA shares, and I am able to mount a folder to my Linux machine using the mount.cifs command with…
рüффп
  • 1,677
  • 4
  • 27
  • 35
7
votes
2 answers

How to make a cifs/smb mount ignore umask?

I have a cifs mount that is mounted from /etc/fstab. But I would quite like creation of files/dirs on that share to ignore my umask. Is that possible? It seems that cifs does not support the umask=000 option (source: man mount.cifs). My current best…
spookypeanut
  • 230
  • 1
  • 2
  • 9
1
2 3
12 13