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

learn more… | top users | synonyms

16
votes
1answer
21k views
15
votes
1answer
11k 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 ...
13
votes
1answer
2k 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 ...
12
votes
15answers
8k 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 ...
12
votes
4answers
2k 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 ...
11
votes
8answers
42k 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 ...
11
votes
7answers
17k 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 ...
10
votes
3answers
15k 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 ...
10
votes
3answers
1k 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
3k 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
11k 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 ...
8
votes
3answers
9k 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, ...
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
3answers
43k 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 = ...
7
votes
2answers
4k 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 ...
7
votes
2answers
935 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
2answers
14k 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
398 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
7answers
8k 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
762 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
3answers
10k 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.
6
votes
4answers
12k 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
5answers
6k 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 ...
6
votes
1answer
1k 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: ...
6
votes
1answer
7k 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?
6
votes
3answers
1k 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
3answers
4k 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, ...
6
votes
2answers
445 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
4k 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
10k 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 ...
6
votes
2answers
1k 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
5k 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 ...
5
votes
15answers
4k 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 ...
5
votes
7answers
10k 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
2answers
1k 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 ...
5
votes
3answers
5k 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 ...
5
votes
4answers
9k 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
3answers
103 views

Shared Disk in modern data center (SAN, virtualization, etc)

I'm a developer...treading here on foreign terrain. Please pardon any naivete. I work on an application that stores data both in a database and the filesystem. Context: Clustering and Network ...
5
votes
1answer
586 views

WebDAV for accessing fileserver for iOS apps

With the sudden onslaught of iOS apps that can use WebDAV for syncing, along with the fact that we are not happy with our user's data being stored in North Carolina (evil IT overlord strikes again) we ...
5
votes
2answers
4k views

Samba - Authenticating with Local User Accounts

I'm looking to have my users use their local accounts on my Linux servers without the need to create a separate user/password for Samba. Is there any way to use the /etc/passwd file as the the ...
5
votes
2answers
2k views

Samba server not visible from Win network

Samba 3.5 on Centos 6.3 Synopsis: I set up Samba on my linux host, but none of my Win machines on the subnet can see the host name. My host name (WOLTEST) does not show up in any of the Win ...
5
votes
2answers
707 views

LDAP, Active Directory

What I have: Workstations running Ubuntu Jaunty mounting /home on a remote NFS server. User accounts are still created locally on each individual workstation. Workstations running Windows XP / Vista ...
5
votes
2answers
1k views

RAID Read/Write Speed Gradually Slows

This is actually a server at home, but I felt it was sufficiently complicated as to not have it on SuperUser and could easily apply to a professional situation. I have a file server running Debian ...
5
votes
2answers
2k views

Samba, Apache and SVN. Getting the permissions right

I have two machines I work on: Windows Client (Development Machine) Linux Web Server (Ubuntu) On the Linux server I have installed Apache, Samba and SVN. I've created a samba share that maps to ...
5
votes
4answers
7k views

How to re-join an AD2003 domain with Samba after deleting the machine account?

During some troubleshooting I deleted the machine account for a Linux server running samba from our AD 2003 domain. We are using Kerberos for authentication, and after I deleted the machine account I ...
5
votes
2answers
4k 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 ...
5
votes
3answers
7k views

How do I log authentication attempts with samba?

I have users authenticating with squid (NTLM) to an Active Directory server using Samba 3.5.4 and I'd like to log users' login attempts. I'd like a line showing something like: TIMESTAMP ...
5
votes
2answers
2k views

Can I add Samba users without having to add UNIX ones?

I am configuring a Samba share on my Debian server and I'd like to create some simple username:password accounts that could access the shares without having to add UNIX users to my machine. Can I do ...
5
votes
1answer
955 views

Samba on Debian Lenny much slower than Windows 2008

I have a VMWare ESXi 4 server running two virtual machines. The host server is a quad core AMD Phenom II with 8 GB RAM and a RAID-5 SATA-II array. The Debian VM is Debian Lenny with latest updates - ...
5
votes
3answers
616 views

Samba setup to request password reset on first time login

Is it possible to setup Samba to ask for password reset when the user first logs in without the need to setup a domain controller? Would this work properly with Windows clients or with clients using ...