Questions tagged [samba]

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

1865 questions
7
votes
3 answers

samba stuck at maximum of 1024 open files

I'm running a Ubuntu 10.04 (lucid) samba fileserver. I have a Windows 7 client which opens a large number of files while doing a copy of thousands of tiny files at once. It receives the error "Too many open files" at which point waiting a few…
cecilkorik
  • 455
  • 1
  • 4
  • 13
7
votes
2 answers

Unable to see Samba server by netbios name

We have a linux server set up with a number of samba shares on our mixed windows/mac/linux network. The shares are accessible if we go to \\192.168.x.x\share, however we can't access the server by it's netbios name (as set-up in the smb.conf file).…
Phillip B Oldham
  • 1,026
  • 5
  • 15
  • 24
7
votes
3 answers

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, coupled with the last Bind 9 that can dynamically add…
pgb
  • 455
  • 1
  • 6
  • 18
7
votes
4 answers

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 mixed systems (windows xp workstations and linux…
Mark Roddy
  • 777
  • 2
  • 11
  • 13
7
votes
3 answers

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 year in a mission-critical role, I can safely say…
Avery Payne
  • 14,536
  • 1
  • 51
  • 88
7
votes
5 answers

How can I disable SAMBA broadcasting features?

I don't need any broadcasting/autodiscovery, everything is deterministic and strictly configured in my nets. I drop trash SAMBA broadcasts by firewall anyway, can't I just disable them to keep my network traffic clean?
Ivan
  • 3,398
  • 19
  • 50
  • 71
7
votes
2 answers

Windows/Samba connection error

I have a Linux fileserver serving up /home for linux and windows users. I was able to connect from my windows client, but not from a DC. Then suddenly I could connect from the DC too. The linux servers run Centrify clients, and as such are part of…
Gomibushi
  • 1,313
  • 1
  • 12
  • 21
6
votes
5 answers

How can make changes to my smb.conf file go live without a reboot?

On our Centos 7 server, I added create mask = 770 to my smb.conf in order to force permissions on the files our Windows users store in a directory. Then from the command line, I entered the following: # systemctl restart smb.service # systemctl…
Paris Finley
  • 61
  • 1
  • 1
  • 4
6
votes
1 answer

Symlinks look like regular files on samba shares

Symlinks on my samba share aren't behaving the way I want them to – specifically, the links look like duplicate regular files to the client machine. This used to work (i.e. symlinks on the server looked like symlinks on the client), but at some…
Justin Goeres
  • 83
  • 2
  • 4
6
votes
2 answers

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 ). Our plan has a Forest (root : [domainname])…
Ansari
  • 227
  • 5
  • 12
6
votes
1 answer

How can Samba be configured to use LDAP for authentication only?

I'm looking to set up a new Samba file share that uses LDAP for back-end authentication. The LDAP server is already set up, and the machine the Samba server will be on is already set up to allow SSH access using LDAP authentication. It seems the…
Brian Bauman
  • 256
  • 1
  • 2
  • 13
6
votes
2 answers

Samba - How to actually disable mangled names

I'm trying to make a media server with Samba, but I don't need or want mangled names, so I disabled that in smb.conf. (I'm not expecting any Windows clients to connect.) However, when I do this, those files that were mangled just disappear. This is…
user409725
6
votes
2 answers

How can I stop Samba from writing extended ACLs?

Is there any configuration option to stop Samba from writing extended ACLs for newly created files? I only found nt acl support but this seems to disable support for permissions completely. I want Samba to behave as if my filesystem didn't support…
nwellnhof
  • 235
  • 1
  • 2
  • 8
6
votes
1 answer

Inconsistent winbind info on Samba 4 AD domain controller

I've setup a Samba 4 AD domain controller on Debian Jessie (samba 4.2.10). Everything's working fine, except that winbind gives wrong user/group information. I have a sample user "testuser" and a security group "people". Their UNIX attributes are…
MasterM
  • 1,061
  • 2
  • 11
  • 18
6
votes
2 answers

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 how to migrate the existing user accounts…
jericho