Questions tagged [samba]

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

1865 questions
9
votes
2 answers

Possible to authenticate Samba via Kerberos but without domain-join?

With a Kerberos config file... [realms] DOMAIN.COM = { kdc = dc1.domain.com admin_server = dc1.domain.com } ...it is possible for Linux to talk to Active Directory for password validation without necessarily being an AD domain…
DarkSideGeek
  • 179
  • 1
  • 1
  • 5
9
votes
6 answers

Samba over OpenVPN - horribly slow

I've set up a server to run OpenVPN, with the purpose of clients accessing Samba shares remotely. The server is running CentOS 5.6, a decent quad-core Xeon CPU and plenty of RAM. The client I've tested it on is a Windows 7 x64 machine, also with…
melkamo
  • 213
  • 1
  • 2
  • 6
9
votes
3 answers

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 username@DOMAIN SUCCESS/FAILURE
Harley
  • 2,187
  • 6
  • 25
  • 29
9
votes
7 answers

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 systems defaulting to this Microsoft…
Dougal
  • 317
  • 1
  • 5
  • 11
9
votes
7 answers

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 would be. My second thought is to somehow tunnel…
Alex S
  • 393
  • 3
  • 6
  • 16
8
votes
4 answers

Samba SMB Encryption - How safe is it?

I recently set up a Samba server on Linux that allows me to access files on this server on Win10 PCs in my local network. But I wondered if I could access this shared drive over the internet since I also use a Win10 PC at school. I set the following…
Robin Mayer
  • 81
  • 1
  • 1
  • 2
8
votes
3 answers

Difference between durable file handles, resilient file handles and persistent file handles

In CIFS/SMB protocol, I see that there are 3 types of file handles: durable, resilient and persistent. What is the difference between them?
Waveter
  • 564
  • 2
  • 6
  • 23
8
votes
1 answer

Debian Jessie samba start on boot

I'm having issues starting samba on boot on Debian Jessie. I do not understand how to do it as it seems that the samba script wrapper is deliberately made not to work. I tried to issue a update-rc.d samba defaults but it will not modify the system…
Fabrizio Mazzoni
  • 671
  • 1
  • 9
  • 24
8
votes
7 answers

Access denied to Samba share from Windows 10

Samba version: Version 4.1.17-Ubuntu Ubuntu 15.10 When accessing a Samba share in windows, I can see the share but whenever I try and access it - entering the same username and password as the Samba user created with sudo smbpasswd -a benjamin (same…
bak202
  • 199
  • 1
  • 1
  • 5
8
votes
3 answers

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 discovered that the majority of the clients data,…
Peter Nunn
  • 452
  • 1
  • 11
  • 25
8
votes
1 answer

Samba server on CentOS sees shared directories, but no files visible

I have a very basic samba share for a development environment. There is a directory /var/www/ owned by www:www. All subdirectories are also owned by www:www. All users are members of the www group. The entire smb.conf file is the default except…
Peter
  • 123
  • 1
  • 1
  • 7
8
votes
2 answers

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. On boot up, on some PCs, I get an error message…
Canadian Luke
  • 885
  • 15
  • 44
8
votes
1 answer

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: chubby@chubby:/media/blackhole/_Arkiv$ ls -ll total…
8
votes
6 answers

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 resolving one particular username (# id username), this…
malco
  • 465
  • 1
  • 7
  • 14
8
votes
7 answers

Server 2008/Windows 7/Samba Unspecified error 80004005

I have a Samba share on a LAN with 2008 PDC/DNS. Smb authenticates with AD and I have several Win7 Machines that can connect fine. I recently added a couple of new computers to the LAN which were imaged the same way (same software, etc.; different…
stormdrain
  • 1,439
  • 7
  • 28
  • 52