A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services. Use this tag when your question involves Samba shares, mounts, or printers.

learn more… | top users | synonyms

1
vote
1answer
3k views

Cannot mount Samba share: Unable to find suitable address [closed]

I just moved house, and after putting up all my devices, on my RasPi, running Raspbian, I cannot mount my TimeCapsule's SMB file shares anymore. It used to simply work, but Now I get this: root@pi:/...
1
vote
0answers
65 views

Windows file shares dissapear erratically in Linux file browser

My network consists of a router which acts as a dhcp server. Connected to one of its ethernet ports is a unmanaged switch which in turn has all my machines connected to it via ethernet. On this ...
2
votes
0answers
302 views

mv “Not a directory” when target name too long

I'm trying to do an svn checkout on my local Ubuntu 14.04 LTS vagrant box (SSH via MTPutty): vagrant@vagrant-ubuntu-trusty-64:~/shared/dev$ svn checkout https://... [...] svn: E000020: Can't move '/...
0
votes
1answer
61 views

Samba erases content of files when saving

Samba SMB share hosted on Debian "Jessie" in a private home network setup. Can connect to share, open files and copy files to / from share OK. Attempting to make any changes to a file on the share (...
0
votes
0answers
98 views

I use a shell script to mount several dirs that share from IBM N6040, it works on centos6 but not on centos7

First of all ,the username、password and the share dir's path is correct, it works on centos6 ,but not on centos7 The code in the shell script like this : mount -t cifs -o username=someone,password=...
1
vote
0answers
86 views

Mount cifs permission problem on deep directory perhaps due to UNC and prefixpath splitting

I am trying to mount a directory (dir3). However, on the windows machine the directory /server/dir1 is already a file shared folder, but I don't have permission to it. I have been given the read ...
0
votes
1answer
120 views

Why is smbpasswd located in samba-client package?

[root@localhost data]# yum provides smbpasswd samba-client-4.1.12-21.el7_1.x86_64 : Samba client programs Repo : base Matched from: Filename : /usr/bin/smbpasswd [root@localhost data]# yum ...
0
votes
0answers
340 views

Debian 8: How do I modify the Samba initscript in an upgrade-safe manner to include my virus scanner?

I'm using Debian 8 ("Jessie") and I have it configured to use systemd rather than sysvinit. I'd like to modify the init script (or whatever the systemd equivalent is) for Samba in such a way that if ...
0
votes
0answers
269 views

ldap user on samba share

I have two servers: one is ldap and the other is samba. I have an existing user on the ldap server for an ldap client. Now I want to use this user account with samba to give share access permissions ...
1
vote
1answer
356 views

Pros and Cons of Samba and Windows as fileserver [closed]

Beyond the licenses of each one of them: what are the benefits and cons that have both Samba (Linux) and MS Windows as fileserver?
1
vote
1answer
957 views

how to change cifs timeout

Happens when from my laptop I change wifi network that I've to wait 5 minutes before that I can umount cifs share. mount -t cifs //ip/share /home/user/net/share -o user=user,pass=pass I didn't ...
0
votes
1answer
2k views

how to properly configure samba access using groups

I am having trouble trying to get a specific group to access samba server through windows. is it possible to allow certain groups to the file sharing server? example, I have a group called "...
0
votes
1answer
161 views

Samba and usbmount: can't write on automounted device

This is my problem: I configured my RPi with Debian: Samba shares /media/, that is readable-writeable-executable from my home network usbmount automount USB devices when inserted in my RPi, in /...
1
vote
0answers
44 views

Can't open symlinks within Samba share [duplicate]

I have a Samba share on Win Server (I have no access to the server settings) with many symlinks in it and a PC with Linux (Ubuntu), from which I try to access the share (I mount it via mount.cifs). ...
1
vote
1answer
49 views

How to automatically get write access to newly created directories?

A share on the server is defined as follows [share] path = ... read only = no create mask = 0777 directory mask = 0777 force create mode = 0777 force directory mode = 0777 valid users = dobiasd It ...
1
vote
1answer
330 views

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
1
vote
0answers
896 views

password protected samba share

I would like to have a few samba shares. Some of them should be available to everybody (this is already working) and some of them should be protected with a password (and username). For the password ...
0
votes
1answer
115 views

Connect to Windows share from Red Hat machine via DNS name

We have a Windows share \\server1\share From a Red Hat machine, we can mount to the share without issue. We have setup a DNS pointer that points to server1 and is named production. From the Linux ...
1
vote
0answers
316 views

Samba File Server Configuration and Sync for Redundancy

I have two boxes which I installed Samba on. For now, I have a single user that access the server, however, I need to expand as to deploy in a production network. Below is what I want to achieve. ...
1
vote
1answer
178 views

mount smb share from other computer

help needed. I want to give thunderbird access to local folder on other computer. So I granted the local user /bin/mount and /usr/sbin/mount.cifs in sudoers. This works fine, using a bash script #!/...
0
votes
1answer
218 views

Raspberry Pi mount Samba Network Share

I tried for at least 3 hours to mount my Network Share to my Pi... I searched on many posts and tried so many things. But nothing worked... I want to mount my Share over the /etc/fstab file so I ...
1
vote
0answers
310 views

How to mount the “root” file system of a Windows Samba Share with cifs?

Is it possible to mount the "root" of a Windows Samba Share? I have successfully mounted a specific Samba share with this: mount.cifs //server/share /mnt -o username=blub What I would like to mount ...
7
votes
1answer
4k views

Execute a .exe on a samba share

I have a linux machine and a windows machine, the linux machine has a samba share with a .exe file on it. I can read and write files from the windows machine to the samba share, but I cannot execute ...
1
vote
1answer
642 views

How to set up samba sharing with libvirtd

I'm using QEmu with a Windows 7 guest on my (Arch) Linux system. I'd like to use the samba to share a directory on my host system with the Windows guest. I can do this from the terminal with a command ...
0
votes
3answers
242 views

set samba password now can't login

In trying to get samba server configured on my Fedora I used the following command to set a password: sudo smbpasswd -a user 'user' also happens to be the main user account on the system: the one I ...
1
vote
0answers
206 views

Create Symbolic Link for Windows Machines

I currently operate a SMB file server for my network and, like a lot of you guys, don't touch Windows myself. I need to create a symbolic link that will work on my user's Windows machine to \\SERVER\\...
1
vote
1answer
1k views

add user in samba server

# smbpasswd -a linuxsir New SMB password: Retype new SMB password: # ls /etc/samba gdbcommands smb.conf smb.conf.bak smbpasswd # groups linuxsir linuxsir : linuxsir my_test_group1 root@debian:/...
3
votes
1answer
2k views

Mount a windows share without having root credentials

I am trying to mount a Windows shared folder in my home folder. I am able to execute the following command from a Linux (i.e., CentOS) machine which I have sudo access. The command that I am using ...
0
votes
1answer
325 views

Mounting smb shares on OS X accessible with Microsoft account

I have a Windows machine which shares a particular directory and only an owner of this directory is able to access it over the network. Owner account is linked to Microsoft account. I am trying to ...
1
vote
1answer
448 views

Samba Tuning (Very low data transfer rates)

I have been trying to tune my Samba server for a while now and have had very little luck. At first I thought it could have had something to do with my router but recently purchased a new one with 10/...
0
votes
0answers
180 views

Accessing NTFS HDD through samba

I'm having trouble writing to the HDD attached to my pi from my laptop. The samba share is set up fine it seems, since I can write to the SD card without a problem. But whenever I try to write to the ...
1
vote
1answer
56 views

Ubuntu and Windows enviroment

Our IT department needs to set up a file server that will hold the organizations documentation and all other important information, its currently being held on our Windows AD server which the reasons ...
0
votes
0answers
433 views

samba share subdirectory prevent rename/delete operation

I have a samba share (ArchLinux with kernel Linux comp001 3.18.7-2-ARCH #1 PREEMPT Thu Feb 12 12:53:57 MST 2015 armv6l GNU/Linux and samba version Samba version 4.1.16)mounted in /mnt/data/, that is ...
2
votes
3answers
2k views

Resolving NETBIOS names from Linux

There's a Windows machine called SUSAN on my network. From a Windows VM on my Linux box I can simply: C:\>ping susan I've followed this guide (and looked at several other similar ones) for ...
1
vote
3answers
7k views

Set a size limit to SAMBA shared directory remotely

I have been asked to set up a shared directory for a colleague on a server I manage. I created an account for him on that server, set up a Samba password with smbpasswd, created a directory and set it ...
1
vote
0answers
404 views

How can I access samba from windows 8?

I'm running samba on debian (Running on a BeagleBone Black), and I cannot access the share via Windows 8.1. It prompts me for a username/password as shown below, and won't authenticate me. When it ...
1
vote
2answers
884 views

How to use rsync with samba share

I would like to synchronize all the content of my phone to my home server using the phone's samba share. My approach is to write a script that mounts the phone's samba share, and then copies all the ...
0
votes
0answers
109 views

Edit files on remote server in /etc/snmp/ directory with Mousepad

I'm sick of editing conf files on my raspberry pi snmp server in nano via ssh terminal. It's time consuming. Ideally I'd like to edit them with Mousepad locally, using Samba network drive. I ...
2
votes
1answer
1k views

How to encrypt data in a folder in a samba share, and share it both encrypted and decrypted?

So far I have a Debian NAS with a samba share accessible from a Windows client by user credentials. Within that share I have a folder of images encrypted by ecryptfs. A friend of mine have agreed to "...
1
vote
1answer
1k views

Setting up permissions for common folder

I am trying to setup a little home network using Linux as the File Server and have run into a bit of problems w.r.t. to folder permissions that I can't seem to solve. The setup: An Ubuntu 14.04 ...
1
vote
2answers
565 views

Samba4 on HPUX 11.31

I'm tryng to setup hpux samba,i use this smb.conf [global] workgroup = DOMINIO realm = DOMINIO.COM server string = "" netbios name = HPUX2 security = ads hosts ...
4
votes
0answers
243 views

Does Samba 4 actually respect Unix file acls?

After researching the subject on the internet I drew a conclusion that Samba should take into account Unix file acls. During my tests I found the opposite. Only Unix file mode bits are respected, and ...
1
vote
1answer
69 views

Transfer speed while copying from Windows to Pi

I am using a raspberry pi with samba as remotely accessible storage in my local network. While copying files from windows to pi I am getting strange transfer speed. It jumps from 200 kB/s and less to ...
0
votes
0answers
200 views

Linux Mint will not allow traffic from one specific PC on LAN

I was editing /etc/network/interfaces, and then decided to change my settings over VNC instead. This halted my SSH session and also my VNC. I'm not sure if this locked me out or not, but I set cron up ...
1
vote
1answer
581 views

How to debug cups and samba? LaserJet Professional P1102w not printing “filter failed”

Here is what I have tried to verify: smbtree: WORKGROUP2 \\DAN-PC \\DAN-PC\Users \\DAN-PC\print$ Printer Drivers \\DAN-PC\IPC$ ...
1
vote
1answer
1k views

Stopping Samba Auto-reload on boot

Trying to boot my Linux 17 mint. It stops at "Stopping Samba Auto-reload integration." It hangs there and will not boot. I've tried recovery boot however the dpkg manager in the recovery isn't ...
2
votes
1answer
129 views

Different write behavior for owner and member of group despite 775 permissions

I have mounted a remote share via my fstab using the line: //path/to/target /media/f cifs gid=<mygroup's id>,dir_mode=0775,file_mode=0775 0 0 As a result, everything under /media/f winds up ...
1
vote
1answer
643 views

Samba Password must change after first logon

How to enable "samba password must change after first/next logon"? I enabled a function in pdbedit file but is not working. root#/opt/samba/bin/pdbedit -P "user must logon to change password" ...
1
vote
0answers
64 views

Is there a reason I can't mount with a prefixpath in this scenario?

I'm not sure why this scenario is so weird, but I have a particular combination where this command won't work: mount -o username=guest //192.168.1.70/Volume_1/Movies/Library /storage/movies I get ...
2
votes
0answers
342 views

What's the correct way to share a directory with Windows machines using Samba?

I'm running Debian 7.7, intended to be used as a server. I've got Apache installed and I'd like to share its /var/www directory and access it from Windows machines. I've followed the instructions on ...