Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.
Questions tagged [samba]
1865 questions
5
votes
1 answer
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 from a windows machine. Everything works as expected but there is the small trouble that samba removes x bit…

user203267
- 61
- 1
- 1
- 5
5
votes
4 answers
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 tried to join the domain again using
net ads join…

Guss
- 2,670
- 5
- 34
- 59
5
votes
1 answer
User can't connect to samba share on windows (others can)
I have setup Samba in a Debian machine so that existing users in the linux server can connect to their homes and different shares using Windows.
user1, user2 and user3 can connect without problems, but user4 can't access any of the shares. user4 can…

Lando
- 595
- 2
- 5
- 9
5
votes
1 answer
When a samba server shares NFS4 mount directory, window clients cannot copy file. ERROR: 0x80070021
The error reported by windows client is like this ERROR: 0x80070021 The process cannot access the file because another process has locked a portion of the file.
I google it and hit samba bug report 8481 .
Which is very similar to this problem.…

wcy
- 153
- 1
- 1
- 5
5
votes
2 answers
Delete files from command line using smb:// URL
I have a file with a list of smb:// URLs, like this one:
smb://my_samba_host/data/need_to_be_removed.tgz
smb://my_samba_another/data/need_to_be_removed2.tgz
I need a command line (something using xargs probably) that would allow me to remove all…

devmiles.com
- 151
- 1
- 6
5
votes
1 answer
Samba4 locked pst files
i have a samba4 server that holds my clients outlook pst files, if the outlook client or the machine crashes i must go to the server to kill the PID manually.
i saw there was "reset on zero vc =yes" parameter that can solve the problem but that is…

BluesRhythm
- 308
- 1
- 5
- 13
5
votes
1 answer
Virtualization - Linux KVM-QEMU host Windows VM guest, how to access data drive
What is the best way to share a Data partition on a Linux KVM-QEMU host with a Windows VM guest?
I could use Samba networking and connect to the drive as a network share but I was hoping there might be a simpler way.
Thanks,
Nick

NickC
- 2,373
- 13
- 41
- 55
5
votes
3 answers
Windows 7 Samba issue
We have a strange samba issue affecting only one user. Our samba setup is as follow :
Red Hat Enterprise Linux Server release 5.4 (Tikanga) - Samba Server
Samba version 3.0.33-3.14.el5 - Samba version
Domain…

abduls85
- 161
- 1
- 3
5
votes
1 answer
How to mount a SAMBA shared folder from linux client machine using encrypted password?
I am trying to setup an auto-mounting network drive. The network drive requires a user/pass. In the man page for "mount.cifs" there are two ways to provide the user/pass.
1-[not recommended] put the user/pass in /etc/fstab
2-create a separate…
Roy Imad
5
votes
2 answers
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 network lists (net view, for example). So,…

oksofar
- 115
- 2
- 6
5
votes
1 answer
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 read-only. I need to be able to save files/overwrite them…

Tristan Hall
- 139
- 1
- 8
5
votes
2 answers
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 some extra users that do not have an account on…

Roman Byshko
- 254
- 2
- 13
5
votes
4 answers
I can connect to Samba server but cannot access shares.
I'm having trouble getting samba sharing working to access shares.
I have setup a stand-alone box running Fedora 16 to use as a file-sharing and web development server. It needs to be able to share files with a Windows 7 PC and a Mac running OSX…

biggles
- 243
- 1
- 4
- 9
5
votes
1 answer
Is there a maximum filepath length over Samba? And can it be changed?
I've read about filename limits in Linux but this is specifically about Samba.
I hit a problem where by both Windows and Linux clients to my (Debian Squeeze) Samba server were unable to access certain PDFs burried in a deep file path.
The filepath…

artfulrobot
- 2,949
- 13
- 36
- 60
5
votes
1 answer
Configure Avahi nss-mdns not to use local suffix with hostnames because of issue in mounting Samba share
How to configure Avahi & nss-mdns to resolve names in my small home network in the same manner as Windows does with NetBIOS or more recently LLMNR.
For Linux, there are two options:
Winbind aka NetBIOS for linux, marked as DEPRECATED by many…

Espinosa
- 171
- 1
- 7