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

learn more… | top users | synonyms

1
vote
2answers
304 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
1answer
1k 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, ...
0
votes
1answer
16 views

How to use rsync with samba share

I would like to synchronize all the content of my phone to my home server using the phone's samba share. My approach is to write a script that mounts the phone's samba share, and then copies all the ...
1
vote
1answer
1k 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 ...
4
votes
1answer
2k views

Samba passwords expiring in x days - how do we fix them to not expire

We use OpenLDAP and Samba v3. Recently some Samba-defined users (no accounts on the shared linux server) started being listed in logwatch as having their passwords come up to "will expire"...I ...
1
vote
2answers
745 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\ ...
2
votes
4answers
7k 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
14 views

Edit files on remote server in /etc/snmp/ directory with Mousepad

I'm sick of editing conf files on my raspberry pi snmp server in nano via ssh terminal. It's time consuming. Ideally I'd like to edit them with Mousepad locally, using Samba network drive. I ...
0
votes
1answer
2k views

How to configure Samba to use Windows's login ID?

I'm trying to access the Linux share folder from Windows using Windows's domain authentication. I come across the integration of Windows Active Directory into Samba on a Linux box, thus I have this ...
2
votes
2answers
433 views

SMB Mount To Windows Server Appears to Lock up. Any Ideas?

We are running CentOS 6.3 with all the latest updates. (Attempt to resolve this issue) The Server I am trying to connect to is a Windows Server 2008 R2 box. Though this applies to our old SBS'03 Box ...
5
votes
2answers
694 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
455 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
138 views

Stopping Samba Auto-reload on boot

Trying to boot my Linux 17 mint. It stops at "Stopping Samba Auto-reload integration." It hangs there and will not boot. I've tried recovery boot however the dpkg manager in the recovery isn't ...
3
votes
1answer
1k views

How to give Read, Write Permissions using IPs in SAMBA

I want to give Read and Write access based on the IPs instead of the Users in SAMBA using smb.conf This is the Text I copied from my smb.conf file. [TEST] comment = test path = ...
0
votes
0answers
739 views

FreeRadius/Samba/Winbind “reading winbind reply failed” error

I'm trying to set up FreeRadius (on debian 7, samba 3.6.6) to authenticate with AD, and I've successfully joined the the radius machine to the domain (server 08 r2). I can successfully run wbinfo ...
1
vote
1answer
4k 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 ...
2
votes
2answers
1k 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 ...
2
votes
3answers
6k views

Cannot mount samba share: Mount error (22)

I am trying to mount a password protected samba share. When I access the share via smb://server/share in nautilus there is no password/user promt, it seems I am logged in as a guest and I can browse ...
0
votes
1answer
594 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 ...
1
vote
1answer
28 views

How to encrypt data in a folder in a samba share, and share it both encrypted and decrypted?

So far I have a Debian NAS with a samba share accessible from a Windows client by user credentials. Within that share I have a folder of images encrypted by ecryptfs. A friend of mine have agreed to ...
1
vote
1answer
74 views

How to get a click-able link for a shared file, when sending an e-mail with the file-name in it

I've got a local network with a shared drive mounted to it, all machines running Fedora (and some Windows). When we want to share a file, there is no easy way of just getting a link for the file like ...
3
votes
1answer
2k 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 ...
1
vote
1answer
41 views

Setting up permissions for common folder

I am trying to setup a little home network using Linux as the File Server and have run into a bit of problems w.r.t. to folder permissions that I can't seem to solve. The setup: An Ubuntu 14.04 ...
1
vote
2answers
103 views

Samba4 on HPUX 11.31

I'm tryng to setup hpux samba,i use this smb.conf [global] workgroup = DOMINIO realm = DOMINIO.COM server string = "" netbios name = HPUX2 security = ads hosts ...
0
votes
1answer
664 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 ...
0
votes
0answers
39 views

Allowing access to samba share without setting permissions to 777

I have a linux box (Centos 6.5) joined to my windows domain that has storage attached for backups. I have a samba share so domain servers can access the storage and I only allow MYDOMAIN/Administrator ...
2
votes
1answer
614 views

can't connect to samba drive in centos 6.3

#smbclient //ballzdeep/torrents Server not using user level security and no password supplied tree connect failed: NT_STATUS_BAD_NETWORK_NAME Does this mean i need to require username and password ...
1
vote
2answers
3k views

Setting up samba,netatalk and avahi (bonjour) on raspberry pi

I'm trying to create a fileserver/timecapsule combo server out of my new raspberry pi (Raspbian), and it's not going as well as I'd like. netatalk, avahi and samba are the packages that I'm using and ...
1
vote
3answers
2k 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 ~ $ ...
2
votes
2answers
50 views

No EOF, when a program reads its own executable file on cifs mount

My java-based installer couldn't copy itself to target dir eating all disk space and I thought it was a java bug, but then I reproduced it with plain dd. When I try to read my own executable using a ...
3
votes
0answers
57 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 ...
1
vote
1answer
691 views

is there a way to connect SAMBA and miniDLNA

I am quite new to both, SAMBA and DLNA, so I don't know if my attempt makes sense at all. But what I try to achieve is the following: I have a client, that supports DLNA and a server that is a ...
0
votes
0answers
56 views

Samba4 does not map computer accounts correctly

I am having a problem with a fileserver running FreeBSD 10.1 and Samba 4.1.13. I have a share definition created thusly: [database] path = /tank/shares/database writable ...
5
votes
1answer
693 views

Preventing access blocking while external HDD spins up? [closed]

I have an old laptop where I installed Debian along with a samba server which I am using to share read-write access to 4 external hard drives, which I use to stream my media from. All works fine, ...
1
vote
1answer
43 views

Transfer speed while copying from Windows to Pi

I am using a raspberry pi with samba as remotely accessible storage in my local network. While copying files from windows to pi I am getting strange transfer speed. It jumps from 200 kB/s and less to ...
0
votes
0answers
26 views

Linux Mint will not allow traffic from one specific PC on LAN

I was editing /etc/network/interfaces, and then decided to change my settings over VNC instead. This halted my SSH session and also my VNC. I'm not sure if this locked me out or not, but I set cron up ...
7
votes
2answers
6k views

Samba mount with password prompt as non-root user

I want to mount a password-protected SMB share (served by a Windows machine). The share is protected by a user name and password, and I may not write the password in a file, I want to be prompted for ...
0
votes
1answer
59 views

How to debug cups and samba? LaserJet Professional P1102w not printing “filter failed”

Here is what I have tried to verify: smbtree: WORKGROUP2 \\DAN-PC \\DAN-PC\Users \\DAN-PC\print$ Printer Drivers \\DAN-PC\IPC$ ...
2
votes
1answer
34 views

Different write behavior for owner and member of group despite 775 permissions

I have mounted a remote share via my fstab using the line: //path/to/target /media/f cifs gid=<mygroup's id>,dir_mode=0775,file_mode=0775 0 0 As a result, everything under /media/f winds up ...
1
vote
0answers
65 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" ...
4
votes
1answer
786 views

Samba set share browsable only for a group

How I can configure samba to set browsable a share for a group only. I wanna hide the share for all other users, if a set browsable to yes all the users can see the share when explore. I don't want ...
2
votes
2answers
10k 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 ...
2
votes
3answers
873 views

Prevent creating directories but allow creating files

I have a directory shared through Samba. I want users to be able to create/modify/delete files but not create/erase directories. I haven't found a way to do it. Maybe with SELinux? But how?
1
vote
0answers
22 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 ...
4
votes
2answers
4k views

Deleting a samba user: pbdedit vs. smbpasswd, what's the difference?

What is the difference between $ pdbedit -x and $ smbpasswd -x to delete samba users?
2
votes
0answers
51 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 ...
0
votes
0answers
101 views

Optimal mount options for Windows Server 2012 R2

1. Linux Side What mount.cifs options should I use to mount a Windows Server 2012 R2 Share in Linux (via fstab)? E.g., what about the optimal values for vers, sec, iocharset, etc? Should I use ...
0
votes
0answers
86 views

How do I set up a secure Samba share on CentOS 7?

I want to set up secured Samba shares so I can connect different users on the same computer to their own separate shares. I'll use a script to discover the user's credentials then run mount -t cifs ...
4
votes
1answer
441 views

Windows Changes File Permissions in Samba File Shares

I have mounted an external USB drive that is used for file shares on CentOS. All of the clients access the shares are Windows XP or 7. Within Windows, I use the "Manage your credentials" feature in ...
1
vote
0answers
43 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 ...