Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.
13
votes
1answer
13k views
How to authenticate Linux accounts against an Active Directory and mount a Windows share on login?
I'm using Ubuntu 10.04 Server.
12
votes
15answers
7k 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
1answer
6k 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 ...
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
1answer
1k 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 ...
10
votes
8answers
29k 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 ...
9
votes
7answers
2k 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 ...
9
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 ...
7
votes
2answers
11k 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 ...
6
votes
2answers
489 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
1k 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, ...
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
1answer
2k 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 ...
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
2k 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
401 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
2k 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
6answers
10k 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 ...
5
votes
7answers
5k 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 ...
5
votes
3answers
8k 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 ...
5
votes
4answers
2k 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 ...
5
votes
2answers
1k 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
1answer
467 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
3k 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
595 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
3answers
8k 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
2answers
768 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
3answers
3k 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
1answer
774 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 - ...
4
votes
15answers
3k 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 ...
4
votes
7answers
1k views
Bigger File Server or SAN?
We currently have two 6 year old linux file servers (an HP DL320 and DL380) that are starting to be dogs. The DL320 just uses 10K IDE drives set up in RAID1, the 360 has 6 drives set up in RAID10. ...
4
votes
3answers
2k views
Account lock after a single authentication failure
I have 2 standalone servers (not in any domain/AD) - Windows 2003 and Windows 2008.
When connecting to shares on them, using the UNC path from Windows 2000 pro, or Samba (under linux), if I make a ...
4
votes
5answers
394 views
Can I get AD to authenticate via another LDAP server?
I need to set up an AD. The larger organisation I'm in has its own LDAP service which handles authentication and some other details. I would like to get AD to use that LDAP info just for ...
4
votes
3answers
4k views
Samba sharing an NFS mount point
I'm sorry if this is a repeat post, seems my first attempt failed...
A little context first.
Firstly, I have inherited one of the classic networks from hell. Amongst a number of other things, I ...
4
votes
3answers
3k 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 ...
4
votes
3answers
25k 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 = ...
4
votes
2answers
617 views
Active directory integration not working properly with winbind and samba
I'm trying to get my linux box to use active directory authentication. I believe I have almost everything setup correctly. I'm able to issue wbinfo -g and wbinfo -u and see all the groups and users ...
4
votes
1answer
600 views
How can I disable Windows file locking on Samba shares?
When I open a Microsoft Office file from one of my Samba shares and then I disconnect and reconnect from the network I have to save my files as a copy because the file was somehow changed to ...
4
votes
2answers
655 views
Automatic wake on LAN in Linux when accessing remote filesystem
I have a small server which runs Ubuntu, running webserver and other things, and as such is on 24/7. It also serves as our file server for the majority of frequently used files, serving files through ...
4
votes
1answer
808 views
Samba share with guest access and authenticated users for write access
I'm trying to get a shared folder to work. Everyone should have read access (preferably not even a password prompt should pop up when connecting with Windows), but a few selected users should be able ...
4
votes
3answers
4k 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, ...
4
votes
2answers
826 views
Linux with AD user accounts - what about root?
Once upon a time I set about getting a Linux server to use our Active Directory for logins, and I got it so that I could login as myself and then work on the server, and SU to root to make system ...
4
votes
3answers
355 views
Linux on Windows AD Domain
Successfully joined my Linux Box to a Windows AD Domain. Wanted to know from other admins if it us possible to specify what groups from windows ad is allowed to login? Otherwise anyone with a AD ...
4
votes
5answers
2k views
OS X: Finder error -36 when using SMB shares on a Samba server bound to AD
We're looking at deploying SMB homes on Debian (5.0.3) for our mac clients rather than purchasing four new Xserves. We've got our test servers built and functioning properly. Windows clients behave ...
4
votes
3answers
1k views
Is a Samba PDC a reasonable choice for small business?
I recently had somebody ask me for advice about setting up a Samba PDC for their small business with 5 Windows Vista PCs. The owner is not very technical, and just wants something that is "set and ...
4
votes
4answers
1k views
Samba Read Performance
Whenever I read a large file from my Samba server I get around 40 MB/sec transfer rate. If I read the very same file again, the speed is all of a sudden bumped up to 70 MB/sec.
Why do I not get 70 ...
4
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 ...
4
votes
4answers
4k 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 ...
4
votes
2answers
217 views
Samba: read-only LDAP + additional local users
My server has access to a read-only LDAP where information about 99% of user accounts will reside. On my server I want to configure Samba to use LDAP for authentication.
Now and then there will be ...