A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services.

learn more… | top users | synonyms

1
vote
0answers
43 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
57 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
253 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
118 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 ...
0
votes
1answer
139 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
230 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
158 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
82 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
35 views

can't open simlinks within samba share

I have a samba share on Win Server with many simlinks in it and a PC with Linux (Ubuntu), from which I try to access the share (I mount it via mount.cifs). But when I try to open a folder which ...
0
votes
0answers
102 views

how to mount samba dir into lxc container

I want to have access to samba dir inside lxc container. I found, that i can't mount directly, but have to mount samba to host, than use bind mount in container's config. I add ...
1
vote
1answer
43 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 ...
0
votes
0answers
78 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
122 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
46 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 ...
0
votes
0answers
65 views

Possible to detect and alert when SMB writes cryptolocker to a share?

I need to make an alert,task, or action when cryptolocker uploads a specific app into the OS How can I hook into the filesystem in such a way so that I can detect this? For reference, I'm using ...
1
vote
0answers
199 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
64 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
105 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
115 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 ...
2
votes
1answer
690 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
66 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
97 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
80 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 ...
1
vote
1answer
150 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 ...
2
votes
1answer
290 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
125 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
212 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 ...
0
votes
0answers
117 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
51 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
181 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 ...
0
votes
0answers
77 views

Printing via Windows Print Sharing (SMB) as AD user

I am in the process of researching a linux distro for my workplace and am currently checking to see if we are able to configure our chosen distro (centos7) to connect to our MFD printers. I am able ...
1
vote
0answers
186 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
1k 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 ...
0
votes
0answers
271 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 ...
0
votes
2answers
148 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
66 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 ...
1
vote
1answer
285 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
419 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 ...
0
votes
0answers
156 views

Allowing access to samba share without setting permissions to 777

I have a linux box (Centos 6.5) joined to my windows domain that has storage attached for backups. I have a samba share so domain servers can access the storage and I only allow MYDOMAIN/Administrator ...
1
vote
2answers
347 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 ...
3
votes
0answers
152 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 ...
0
votes
0answers
131 views

Samba4 does not map computer accounts correctly

I am having a problem with a fileserver running FreeBSD 10.1 and Samba 4.1.13. I have a share definition created thusly: [database] path = /tank/shares/database writable ...
1
vote
1answer
57 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
150 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 ...
0
votes
1answer
335 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$ ...
0
votes
1answer
584 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
78 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
164 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
50 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
109 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 ...