Questions tagged [samba]

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

1865 questions
6
votes
1 answer

Load balancing a Windows File Share using HA-Proxy

After pulling my hair out over DFS I just had this weird and potentially dangerous idea come into my head whereby, just possibly, I might be able to use HA-Proxy to load balance a file share between servers. I've done some remedial packet traces and…
6
votes
3 answers

Is there a way to determine if a SAMBA share has open files?

This is related to an effort to shutdown a seldom used server if there are no SSH connections or open files. How can I determine in a shell script (cron job on a Linux box) if any of the current samba shares have any open files?
Jamie
  • 1,284
  • 7
  • 22
  • 40
6
votes
5 answers

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 authenticate. Winbind / PAM currently allows any enabled…
Kenaniah
  • 213
  • 1
  • 3
  • 8
6
votes
15 answers

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 some other stuff and I figured that I could just…
Seamus Connor
  • 213
  • 2
  • 8
6
votes
2 answers

Can't create or follow symlinks from linux client with a cifs mounted Windows Server 2008 R2 share

Windows Server 2008 R2 NTFS supports symlinks. If I log into the server as Administrator I can create symlinks with mklink, so I know the Admin user has the permissions to do this. If I mount a share onto an Ubuntu 10 client using mount -t cifs -o…
JustinP
  • 891
  • 1
  • 8
  • 8
6
votes
1 answer

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) Is there anyway to disable this feature? or…
Crash893
  • 747
  • 2
  • 15
  • 30
5
votes
1 answer

Access Windows 10 Samba Share from Linux commandline with minimal SMB2

Environment: Linux X86 Server with Debian 9.3 kernel: Debian 4.9.65-3+deb9u1 smbclient: Version 4.5.12-Debian cifs-utils: 2:6.7-1 Situation: Backupserver (backuppc) has to backup a Windows 10 Home client. No domain Alternative: Cygwin/Rsync used…
Dennis Nolte
  • 2,881
  • 4
  • 27
  • 37
5
votes
4 answers

How do I restart the Samba service?

I have changed the config file, but changes are not appearing. Do I have to restart Samba?
Mirage
  • 561
  • 4
  • 10
  • 25
5
votes
1 answer

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 - x64 version base system install only with samba…
Mark Allison
  • 2,188
  • 7
  • 26
  • 45
5
votes
5 answers

Samba configuration, status[NT_STATUS_ACCESS_DENIED],

I am trying to configure samba with centos7 to be accessed from windows 10 clients. log level = 1 i used a previously working smb.conf from the same server after reinstalling centos. log level = 10 you can actually skip reading this, its level 10…
George
  • 181
  • 1
  • 1
  • 7
5
votes
3 answers

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 Linux with file managers like Krusader or…
crazybyte
  • 337
  • 1
  • 3
  • 10
5
votes
0 answers

SSSD does not return full list of users in groups

We've set up a working SSSD+Samba+Krb5 bundle working to authorize domain users on Linux machines. Authorization works fine, but getent group EXAMPLE doesn't return full list of users in a group. Whereas id command shows that specific group, to…
Max Shepelev
  • 51
  • 1
  • 1
  • 6
5
votes
3 answers

Can Ubuntu/Samba access DFS shares on Windows Server?

Is there a way for Ubuntu/Samba to access a DFS path on our Windows file server? I'm primarily a Windows guy and my Ubuntu colleagues have to access the file server using regular \\server\share paths, rather than \\domain\dfsnamespace\target.
ThatGraemeGuy
  • 15,473
  • 12
  • 53
  • 79
5
votes
3 answers

Samba not working on LAN without internet connection

I've got a Samba 4 share on a CentOS 7.2 server in my LAN that I access from some Windows 10 clients. The clients use the server IP to access the share and Samba is configured to be a stand-alone server, not a domain member one. Everything works…
Eggplant
  • 53
  • 1
  • 5
5
votes
3 answers

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 forget". After doing a trial run with Ubuntu Hardy…
Nic
  • 13,425
  • 17
  • 61
  • 104