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

learn more… | top users | synonyms

15
votes
2answers
26k 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 ...
14
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 ...
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, ...
2
votes
2answers
10k views

Mount a Windows DFS Namespace in Linux

I've got a Windows DFS setup with a few namespaces, and I need a way of accessing them via CentOS. Any ideas? I've had a look at CIFS mounting, but it won't support the namespace (each separate ...
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 ...
5
votes
7answers
14k 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 ...
4
votes
3answers
4k 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 ...
3
votes
1answer
2k views

disable .recycle feature for samba shares

I had a pretty big scare when my company file server filled up. after tacking down the source I discovered that there is a .recycle folder that keeps ALL the files ever deleted (which is also hidden)...
2
votes
3answers
2k views

running Samba Active Directory Server on Windows desktop (for developing)

Huh, I completely confused by others editing my post... breaking all system of referencing and linking into a mess... Bifurcating the question (1) Can anybody share experience and/or links on ...
1
vote
3answers
4k views

Samba File Server + PAM + Berkeley DB or Samba + PAM

I've set up VSFTPD with PAM and Berkeley DB before using this article. It's a great article and was really easy to walk through setting it up. Now that I'm setting up Samba, I would like to do the ...
16
votes
1answer
26k views
6
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 ...
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
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 ...
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 ...
1
vote
2answers
4k views

How does one determine active SSH and SAMBA connection counts?

I have a server that I use infrequently, so I'd like to cron a job to shutdown daily if no users are logged in via SSH and SAMBA shares. How can I determine how many active SSH connections there are, ...
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 fred==FRED=...
5
votes
4answers
2k views

update to samba 3.6.23-30 on RedHat server 6.7 breaks connections from clients on AD forest

I have a Samba server (version 3.6.23-30) running on a RedHat Enterprise sever version 6.7. It is joined to Active Directory, and authentifies the users to AD. Winbind is not running ("Winbind is not ...
1
vote
3answers
5k views

Auto-mounting a windows share on Linux AD login

I've managed to configure my test Ubuntu 10.04 Beta 2 Server VM to accept logins (via ssh) from users who have domain accounts in active directory via Kerberos, nsswitch.conf and PAM configurations. ...
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 ...
5
votes
2answers
7k views

smbclient NT_STATUS_ACCESS_DENIED on directories when Windows doesn't

I'm setting up BackupPC on a server and it uses smbclient to backup Windows 7 workstations. smbclient logs in correctly to \\TESTHOST\C$ as TESTDOMAIN\backupoperator (Which is also a domain admin and ...
3
votes
5answers
16k views

Samba Winbind User Resolution

We have successfully deployed AD authentication using Samba and Winbind (idmap_ad) across six Centos 6 servers and have been running happily for a few months now. One of the servers has stopped ...
2
votes
3answers
6k views

How to make new copied file always 777 permission

I have one Linux ext3 partition shared on network. Now when some one copy files from MAc , then other people can't change the file dute to permission problem. Is there any way that ane new file which ...
2
votes
1answer
7k views

Can Samba “security = user” be used for guest share without Windows login prompt?

I am trying to use an Ubuntu computer to set up Samba shares for a lab of Windows computers (Vista Basic and XP). Two of the shares need logins, but one is supposed to be a public share. My problem is ...
1
vote
2answers
5k views

Linux nested groups with winbind

We have several RHEL6 servers connected to Active Directory using winbind. All servers are configured identically using a configuration management tool. Servers however produce different results when ...
4
votes
1answer
197 views

Samba capabilities & functionality

The company that I work for wishes to replace its windows servers with new linux servers but wants to keep Windows on employee desktops. The requirements are: The employee desktops should be able to ...
4
votes
1answer
23k views

Samba: session setup failed: NT_STATUS_LOGON_FAILURE

I tried to set up Samba with "unix password sync", but I still get logon failure. I am running Ubuntu Natty Narwhal. $ smbclient -L localhost Enter stivlo's password: session setup failed: ...
4
votes
3answers
494 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 ...
3
votes
2answers
1k views

Set primary group of file or directory on Samba share from Windows

Short version: I have such situation on a Samba share: $ ls -lha total 12K drwxr-xr-x 3 hka Domain Users 4.0K Jan 11 17:07 . drwxrwxrwt 19 root root 4.0K Jan 11 17:06 .. drwxr-xr-x 2 hka ...
3
votes
1answer
7k views

Samba: Access trouble from Windows

I am trying to access an NTFS (ntfs-3g) share from a Windows machine through the Samba 3 on Debian. I am getting this error on Windows when I try net use command: System error 5 has occurred. ...
3
votes
1answer
6k views

CIFS mounted drive setting “stick-bit” on all files, cannot change permissions or modify files

I have a folder mounted on an Ubuntu 8.10 sever through cifs that I simply cannot change the permissions on once mounted. Here is a breakdown of what's going on: All files within the mounted ...
3
votes
1answer
716 views

veto files on a Windows Share

On Linux you can just edit the smb.conf file and add a veto files setting to ignore and delete certain files, this came in really handy as both OS X and Windows love to create extra files. However, ...
3
votes
1answer
17k views

Samba default file creation mask calculation

Hi I have a question I dont seem find a relevant answer. The situation is that I set samba server and trying to create a file and folder form windows machine. Everything works as expected but there is ...
2
votes
2answers
1k views

Mac creating files w/ wrong perms on samba share

In my group, which is very heterogeneous in terms of machines, we use a samba share to collaborate on files and such. In all but one case, it works as expected (or at least close enough). The one ...
1
vote
1answer
2k views

Samba with active directory groups with special character

I've got a problems with Samba and Active Directory groups which contains special character like '@' ' ' (space). For example, I've got a group which name is : 'name.surname city_allusers@domain.com',...
1
vote
2answers
5k views

Samba and Snow Leopard — slow connects

Does anyone know if there is a root cause and solution to the OS X 10.6 Samba issues? We are seeing very slow connects from 10.6.2 to Windows Server 2003 via samba. (smbclient connects fast every ...
1
vote
0answers
560 views

Slow first login to a AD-joined Samba box

I have joined my first Debian box to an Active Directory (2008 R2). It works, I can log in with AD credentials, browse Samba shares. There is just a problem with the time it takes for someone to log ...
1
vote
1answer
967 views

Samba Server as domain controller

I am using centos 6.2 on my system. I want to make samba server as PDC to join the clients computers operating systems i.e xp,windows 7 and share their files & directories.Currently I have 200 ...
1
vote
1answer
1k views

How to prevent nginx from locking files on mounted samba partition in Centos 6

I'm using nginx 1.3.8 inside a centos 6.3 virtualbox 4.2.4 virtual machine. The system is running the latest software available via yum update. The host OS is windows 7. The site files nginx is ...
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
0answers
1k views

CIFS mounts hang on read

I have a problem with a bunch of CIFS mounts that look like this: //192.168.10.2/remote-share /home/windows-shared/remote-share cifs defaults,user=xxx,password=xxx,uid=603,gid=603 0 0 This ...
4
votes
1answer
6k views

How to migrate Samba User Accounts to a new linux server?

I have an Ubuntu 6.06 server that needs to be replaced by an Ubuntu 9.04 server clean setup, I already copied the entire samba file server directory to the new 9.04 server using rsync. I need to know ...
3
votes
2answers
1k views

Grant Samba share permission to AD computer accounts

I'm running Samba 3.4.7 with Likewise Open 6.0.0.8388 on Ubuntu 10.04 Server x64. This server is joined to a domain (functional level 2003) run by 2008R2 domain controllers. In a Windows server, I can ...
3
votes
4answers
12k views

Slow logins with roaming profiles

We are running an ActiveDirectory environment with Windows 2008 as DC and Samba 3.3 as fileserver, using roaming profiles. Some of our offices are connected to HQ via slowish links (1/2 Mbit). ...
3
votes
6answers
3k views

Mac OS X system can connect to Samba share, but Windows XP can not

When accessing a server running Samba, Mac OS X opens a login window prompting for a username and password. With the correct username and password, I'm able to login and read/write to shares. Using ...
3
votes
0answers
1k views

Ubuntu server + Samba + PAM + Apple OpenDirectory

Due to various reasons, we are looking to migrate our file servers from OS X Server 10.9 over to a true Samba implementation running on Ubuntu 14.04LTS. We have Ubuntu up and running with Samba ...
3
votes
5answers
10k views

AD group membership changes not reflected in winbind information

I have inherited several RHEL5 servers that were set up to authenticate users against their AD accounts via winbind. Everything works fine until I update group membership in AD. For some users, the ...
2
votes
2answers
2k views

Using Active Directory authentication with Samba on Ubuntu 9.10 server 64bit

I have an Ubuntu server joined to our office Active Directory domain (Windows 2008) and it all seems happy. I can ssh to the server using my AD credentials and home directories get created and all is ...
2
votes
3answers
10k views

How to Make Windows Network Visible to Linux Server Box?

Salvete! I have a machine running CentOS 6.2. In the GUI, if I click on "Network", I get a messagebox saying: "Unable to mount location - Failed to retrieve share list from server" I can ping the ...
2
votes
3answers
7k views

Windows file explorer using port 80 (webdav) instead of 445 (samba smb cifs) for UNC path

I have a Windows 7 Ultimate x86_64 machine, which is failing to access a network samba server. I launch the "Run" dialog, and type in \\192.168.x.x so I am bypassing DNS and NetBIOS name resolution, ...