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

0
votes
0answers
2 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
962 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
9 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 ...
1
vote
0answers
27 views
+50

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 ...
3
votes
4answers
828 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. ...
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
47 views
+50

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
19 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
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 ...
0
votes
0answers
23 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
150 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 ...
0
votes
0answers
11 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 ...
1
vote
0answers
10 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 ...
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
37 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
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). ...
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 ...
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
0answers
14 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
18 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
22 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 ...
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, ...
2
votes
1answer
14 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, ...
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 ...
2
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'...
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 ...
3
votes
1answer
61 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 //...
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, ...
2
votes
1answer
25 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 ...
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 ... ...
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

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
65k 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
22 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
909 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. ...
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.
1
vote
1answer
23 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
83 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
17 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 ...
3
votes
0answers
44 views

Samba performance tuning

Hi I'm using Samba to share a folder from linux to a Windows client(Windows Server 2012 R2). The disk backing the linux share is pretty fast (NAS of 500+ MB/s). However, when I benchmark the IO ...
2
votes
0answers
211 views

NFS share inside a NFS or Samba share cannot be accessed

I have this MCVE under SLES 11 SP2: 1) Server 10.10.50.199 has the directory /foo/. Inside /foo there is a directory bar/ which is used in /etc/fstab : 10.10.50.200:/nfs_folder /foo/bar 2) Server 10....
0
votes
1answer
38 views

How to auto-mount shared SMB folder on logon?

I'm using Ubuntu 14.04. When I log on I see in the Files manager (near the bottom) this: I routinely click "Connect to Server" and then see this: I then double-click those and they are ...
0
votes
1answer
201 views

samba smbpasswd NT_STATUS_ACCESS_DENIED gid_to_sid: winbind failed to find a sid for gid 100

I am running SLES 11.4, having problems when users try to use smbpasswd. As root if I do smbpasswd for a user account then that works. Once the smbpasswd is set, samba server works fine and users can ...
0
votes
1answer
7 views

How to change password for SAMBA printer on Kubuntu 14.04

On my desktop at work with Kubuntu 14.04 I have (actually had) access to a network printer (Windows printer via SAMBA). After changing the password of my account I naturally have to reconfigure the ...
0
votes
1answer
37 views

What is samba equivalent for windows command “View user account details” NET USER [/DOMAIN]

What is unix/samba equivalent for windows command "View user account details from AD" NET USER /DOMAIN username next unix command is not one net -v -U username -S ad-server-host RPC USER INFO ...
3
votes
3answers
13k views

How to access windows file server from linux

We have a windows file server with an address like this: \\bioinf-filesrv2.mycompany.fr\cluster15 How can I access it from Linux? On a Ubuntu 14.04 I tried to access this through nautilus, but it ...