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

learn more… | top users | synonyms

5
votes
0answers
28 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. ...
4
votes
0answers
168 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
610 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
976 views

Automounting not working correctly for CIFS shares; weird results

I followed the guide on this page to get samba shares working via autofs: http://www.howtoforge.com/accessing_windows_or_samba_shares_using_autofs Servers and Configuration My Samba server (remote) ...
3
votes
0answers
114 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 ...
3
votes
0answers
2k 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 ...
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 ...
2
votes
0answers
78 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
94 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
46 views

Automount Samba directory as /home/$user

I'm working with a group, trying to set up persistent data on several thin clients for our Linux lab. For security and maintenance reasons, we want to be able to flash a clean snapshot of Arch Linux ...
2
votes
0answers
91 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 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
228 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
265 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
488 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
121 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
82 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
2k 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
182 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
397 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
3k 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
0answers
2k 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 ...
2
votes
0answers
102 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
248 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
335 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
253 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
1k 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 ...
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 ...
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
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 ...
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 ...
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 ...
1
vote
0answers
83 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
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 ...
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
0answers
77 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 ...
1
vote
0answers
121 views

Samba Password must change after first logon

How to enable "samba password must change after first/next logon"? I enabled a function in pdbedit file but is not working. root#/opt/samba/bin/pdbedit -P "user must logon to change password" ...
1
vote
0answers
40 views

Is there a reason I can't mount with a prefixpath in this scenario?

I'm not sure why this scenario is so weird, but I have a particular combination where this command won't work: mount -o username=guest //192.168.1.70/Volume_1/Movies/Library /storage/movies I get ...
1
vote
0answers
90 views

Utilizing Samba Shares Without using Winbind

I am curious if it is possible to use samba shares without using winbind. In our current environment we are using SSSD, Kerberos, and Samba to complete the required tasks such as joining the windows ...
1
vote
0answers
847 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
0answers
436 views

LDAP: Local and remote user with same username

I have configured an openLDAP server with LDAP user and group ids beginning at 10000. My client successfully binds to the LDAP server via ldapsearch. Additionally, getent passwd|group returns a full ...
1
vote
0answers
1k 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
0answers
822 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, ...
1
vote
0answers
50 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 ...
1
vote
0answers
227 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 ...
1
vote
0answers
765 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 ...
1
vote
0answers
738 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
141 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
0answers
123 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 ...