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

2
votes
1answer
5k views

SELinux Write access for vsftpd and samba

This should be easy enough I think, but I'm new to SELinux. I have a CentOS 6 file server. I have some LVM file systems at /var/media and I want to use both Samba and FTP to share them with a Windows ...
0
votes
1answer
1k views

Samba 3.6.12 and NIS

We were able to use Samba and NIS on Samba 3.0.8 on Solaris 10 U5. When we update system to Solaris 10 U11, samba version became 3.6.12. And we are unable to authenticate like old style. I did not ...
3
votes
2answers
765 views

How can I share a thunderbird (icedove) profile, in real-time, between two computers?

I have two computers which both run Debian Sid. My problem is that I want to synchronize profile content between two computers both using thunderbird(+lightning) (contacts+calendar+email) (...
4
votes
1answer
3k views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
0
votes
1answer
20 views

Kerberos in Ubuntu system

I would build a kerberos authentication system on Ubuntu based machines. I'm making it for a school project. So i have some questions: 1)What do i need to make client-KDC-server? Do i need a domain ...
2
votes
2answers
12k views

How do I install Samba on Red Hat Linux?

I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but ...
1
vote
0answers
54 views

postgresql auth against samba active directory

I've recently set up a new Samba4 Active Directory to handle centralized authentication for my small office network. On this server is also a postgresql-9.5 instance, and I'm trying to have it ...
0
votes
2answers
2k views

SAMBA Specified Network Name no Longer Available

I've got a problem building a SAMBA share between two computers. One is on Windows 8, the other is on a custom Yocto made Linux. The SAMBA worked before, I don't understand why it does not anymore ... ...
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 ...
2
votes
1answer
5k views

Permission denied for user accessing mount

Using root I can mount another Linux share no problem. root@crunchbang:/mnt# mkdir javalib root@crunchbang:/mnt# mount -t cifs //10.1.3.7/javalib ./javalib -o username=guest Root can read/write to ...
2
votes
2answers
7k views

Samba 3.5.9 - join domain specific OU - net join ads

Our Unix team often uses Samba to join machines to the domain. The command they have traditionally used is: net join ADS -w [domain name] -U [username] I am one of our AD admins and I am trying to ...
0
votes
0answers
33 views

How do I fix my CIFS mouning options correctly to not break the mount?

I'm in the process of setting up a new NAS in my home setup. Part of this is mounting it on my Ubuntu server running 14.04. My problem arises when I want to mount a subfolder of a share so that only ...
3
votes
1answer
2k views

How to change user on SWAT page (or how to control Samba by nonprivileged user)

I logged into SWAT with my nonprivileged user, since the root account is usually disabled on modern Linux systems. I cannot control any Samba parameters by this user. Once I enable the root account, ...
3
votes
2answers
2k views

Confused on file and directory permissions for Samba shares

I've been searching for while to try to understand the following mask/mode fields for creating files/folders in Samba shares: create mask force create mode directory mask force directory mode But I'...
1
vote
1answer
37 views

Appending a line to a [section] of a config file

I've noticed that some Linux configuration files (e.g. /etc/samba/smb.conf) expect you to enter the actual settings (key value pairs) in a particular "section" of the file such as [global]. I'm ...
0
votes
1answer
31 views

How to move files on remote CIFS share into different remote folder using e.g. smbclient

I am looking for a linux command to move set of files from one folder to another on windows box remotely. I tried smbclient, but when I use it for moving files I have to perform two step process: ...
4
votes
1answer
2k views

Samba 4 has high CPU usage when accessing mapped drive through Windows

I have noticed that when I access my Samba share from Windows, the smbd daemon will always use aprox 10-20% CPU - no matter if the share is used or not from Windows. Even if I close the share/window, ...
1
vote
1answer
2k views

Deleting Non-empty Directory with smbclient

How can I remove a non-empty directory with smbclient? I have tried the following: 1) rm Result: NT_STATUS_NO_SUCH_FILE listing [dir_path] 2) recurse;rm Result: No Error but also nothing ...
6
votes
2answers
1k views

Create Temporary Samba Share

Is there a possibility to temporarily share a directory per Samba? With python3 i can serve the current directory per HTTP using: python -m http.server. I'd like to do the same thing with Samba.
0
votes
1answer
31 views

Share a folder between Linux host and Windows guest VM

I'm trying to share a folder between my main OS (openSUSE 42.1) to a guest Windows 7 virtual machine, but I'm unable to set it up properly. I access the VM from virt-manager, and I've read that the ...
2
votes
3answers
4k views

Unable to connect to the samba server

I setup a samba server (Version 3.6.9-167.el6_5). One of the sub folder contains more than one thousand, if I delete this folder then I can connect to the server, otherwise I am getting a timeout ...
1
vote
1answer
18 views

Permissions to allow files to be written, but not read, overwritten or modified

I'm setting up a file share for a small group (CIFS/samba on FreeNAS, so the base system is FreeBSD/ZFS using ACLs). I want to allow users to put stuff into a folder on the share - but not to be ...
1
vote
1answer
966 views

Samba share open for all to all

thanks for viewing at this question. I have a CentOS 6.5 server with a share that is and should be accessable for and from everyone. All content placed on that share should be accessable by everyone. ...
0
votes
1answer
31 views

Unix winbind groupmap

i got Linux server (SLES 12) joined in Windows AD with winbind and samba services. I got unix group "mqm" and windows AD group "67uts-mq-admins". I want to map windows AD to unix group with "net ...
1
vote
1answer
989 views

“You do not have the permissions necessary to view the contents of “Share on name.domain.com”.”

I am having some issues with Samba on my Fedora file share server. I've logged into as the vncuser below on the server itself and I can access the directory, however I get permission denied errors ...
0
votes
0answers
30 views

mount samba shares at boot with systemd

I have some Samba shares that I want to mount at boot time. They're not needed for anything immediately, but I'd like them to be available when I first access them. I've tried using a .mount file ...
4
votes
4answers
837 views

Active Directory Domain with SAMBA or Other Tool

Can I create a domain using SAMBA and set up Active Directory with SAMBA on it? And by this I mean no windows servers involved. I would also like to be able to log in from a Windows machine. ...
0
votes
1answer
91 views

Issues in accessing samba share on windows 10 only

First diagnostics showed the following error: windows socket registry entries missing Then I have removed the registry entries of winsock and winsock2 and reinstalled them by downloading and ran ...
0
votes
2answers
20 views

Samba Service Printer Does Not Execute

I installed a samba service on my raspberry pi 3 linux: Jessie (Debian 8). smb.conf [global] netbios name = medicalexporter workgroup = WORKGROUP public = yes # Run a WINS server wins ...
0
votes
0answers
33 views

Web-based Samba client interface for headless system

I run a file server on a Raspberry Pi at home. Also at home on another Raspberry PI; I'm running Openelec Kodi. The instance that I'm envisioning is where my (not-very-tech-savvy) wife is at home ...
1
vote
2answers
158 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
0answers
24 views

VPN SoftEther - I can't access VPN server directly from VPN connected device

I have installed and run VPN server (SoftEther) on my Raspberry Pi 3 (Raspbian) and it works fine except the fact that my PI works not only as VPN server but offers other services (SAMBA, FTP, APACHE, ...
2
votes
2answers
2k views

Why do files created via Samba get different ACL (mask) permissions depending on the client OS?

I tested this on a clean install of Debian Jessie, but I also have this problem on other machines (ex: Ubuntu 12.04). In addition to the base install, I installed sudo, samba, and cifs-utils. Shared ...
0
votes
1answer
48 views

Mount Samba in Linux Mint

How can I mount my Samba HD from my stock Asus n66u router to Linux Mint laptop over the air? I’ve tried tutorials, but they are either very confusing (since I don’t use Linux too often) or using a ...
1
vote
0answers
45 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). ...
0
votes
0answers
18 views

SAMBA Share Not ReadWrite

I've set up a folder (on srv005) /mnt/local/data owned by msc:msc_group. drwxr-xr-x 4 msc msc_group 4096 Jun 9 22:33 data I've set up SAMBA with the following share options: [srv005_data] comment ...
1
vote
0answers
37 views

samba4's ldbsearch complains about authentication for basic searches

So I understand the concept of binding to a LDAP server of any kind and performing either authenticated or anonymous queries. And my goal is to get the full dn=...dc=example,dc=com for a specific ...
0
votes
0answers
26 views

Speed up SAMBA refreshing with file explorer

I'm using Fedora 23 with KDE Plasma. I have a NAS server and I'm connecting to it through the smb protocol. Unfortunately, I noticed that my default file explorer, Dolphin, was slower to get files (...
1
vote
1answer
2k views

Samba no longer allowing different guest account per share [closed]

I sure hope I don't make a fool of myself with this but here goes... I've updated Samba from 3.0.33 to 3.6.9 (well, upgraded my OS and this update came with it) and have found certain features I ...
2
votes
1answer
17 views

How to “forget” user credentials after logging in to a windows share (samba)

I logged in from my Mint to a windows share (which is actually a linux running samba, if it's relevant), typed in the password, and got it. Even though I marked it to forget the password immidiatly, ...
3
votes
1answer
85 views

How can I mount an Apple Time Capsule in FreeBSD (FreeNAS) as a smbfs share?

I am trying to mount a 3rd generation Apple AirPort Time Capsule share on a FreeNas box. I can connect to the share using smbclient and the remoteUser password. % smbclient -U remoteUser -L //...
2
votes
1answer
31 views

Wins nss host name resolution not working

I'm trying to get wins name resolution working. I thought I understood the required step, but I can't get it to work. The box is running SLES 12 SP1. This is what I've done: Added a wins server to ...
1
vote
1answer
26 views

SELinux restorecon

I am trying to export a Samba share and changing its SELinux fcontext to 'samba_share_t'. However in the guide that I follow after changing the fcontext, I need to run 'restorecon' over the exported ...
1
vote
1answer
20 views

Very low disk performance on Samba

I'm using Samba on Debian 8.4 (Jessie) to share files with a small number of Windows & Mac users (~20 total, ~5 at a time at most) and I'm seeing abysmal performance on read and write: tested by ...
9
votes
3answers
68k views

mount error 13 = Permission denied

One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs ...
0
votes
0answers
45 views

How do I connect to Hyper-V VM's serial port from Linux?

I run Linux as a virtual machine on MS Hyper-V hypervisor from Windows Server (2008 R2 and 2012 R2, 2016 would be nice as well) and I want to read output from the VM's serial port (one-way ...
1
vote
1answer
36 views

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 ...
4
votes
4answers
19k views

Accessing a SMB share without a password

When accessing SMB shared that are password-protected, smbclient works just fine. But when I'm trying to access shared that have no password protection (public shares), smbclient prints: tree ...
0
votes
0answers
176 views

SAMBA fails to restart >> nmbd.serviceJob for nmbd.service failed

Trying to set up samba on a new machine, but having problems. First I couldn't get the [homes] section to work (couldn't access from other machine). Now SAMBA won't restart: sudo /etc/init.d/samba ...
0
votes
1answer
24 views

Samba “printer admin” option is deprecated on 3.6.X and removed in 4.0

In my /etc/samba/smb.conf, I use option printer admin. Then I got, # testparm -sv WARNING: The "enable priviledges" option is deprecated Unknown option encountered "printer admin" Ignoring ...