Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.

learn more… | top users | synonyms

20
votes
7answers
26k views

Mount CIFS share gives “mount error 127 = Key has expired”

I'm currently replicating the setup of a CentOS box an am running into a strange error while trying to mount a samba share that resides on a NAS. The error I'm getting is: mount error 127 = Key has ...
20
votes
1answer
19k views

NAS Performance: NFS vs Samba vs GlusterFS

I am planning my new shared storage infrastructure for a small webserver farm. Therefore i ran a lot of tests with a lot of NAS filesystems. By doing so, i got some unexpected results and would like ...
16
votes
1answer
26k views
15
votes
2answers
25k views

How do I get SELinux to allow Apache and Samba on the same folder?

In the configuration I have setup I wish to allow samba and apache to access /var/www I am able to set a context to allow samba access, but then httpd doesn't have access. Using setenforce to 0 ...
15
votes
4answers
40k views

Samba configuration for public shares

yesterday I upgraded my fedora box to the latest version, and with that, I also upgraded samba, now using samba 4. I used to access those share from any computer at home without user/password, but now ...
13
votes
15answers
9k views

Build a low-power file server

I would like to build a file server for backups. The server needs to be available 24/7 in a mixed Windows/Linux network, but service should not exceed 1 hour per day. Thats why power consumption is my ...
13
votes
6answers
57k views

Windows7 - “The specified network password is not correct.” when the password is in fact correct

I have a samba server setup for some time now. It is a Hardware NAS - which unfortunately does not provide access to the Samba logs. (the exact model of the NAS is called Addonics NAS Adapter ) I ...
13
votes
3answers
24k views

Listing available smb shares on a network through the command line in linux

I was wondering if there is a way of listing all the smb servers on a local network (like looking at a network neighborhood in windows) via the command line in fedora.
13
votes
1answer
3k views

What does “crap” mean in samba logs?

I have been googling and googling and can't find a conclusive answer. In log files for samba, I see things like the following: "[11560]: pam auth crap domain:" & "NTLM CRAP authentication ...
13
votes
4answers
3k views

OpenLDAP, Samba and password aging

I'm configuring a system in which all IT resources are available through a single user-password pair, be it access to shell on the servers, logging to Samba domain, WiFi, OpenVPN, Mantis, etc. (with ...
13
votes
2answers
754 views

Can I store OS X resource forks in a Samba share anywhere *else* than in dotbar files?

OS X resource forks are alternate streams of data attached to regular files. They may contain the file's custom icon, colored label, keywords, or any other metadata set by the user or by applications. ...
11
votes
5answers
18k views

Linux + Active directory authentication + only letting certain groups login

I have some linux boxes that use Windows Active Directory authentication, that works just fine (Samba + Winbind). What I would like to do now though is only allow certain people or certain groups to ...
11
votes
3answers
2k views

VirtualBox - use in small office and backing up

I run a small office consisting of a 8 man development team and a couple of managers. We're thinking of moving to a hardware setup whereby we have 1 single powerful server running several VirtualBox ...
9
votes
7answers
4k views

Why do Linux networks use Samba?

The "file and printer sharing" feature of Linux distros is mostly Samba. Samba is an interpretation of Microsoft's network filesystem. Cross-OS compatibility is important of course but why are Linux ...
9
votes
7answers
12k views

Can a Linux server serve as a Domain Controller for Windows Machines?

In a small office setup (5-6 employees) we have seven Windows XP and Windows Vista clients, as well as a couple of linux servers. Is it possible to set up a linux machine to act as the domain ...
9
votes
4answers
37k views

Samba public share - Windows keeps asking for password

I can't figure out how to properly configure these Samba shares. Really I can't understand what's wrong. I read many many articles here, on AskUbuntu forum, on LinuxQuestions and other forums and ...
9
votes
3answers
14k views

Can Samba support full Windows-ACLs?

I've set up a Samba 3 host with AD integration and an ACL enabled filesystem. Using a windows client I can set users and groups permissions. Up to now, Samba just maps to POSIX ACL's rwx permissions, ...
9
votes
2answers
6k views

Does Samba work well with Windows when case-sensitive names are enabled?

I want to have a *nix Samba share accessible by Windows clients. Samba has an option to enable or disable filename case-sensitivity. Normally for windows access, this is disabled, so that ...
8
votes
3answers
6k views

What is the difference between sambaLMPassword and sambaNTPassword?

While configuring a linux server with samba and LDAP support I came across these two fields. What's the difference between them? At the moment, the server is only using samba to share each user's ...
8
votes
3answers
56k views

What does NT_STATUS_BAD_NETWORK_NAME mean in Samba?

I set up a share like this: [global] security = user map to guest = Bad Password usershare allow guests = yes [vms] comment = VirtualBox Virtual Machines path = ...
8
votes
2answers
19k views

how do I view what version of samba i am running for my domain controler?

Is there a command line way to see what version of Samba I am running?
8
votes
2answers
3k views

Reset Domain Trust with workstations from Samba 3.x server

I am having issues on a network I inherited with a Samba 3 server acting as the domain controller, and many, but not all, Windows 7 Pro PCs. The issues described here and here do not solve my issue. ...
7
votes
3answers
13k views

How to setup samba share to be mounted as specific user?

I want to create samba share to which users can connect as specific samba user. I created user, let's say henry, and I want to make storage in his home. So I have in my /etc/samba/smb.conf: ...
7
votes
3answers
2k views

Samba4 advice for production use

I have an old Samba 3 + LDAP server installed that needs to be rebuilt. I'm weighting my options, and Windows Server seems too expensive at the moment, and Samba 4 appeared to be a nice option, ...
7
votes
1answer
3k views

Directories shown as files, when sharing a mounted cifs drive

I have an issue where a directory is shown as a file when accessing a samba share ( on Ubuntu 12.10 ) from a Windows machine. The output from ls -ll in the folder on the linuxbox is as follows: ...
7
votes
3answers
5k views

Combined NFS, Samba server w users from Active Directory

I want to build a server that exports user home directories over SMB/CIFS and NFS. This server would be joined to a Win2k3 AD domain controller that holds our user database. As I understand it, ...
7
votes
2answers
16k views

Windows 7 not able to connect to Samba

I'm trying out Win7, and i'm trying to connect to the networked samba share as I have been able to in Vista & XP with no issues. Samba is running on Ubuntu, if that helps. I've tried changing ...
7
votes
1answer
616 views

Trying to rename a file via Samba; fails if there is a '2' in the filename

This seems a bizarre issue, hope someone might shed some light. I set up some samba folders on a couple of ubuntu servers for the users to do some file management. After moving a file into the ...
6
votes
15answers
6k views

Best way to mount a Linux filesystem on Windows over the Internet?

I was going to attempt Samba over SSH, any better ideas? Edit: My mom has been bugging me to do some offsite backing up of her files. She currently uses Norton Ghost. I have a VPS that I use for ...
6
votes
2answers
5k views

Windows workstations in a Windows domain with a Linux domain controller [closed]

There's a Windows network of about 60 workstations I am going to be responsible for. The network is in a terrible mess, so I decided to rebuild it from the ground up. Currently, there are some Windows ...
6
votes
3answers
34k views

How can I clear the “authentication cache” in Windows 7 to a password protected samba share?

I have a Linux samba server and have explicitly listed users that can access the folder. I have successfully congfigured Samba to require a username and password when accessing the share from windows ...
6
votes
7answers
10k views

Accessing samba shares over the internet

What's a good, secure (ish) way to access a samba server over the internet? My first thought is to just forward the necessary ports on the router to the samba server, but I'm not sure how secure that ...
6
votes
2answers
929 views

How do Active Directory domain joined computers (native MS Windows or Linux with winbind) determine the closest password server?

How do Active Directory domain joined computers (native MS Windows or Linux with winbind) determine the closest password server? This question implies a cluster with 2+ Active Directory servers in ...
6
votes
4answers
14k views

Connecting with Samba to a Windows Share returns “NT_STATUS_DUPLICATE_NAME”

I have set a shared directory on my Windows machine, and given full control permissions to username@workgroup. When I try to connect to the Windows machine with Linux using smbclient, I get the error ...
6
votes
4answers
13k views

What is Best NAS solution for windows workgroup? freenas or openfiler

we have small network of 15 computer. we want to store data in nas box with raid configured so that it can be accessed by all users. it will be document, excel, pdf and database files. what is best ...
6
votes
2answers
7k views

Samba4 [homes] share

I am having issues with the [homes] share. OS is Ubuntu 12.04. I've installed samba 4.0.3, bind9 dlz, ntp, winbind, everything but pam modules, and did all the tests from ...
6
votes
2answers
5k views

Can't create or follow symlinks from linux client with a cifs mounted Windows Server 2008 R2 share

Windows Server 2008 R2 NTFS supports symlinks. If I log into the server as Administrator I can create symlinks with mklink, so I know the Admin user has the permissions to do this. If I mount a share ...
6
votes
3answers
2k views

Samba Server Implementation Details and Best Practices

This question will be submitted as a wiki. The intent is to gather valuable configurations, deployment ideas, and smb.conf settings to assist with this wonderful service. Having used this for over a ...
6
votes
2answers
463 views

samba+openldap vs ad for medium size network

We are going to have an organized network with an NT user authentication and proxy server. In choosing between Active Directory and Samba Server, I wanted to choose Samba server (I do love Open Source ...
6
votes
1answer
8k views

Windows NFS Performance vs Windows File Sharing?

Has anyone set up NFS where both the server and the clients are all Windows? I am wondering: How Does Performance Compare to using builtin Windows file sharing (CIFS/SMB)? Can clients mount NFS ...
6
votes
2answers
4k views

Linux machine is in a windows domain, but domain logon isn't working

We have a small network in our department 2 Win Server 2008 Domain Controller 1 debian webserver a number of win7 Clients My predecssor tried to add the webserver to our domain in order to login ...
6
votes
5answers
7k views

Linux authentication via ADS — allowing only specific groups in PAM

I'm taking the samba / winbind / PAM route to authenticate users on our linux servers from our Active Directory domain. Everything works, but I want to limit what AD groups are allowed to ...
6
votes
1answer
408 views

Folder Showing up as a File when viewed via Samba on a NetApp

we want to change files on our NetApp file server, and on every change of these files - a Debian machine duplicates the files to two other shares. Because of the duplication method we're using lsync, ...
5
votes
7answers
13k views

Speeding up rsync over smb

I'm backing up a Linux box over SMB to a NAS. I mount the NAS locally and then I rsync a lot of data (100GB or so). I believe it's taking an awfully long time to do it: more than 12 hours. I would ...
5
votes
5answers
2k views

Active Directory with public unix dns (no MS DNS)

I'm setting up a new Active Directory instance for my department at a university. I have some experience managing domains at previous jobs (NT4/2k/2003), but there are two unique things about our ...
5
votes
3answers
24k views

How to configure Samba to allow root user for full control to the particular share?

$(subj), it appears to be what root user is denied by default for all of the shares. I'm trying to reproduce Windows administrative share.
5
votes
4answers
6k views

Special characters in Samba filenames

When serving files containing special characters such as "()?:" in the filename through Samba, the names get transformed into an unrecognizable format. For example, a file my_file:_(important).txt ...
5
votes
3answers
7k views

How can I make a linux samba server to announce itself on the local LAN via Bonjour to Mac clients?

I have a Debian Linux based file-server using Samba and nowadays being accessed successfully by Mac OS X clients.. I'd like this resource to be available in a more user friendly way, by means of ...
5
votes
4answers
10k views

Permission issues with Samba and OS X

I'm having some serious permission issues with Mac client machines (OS X Snow Leopard) connected to a UNIX server (running CentOS) through Samba. No matter which permissions I set for a file on the ...
5
votes
4answers
5k views

Differences between Active Directory Server and PDC

The Samba documentation states quite clearly that is only capable of functioning as an NT4 style Primary Domain Controller and can not function as an Active Directory server. I manage a group of ...