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

learn more… | top users | synonyms

0
votes
1answer
11 views

Sending files over Samba with command line

I was wondering if there is a way to use Samba to send items to a client machine via the command line (I need to send the files from the Samba server). I know I could always use scp but first I was ...
1
vote
1answer
20 views

How to create a Samba share that is writable from Windows without 777 permissions?

I have a path on a Linux machine (Debian 8) which I want to share with Samba 4 to Windows computers (Win7 and 8 in a domain). In my smb.conf I did the following: [myshare] path = /path/to/share ...
0
votes
0answers
15 views

CentOS samba connection over an OpenVPN network

I have a CentOS 6 server that I am connecting to via OpenVPN and I would like to know how to get a Samba share working so I don't have to keep using ssh terminals. After I connect to the CentOS ...
0
votes
0answers
15 views

Reshareing a Samba share

Thanks for looking at my question. I have 2 Networks on my firewall, 1 for the users and 1 for some servers. Now I have 1 server as sort of portal to some shares on other servers. the portal server ...
1
vote
0answers
16 views

Edit samba user password digest

I am maintaining a samba server for an office environment. So far, whenever there had to be a new user, I called the person over and let him type in his samba password on my console, after I typed ...
0
votes
0answers
14 views

Is there any way to read files from the virtual /proc directory using smbclient?

Is there any way to read files from the virtual /proc directory using smbclient? No root access. Both server and client are Debian Linux machines. Server is running Samba 3. Smbclient version is ...
0
votes
0answers
7 views

Samba: bin folder in external HD doesn't work

I'm using this configuration for share my home folder with bin folder function: [doc] comment = doc path = /home/doc browseable = yes writable = yes create mask = 0770 directory mask = 0770 vfs ...
5
votes
0answers
29 views

Mounting ExFAT on Linux

I've been trying to set up my Raspberry Pi B+ as a HTPC that also shares a USB HDD over Samba and AFP. The latter is working just fine, and the Samba share seemed to be working too for a moment. ...
0
votes
0answers
13 views

Giving permissions to user for samba RPI

I am using Samba to share a folder on a USB drive from my Raspberry Pi and it works except for the permissions. From my windows computer, I cannot write to the folder with the issue: I am following ...
1
vote
1answer
19 views

Script samba password but securely

I want to script the addition on a samba user and the password. I have seen solutions similar to the one here Piping password to smbpasswd echo -ne "$PASS\n$PASS\n" | smbpasswd -a -s $LOGIN but ...
1
vote
2answers
61 views

Why can't root delete a file?

On a samba share, I have a .DS_Store file on a SMB network share that is causing havoc. Even as root, I can not delete or chmod it. -rwx------ 1 bob acme\Domain Users 6148 Apr 24 09:11 ...
0
votes
1answer
22 views

Cannot mount Samba share: Unable to find suitable address

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: ...
1
vote
0answers
14 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 ...
-1
votes
0answers
14 views

How to avoid this message,or better set it to a reasonable time?

I have a samba4 dc,when i authenticate a linux client or simply do a kinit i receive this message echo password|kinit Password for user@SERVER.PRIVATE: Warning: Your password will expire in 35 days ...
2
votes
0answers
61 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
0answers
16 views

Remove Samba as Last Domain Controller

How do you remove Samba as the last Domain Controller in a forest? The Raspbian distro automatically configures Samba 4 as a DC during installation. I want this to be a member server of my existing ...
0
votes
1answer
21 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
35 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 ...
1
vote
0answers
21 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
26 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
153 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
26 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
63 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
70 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
15 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
51 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
32 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
46 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
34 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
38 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
55 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
25 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
38 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
84 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
39 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
57 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
51 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
174 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
30 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
55 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
40 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
95 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
111 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
63 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
110 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
79 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
44 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
102 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
53 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
78 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 ...