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

Commands for successful domain controller replication on Ubuntu / Samba4 / Zentyal

I have a Primary Domain Controller (PDC) and an Additional Domain Controller (ADC) running on two different machines at two different locations connected via a VPN. Both are running a version of ...
1
vote
1answer
886 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 ...
2
votes
1answer
415 views

Create FQDN in LAN for Windows systems without samba

I just set up my raspberry pi. It is working great and I can easily access it from my local Windows machine using SSH. I gave it a custom hostname. I can acces the pi with this hostname only when the ...
0
votes
2answers
782 views

How can I use virtual users in “write list” and “read list” in samba?

Suppose I don't want to create effective users/group for my users (samba server as share server), and I need to create a share for them. Question : How can I use write list, read list, valid user ...
0
votes
1answer
826 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. ...
3
votes
1answer
60 views

Printing through a Samba server without recording the password in plaintext

I need to access a printer through a Samba server. In CUPS, I could make it work by entering a device location such as smb://username:password@hostname/printer_name. However, it would mean for my ...
0
votes
0answers
716 views

Version Error Integrating PowerBroker Identity Services and Samba on ubuntu

I am trying to use PBIS (formally likewise open) to enable me to limit permissions on shares to certain AD groups. When I run the command samba-interop-install --install I get the following error ...
1
vote
1answer
359 views

How can I write to my Samba share?

There are a million versions of this exact question out in google land but I've been unable to solve my problem (sorry). I have created a Samba share on Ubuntu 14.04 (actually xbmcbuntu) that I can ...
1
vote
2answers
3k views

What does `process_usershare_file` do?

I have a samba server that is giving me this in logs for every single share (in this case "Public" is the share): Sep 2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.398065, 0] ...
4
votes
1answer
530 views

How do I share a mounted sftp drive?

My friend has a public server that he's given me read access to with SFTP. I've successully mounted it in Mint 17 with the command sshfs user-name@file-server:/location/I/want /mount/point/I/want -o ...
2
votes
3answers
9k views

Samba: mount error: could not resolve address for XXX: Unknown error

I've read several guides on mounting samba shares, but no luck yet. I'm able to "login" to my samba share with the following command: smbclient //vvlaptop/Documents It asks for password, but there ...
3
votes
2answers
4k views

Print job “Held for authentication”

Following the instructions here, I have installed a Samba print server on an ARM-based Udoo-quad running Udoobuntu 12.04 LTS. The Samba server is working, and (after setting guest ok = yes in the ...
1
vote
0answers
2k views

Samba prompts for a password twice

I have a relatively new samba install configured to give Windows users access to some log files on a syslog server ("littleEngineer"). However it's prompting for a password to just get a share listing ...
1
vote
1answer
93 views

Samba permissions don't apply

All groups exist and the users are in their belonging defined group. [homes] comment = Home Directories admin users = @admin browseable = no read only = no create mask = 0750 (Users can't write in ...
1
vote
1answer
87 views

Groups in the Samba configuration

I can't quite understand groups. For example, lets say if I add the following into my samba config: valid users = @users Must the group users exist on my system or is a samba group itself? And if ...
5
votes
1answer
8k views

Force new permissions on files after rsync from seedbox

I have a seedbox-account which I use for torrenting. I have set up a cron job that uses rsync to download all files from the seedbox to my 14.04.1 ubuntu server. The download folder is a samba share, ...
4
votes
2answers
4k views

Why absolute symlink on SAMBA share is followed directly by CIFS mount?

If an SMB share has a symlink with an absolute path /share/latest/dir -> /share/data/201407 then Windows clients can access files by link with no problem. dir \\smbserver\share\latest\dir\ ...
3
votes
1answer
2k views

Samba file share shows user directory

I recently set up a Samba file share on Raspian and when I login to it from a Windows, it shows the home directory for the logged in user. Below is an excerpt from my /etc/samba/smb.conf file ...
1
vote
0answers
1k views

Samba 4.1.9 returning “access denied” trying to change share perms from Win client

UPDATE: version mismatch seemed to stop happening for some reason, although not sure why/at what point. Have a "public" (within LAN...like this) read-write share on a CentOS 6.4 box running, ...
3
votes
3answers
3k views

Mounting cifs: “Operation not supported”

Unlike the similar question, I cannot even connect with smbclient. The samba share works fine in windows and automagically works, but in Linux I can't mount it at all and the error message is ...
2
votes
2answers
6k 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 ...
1
vote
0answers
67 views

How to turn off a USB drive when samba is not using it [Raspberry PI]

I have a backup server on a Raspberry Pi using samba with 2x 2TB drives for storage. To reduce noise and drive degradation I'd like to turn them off when I'm not transferring files. I tried to ...
3
votes
2answers
11k 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 ...
2
votes
3answers
397 views

Is SAMBA routable?

We have a SAMBA share on a centos 6 machine. Question: Can we mount this SAMBA 3 share over the internet? (without VPN/SSH tunnel, so directly!)
1
vote
0answers
367 views

Open ports for local samba server with iptables

I can't seem to connect from Windows 7 to my network share on Ubuntu (Samba). Why won't this work? Heres a bit of information, that would perhaps be useful. user1@computer:/etc$ sudo iptables -L ...
0
votes
1answer
172 views

Autodelete old files

I've many shares on my samba server with recycle bin module activated. When deleting remote files from Windows I see .Trash directory. I'd like to automatically remove older files, i.e. 30 days or ...
1
vote
1answer
411 views

creation time attribute on CIFS

I have a linux server which captures network pcap files and save it to a CIFS shared drive. I have found out that the creation time and modified time of the pcap files seems to be the same. Which ...
0
votes
1answer
156 views

USB-HDD connected to router “disconnects” automatically

I have a USB-HDD, formatted as ext3 connected to my router, so I can use it as a home-network storage. It works quite well, however, when sending a lot of files to the harddrive (I tried to do a ...
3
votes
1answer
830 views

Samba write permission problem

I use Samba to share printers, files, etc. But I have a problem. The place to share not writable. Writable is only user directory. I attach the smb.conf file. smb.conf # # Smb.conf file by PepinCZ ...
0
votes
1answer
2k views

Samba non-root user can't write to share

My problem is non-root users can't write to the share when it's mounted. But they can when it's not mounted. The group changes from users to root when I mount the share. And I can't figure out how ...
5
votes
5answers
11k views

mount.cifs fails while smbclient succeeds

I'm trying to mount a NetApp CIFS share to one of our servers and I keep getting "Permission Denied" printed to stderr and NT_STATUS_WRONG_PASSWORD printed to the running dmesg. root@xxxehpvld05 ~ $ ...
1
vote
0answers
2k views

Mounting windows share using mount -t cifs

All, I have a SUSE SLES 11 box running samba. I am running this command: mount -t cifs //ip/dir1/dir2 /mnt/backups -o username=user,password=pwd,domain=domain Which works and mounts the drive ...
3
votes
1answer
1k views

How to display disk capacity via Samba?

I have a Raspberry Pi running Raspbian with a Samba 3.6.6 server. The config file: [global] encrypt passwords = yes log level = 1 max log size = 1000 read only = no security = user [A] ...
1
vote
1answer
2k views

Samba no longer allowing different guest account per share

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
0answers
2k views

Samba instructions work on CentOS 6.5, but not CentOS 6.3 - permissions in Windows are different

I followed these instructions to install Samba on both a CentOS 6.3 OS and a CentOS 6.5 OS. http://rbgeek.wordpress.com/2012/05/25/how-to-install-samba-server-on-centos-6/ It only seemed to work ...
1
vote
1answer
519 views

How to debug smb public share not working?

I'm trying to set up a pulic anonymous user login smb share. Even though my settings are nearly identical to previous successful setups I've made, I still get permission denied. Here is the share ...
2
votes
3answers
3k 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 ...
0
votes
1answer
485 views

Best filesystem format for Samba between Linux and Windows [closed]

I've made some researches but I don't find what I need. I have a Linux based server (under Debian 7.1) and several Windows computers. On my server I have some HD which I want to use as external hard ...
2
votes
0answers
377 views

KDE CIFS mount. Can copy files with mc but dolphin won't

I have a samba/cifs mount that is accessible r/w from the commandline (mc). The KDE filemanager dolphin shows the content of the samba share, but gives me a "no space left on device" when I try to ...
0
votes
0answers
240 views

Permission denied (13)

I am using Clonezilla 2.2.3-10. When trying to mount via samba, I get permission denied (13). I am able to connect via Windows XP, by simply entering the ip + share name \\192.168.1.240\MyShareName ...
1
vote
0answers
869 views

How do I set my samba share to allow guest users to view all folders and sub folders, including new and old

I currently have a samba share set up on RHEL, that allows any user to write to the root folder. I'm unable to write to the sub folders/files. I have run: chcon -R -t samba_share_t ...
1
vote
0answers
192 views

Can’t figure out Samba file share permissions as needed.

I’m in the final project class for my degree and my group has to have a Linux server that supports a Windows environment. With the files in the file share need to be read only, can be edited and then ...
1
vote
1answer
579 views

Unable to modify log level in samba

log level is present and set to three. However I don't see it when I do a testparm and I get next to no logs (I can see restarts and about it not being able to connect to cupsd) which doesn't seem ...
1
vote
0answers
179 views

Samba gvfs mount and symbolic link seems not to work

I have a server with samba shares and 2 HDs mounted that I use for backup. I have some symbolic links that work well between these 2 hard drives. When I mount the drives with gvfs (samba) I can't use ...
1
vote
0answers
1k views

How to set up Active Directory authentication on CentOS 6.5?

I have: 1. A CentOS machine to which I have SSH and STFP access. 2. The machine is on network where there is a MS SQL Server database and Windows shared drives. 3. All authentication seems to be with ...
2
votes
1answer
1k views

Current Workgroup

I would like to get the current workgroup of my Linux machine. When I google it, I get only methods to set or rename the workgroup. I found a command hostname but that returns only my PC name as ...
1
vote
1answer
1k views

Access through samba to link to different filesystem in shared directory (permission error)

I have a laptop with Dual Boot Lubuntu 14.04/Windows 7 I have a BorrajaX user in Lubuntu and another Borrajax user in Windows. In my Lubuntu $HOME/Documents/ directory I created a link to the ...
0
votes
2answers
460 views

Samba not working

I'm trying to follow this guide: http://www.sitepoint.com/ubuntu-12-04-lts-precise-pangolin-file-sharing-with-samba but I'm sure there are many of them. I've had problems with Samba before. In fact ...
1
vote
2answers
7k views

Mounting Windows shares using cifs results in “Error:13(Permission denied)”

Ubuntu 12.04.1 LTS, kernel 3.2.0-57-generic Windows Server 2008 R2 SP1 x64 Trying to setup a network share from Ubuntu 12.04 to a Windows Server 2008 R2 however no matter what changes are made the ...
5
votes
1answer
3k views

directory changes permission when mounted

I want to mount a samba sghare to a directory in my home dir. I have created it but mount the share as root. Upon mount, the owner of my dir changes to root and my user doesn't have permission tow ...