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

5
votes
0answers
759 views

How to set up an encrypted directory to be mounted only during samba access?

(This is not about restricting client access, for which ext3 permissions do the trick) I'd like to encrypt the data on my NAS drive (Buffalo LinkStation Pro with SSH access enabled, if that matters) ...
4
votes
0answers
243 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 ...
4
votes
0answers
277 views

How to use a samba login to mount a luks container?

Our server has an (dm-crypt/LUKS) encrypted project directory which is currently mounted via SSH before its samba share can be accessed - and obviously no one remembers to unmount it afterwards. (...
4
votes
0answers
3k views

Samba's “inherit permissions” does not inherit modes for other

I have a share with "inherit permissions = yes". I have a directory in the share with mode rwxrwsr-x. If I create a subdirectory, the modes are rwxrws---. The same happens with a parent directory with ...
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 ...
3
votes
0answers
508 views

Samba Share: Guest login doesn't work after Wheezy --> Jessie

When I was still using Wheezy, I was able to access my Samba shares on my LAN with no problem. But after updating to Jessie, both Windows and my Android phone give me: SmbAuthException: Logon Failure ...
3
votes
0answers
4k views

WBC_ERR_DOMAIN_NOT_FOUND only for a specific account

Platform: RHEL 5.10 Version: Samba 3.6.6-0.136 Only on a single VM, one of my co-workers is able to log into the VM using his AD credentials without issue, whereas my account appears to have trouble ...
3
votes
0answers
2k views

Changing Samba/LDAP password with passwd

We've installed CentOS Directory Server (389 DS) and have Samba using it as a backend. This works great except that when enabling password syncing in the smb.conf it is only synced one way. I could ...
3
votes
0answers
3k views

Permission denied when Ubuntu is attempting to mount to a remote Windows share folder

Fellow guys, I encountered the error when I's mounting my Ubuntu server to a remote Windows share folder, the following is the error on terminal after I typed command line 'mount -a': mount error(13)...
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....
2
votes
0answers
18 views

Is there a way to convert zjsstream to a human readable text file?

I am printing from windows system to ubuntu print server, the spool file built in Ubuntu system is "Zenographics ZjStream printer data (big-endian)". I have used command "zjsdecode" to convert the ...
2
votes
0answers
50 views

Samba unable to write when mounting from linux

I'm having some weird issues with samba. Somehow im not able to write to the mounted share from Linux over VPN but it works without problems when mounting from Windows hosts on the same local network. ...
2
votes
0answers
155 views

Method for users to change Samba password

I have a Samba server for about 5 users (security = user) and I want a way for these users to change their passwords without my involvement so I have the following idea. Is this secure? Is there a ...
2
votes
0answers
67 views

Files created on a Samba share cannot be modified by the same user

Under normal usage of a Windows app, temporary files can be created on a Samba NAS share but once created, the same user cannot delete or modify those files - unless they wait 'overnight'. The ...
2
votes
0answers
33 views

samba server connection works on one win 7 not not another

I have a CentOS 6.6 box with a samba server (3.6.23) running on it. It is configured for ADS. I also have two Windows 7 PCs, of which one is able to connect to the shares, while the other one is not. ...
2
votes
0answers
139 views

Unable to run chmod, chown, and even ls on a folder

I searched the net and tried to apply answers to similar problems but none worked so far. There is a folder named ocrpaylasim under /home/bnet path. This file belonged to bnet user before and was ...
2
votes
0answers
301 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 '/...
2
votes
0answers
339 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 ...
2
votes
0answers
212 views

Login to Linux using a trusted Active Directory

I'm having trouble to log in to Linux using a trusted Active Directory. The machine is connected to an Active Directory that we are responsible for in the project, but most of the users who will use ...
2
votes
0answers
164 views

what is the command to synchronize samba4 ADC -> PDC

I have another question on here that is almost exactly the same, but it had a lot more details and kind of went off track (and I never got my answer). So I'm trying again. I know that this command ...
2
votes
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, ...
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 ...
2
votes
0answers
407 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 ...
2
votes
0answers
533 views

How to samba automatically add user and share they home?

Linux OpenSuse 12.3 , samba server 3.6.12 . Sorry if this is a dummy question, I just looking and found no answer for that. My samba is configured and working with security = user and today is ...
2
votes
0answers
716 views

Can not access to samba4.1 shares on gentoo box

I have one Windows 7 x64 PC, and a Gentoo Box, which act as a NAS. I tried to migrate from Samba3 to Samba4.1.6, and while Samba isup, I fail to connect; I have the following error that is popping (it ...
2
votes
0answers
205 views

Samba - releasing file lock

Our (Windows) users are starting a program from a shared subdirectory on a Debian server. They use samba to access this directory. When we want to release a new version of the program the started ...
2
votes
0answers
103 views

rsyslog.conf only partly honored

I followed this description on how to enable audit for Samba (entry of Aug 10, 2009) and wanted to get all additionally enabled logging in a special log file (/var/log/samba/log.audit). The mentioned ...
2
votes
0answers
257 views

New files getting wrong permissions from setacl

I'm trying to create a file from windows on a mapped samba share, but after creating the file, I'm unable to edit it. For some reason the mask is changing to rw- even though my default is set to rwx. ...
2
votes
0answers
594 views

errors from Windows clients accessing printer via Samba despite CUPS working

On CentOS 6.4 (newdc), I have CUPS 1.4.2-50.el6_4.5 installed, can access its web interface. There I set up our main shared printer, an OCE Imagistics cm2520, and successfully printed a test page. ...
2
votes
0answers
111 views

Debian based Raspberry – samba invisible unless I restart

I have a Raspberry Pi running Raspbian along with other computers on the same network. I installed, configured and started samba to share files from my home folder of the Raspberry Pi to my other ...
2
votes
0answers
1k views

samba 4 force user

I have a directory with files owned by Linux user quux. I want to give access to it over CIFS using Samba 4 for two persons so they have different usernames foo and bar and passwords but access the ...
2
votes
0answers
454 views

write only permissions on samba

I am busy setting up a file server in our church office (using samba on a debian machine). I would like to impliment a dropbox-like folder for each user, where othere users may deposit files. ...
2
votes
0answers
382 views

Samba: system group mapping

I have w2008R2 PDC and Linux server with samba and winbind. Now I'd like to add some domain users to Unix adm group in AD. Let's say I have adm group defined in AD, and every user from this group ...
2
votes
0answers
439 views

Samba 3 on Arch Linux, streams_xattr behaviour

I'm running Samba 3.6.8-1 on my x64 Arch Linux installation. I recently decided to have my samba share support NTFS's Alternate Data Streams by using streams_xattr or streams_depot. With streams_xattr ...
2
votes
0answers
348 views

smbd crashes after logout or failed login attempt

I'm running smbd 3.6.7 on Arch. It works fine, except that it crashes when on failed login attempts and after logoff. Here is an example using the wrong password. rpcclient is run in one terminal, ...
2
votes
0answers
2k views

Can not mount samba share from DD-WRT

I'm trying to mount a samba share on dd-wrt. I keep getting this in the dmesg and the mount command hangs. CIFS VFS: Error connecting to IPv4 socket. Aborting operation CIFS VFS: cifs_mount failed w/...
2
votes
0answers
1k views

Unable to use USB through DD-WRT on a Buffalo WZR-HP-G300NH2

I have a Buffalo WZR-HP-G300NH2 and I'm trying to get USB support working. The original Buffalo-branded firmware would refuse to mount the USB drive, so I've followed what tutorials I've found for DD-...
1
vote
0answers
21 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 ...
1
vote
0answers
16 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 ...
1
vote
0answers
9 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
0answers
62 views

Samba NT_STATUS_NO_TRUST_SAM_ACCOUNT

for a project we have several samba shares configured as following: [global] workgroup = <domain name> netbios name = <machine name> passdb backend = tdbsam security = ads ...
1
vote
0answers
33 views

Mounting samba directory changes all file permissions to user who mounted it

I have a xubuntu 14.04 client, a debian 8 Samba File server and an external Active Directory service. I log in as user1 on the client authenticating against the ADS with winbind. My home directory /...
1
vote
0answers
27 views

Resolve NetBIOS Names via Samba 4.4

Through StackExchange, we knew how to configure Linux to resolve NetBIOS names, and I have configured my system in those ways. (I have installed winbind, configured my /etc/nsswitch.conf correctly and ...
1
vote
0answers
130 views

SMB server not working after upgrade from 3.5 to 3.6

our Windows 7/2008 clients can't access our samba server any more after the upgrade to version 3.6. This is on CentOS 6 (rpm --query centos-release reports centos-release-6-7.el6.centos.12.3.x86_64). ...
1
vote
0answers
52 views

Does a file move operation over SAMBA preserve the inode number?

If I have a directory exposed over a SAMBA share and a user, from either a Linux or Windows system, moves a file from one place to another on that share, does SAMBA know to ask the operating system ...
1
vote
0answers
32 views

Is there a way to interleave two filesystems of the same structure?

I have a large networked file system whose backup routine sees some file systems as higher priority than others and are given more redundancy with backups. At present those file systems are visible as ...
1
vote
0answers
55 views

Raspberry Pi 2 running raspbian unmounts external hard drive every so often

I hope this is an ok place to ask this out of all the stack overflow communities there are. Anyway I have a raspberry pi 2 in my house that I keep around to backup some files and host media files ...
1
vote
0answers
65 views

Help with installing/configuring Samba 2.2.3a on Ubuntu 14.04

I am having trouble installing and configuring an old version of on Ubuntu 14.04. I am configuring this specific versionson purpose to be vulnerable for penetration testing. However, after ...
1
vote
0answers
36 views

How to prevent smbtree from asking for a password?

On my Debian system, smbtree (as well as all the other relevant samba commands) keeps asking for some sort of passwort for my user account. The command works no matter what password I enter. I don't ...
1
vote
0answers
340 views

Store Windows print driver on Samba for a CUPS print server

I'm trying to setup a (Debian) print server for both my Windows and Linux (Ubuntu) workstations. What I aim to have: Printers are configured on print server's CUPS. Queue are created and managed (...