similar to: silent data loss with samba and lack of rename() locking

Displaying 20 results from an estimated 9000 matches similar to: "silent data loss with samba and lack of rename() locking"

2024 Jun 07
1
smbstatus: who opened the file?
In the smbstatus output, "Locked files" section, there's a list of locked files (effectively opened files, since windows always locks a file which it opens) and corresponding pid of smbd process. How to map this information to user ID? Thanks, /mjt -- GPG Key transition (from rsa2048 to rsa4096) since 2024-04-24. New key: rsa4096/61AD3D98ECDF2C8E 9D8B E14E 3F2A 9DD7 9199 28F1
2024 Jun 20
3
leaving a domain?
Hi! I joined a newly installed samba (4.20.1) server to a domain, - just testing things. Now I want to remove this test server from a domain, but I can't: root at svdcm2:/# samba-tool domain leave -U tls\\mjt-adm WARNING: Using passwords on command line is insecure. Installing the setproctitle python module will hide these from shortly after program start. Password for [TLS\mjt-adm]:
2024 Jun 07
2
missing msdfs referrals from samba directory listing: wrong order in smbd_dirptr_get_entry()?
07.06.2024 07:54, Jeremy Allison wrote: >> msdfs is broken in 4.19.? It worked fine in 4.18. This is not entirely true. >> Is no one using msdfs?? I wonder why I was the first to discover this? > > There must not be a test for your specific use-case. > > MSDFS is tested in the autobuild test suite. Can > you articulate the problem well enough we can > build a
2024 Jun 20
1
leaving a domain?
On Thu, 20 Jun 2024 15:19:35 +0300 Michael Tokarev <mjt at tls.msk.ru> wrote: > 20.06.2024 15:16, Rowland Penny via samba wrote: > > On Thu, 20 Jun 2024 15:07:11 +0300 > > Michael Tokarev via samba <samba at lists.samba.org> wrote: > > > >> 20.06.2024 15:03, Michael Tokarev via samba wrote: > > >> Still, it'd be nice if samba-tool domain
2024 Jul 08
1
samba-ad-dc from debian backports fails to start with /usr/sbin/samba missing
On Mon, Jul 8, 2024 at 6:46?AM Michael Tokarev <mjt at tls.msk.ru> wrote: ... > I think the main ingredient here is to have apt-listchanges package > installed (which, while part of standard install, is optional). ... I've always installed using the netinstall.iso which does not install that package. Will add it from now on. Thank you, Chris
2024 Jun 07
1
missing msdfs referrals from samba directory listing: wrong order in smbd_dirptr_get_entry()?
On 07-06-2024 06:59, Michael Tokarev via samba wrote: > 07.06.2024 07:54, Jeremy Allison wrote: >>> msdfs is broken in 4.19.? It worked fine in 4.18. > > This is not entirely true. > >>> Is no one using msdfs?? I wonder why I was the first to discover this? >> >> There must not be a test for your specific use-case. >> >> MSDFS is tested in the
2024 Aug 12
1
bind9 failure when using dlz_bind
On Sun, 11 Aug 2024 10:29:14 +0300 Michael Tokarev <mjt at tls.msk.ru> wrote: > 11.08.2024 00:53, Franta Hanzl?k via samba wrote: > > > I have about the same crash on Fedora 40 x86_64/bind-9.18.28 and > > Samba 4.20.4 (own build with internal Heimdal, as Fedora build it with > > MIT Kerberos - which (IMO) not stable yet). > > What is not stable with
2024 Jun 20
1
leaving a domain?
On Thu, 20 Jun 2024 15:07:11 +0300 Michael Tokarev via samba <samba at lists.samba.org> wrote: > 20.06.2024 15:03, Michael Tokarev via samba ?????: > > Hi! > > > > I joined a newly installed samba (4.20.1) server to a domain, - > > just testing things.? Now I want to remove this test server from a > > domain, but I can't: > > > > > >
2015 Sep 03
1
Doubts on incremental backup and command repetition
Hi, I am trying to use rsync for incremental backup and I am facing some issues. I would like to ask your help to understand what is going on and have the proper command line. 1) my goal is I the following folders: ./dest: file3.txt ./orig: file1.txt   file10.txt  file2.txt   file20.txt And I would like to have as incremental backup ./dest: backup      file1.txt     file2.txt  file3.txt
2024 May 26
1
classifying samba componens and sorting into debian binary packages
On 26/05/24 03:00, Michael Tokarev via samba wrote: > There's also /usr/sbin/samba_kcc in there, - should go either to samba-ad-client > or samba-ad-dc, I can't understand which one. samba-ad-dc. It is called by the server. >> BTW, do we really need samba_downgrade_db these days?? Changing format to the >> one used by samba 4.7, srsly?? I'd just remove this one :)
2024 Jun 07
1
DC upgraded to 4.20.1 - issues
Am 07.06.24 um 08:45 schrieb Michael Tokarev: > Please check version of samba-ad-dc package, - is it the same as other > samba package versions? that package isn't installed according to "apt-cache policy" ! Seems it got lost while upgrading. > Did samba-ad-dc start at all? seemed like, but was very fast (so did nothing, as it seems) Did "apt install
2024 Jun 07
1
4.20: case (in)sensitive is broken
On 6/7/24 9:34 AM, Michael Tokarev via samba wrote: > I had to downgrade samba from 4.20.1 to 4.19.6 because 4.20 > broke case insensitive file access entirely.? Only exact case > filename works, no matter which value is set in "case sensitive" > parameter. hm, can't reproduce: $ bin/smbclient -U "slow%x" //localhost/test smb: \> ls foo foo N
2024 Jun 11
1
missing msdfs referrals from samba directory listing: wrong order in smbd_dirptr_get_entry()?
On Fri, Jun 07, 2024 at 11:54:28AM +0300, Michael Tokarev via samba wrote: >07.06.2024 10:13, Kees van Vloten via samba wrote: > >>There is a little difference with your config: I am not using >>symlinks in the filesystem but 'msdfs proxy' in smb.conf.? Not sure >>if that can be related to your finding? > >msdfs proxy is not affected in this context. It is
2024 Jun 20
1
leaving a domain?
On 6/20/24 2:03 PM, Michael Tokarev via samba wrote: > How to remove this machine from a domain? net ads leave ... -slow -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL:
2024 Jul 07
1
samba-ad-dc from debian backports fails to start with /usr/sbin/samba missing
On Fri, Jul 5, 2024 at 3:55?AM Michael Tokarev via samba <samba at lists.samba.org> wrote: ... > Please don't suppress *NEWS* entries. ... As someone that was bitten by this change I have to admit I've never seen these NEWS entries, or never realized I had. My Debian servers are cli only (no X or Wayland). Is this something that gets automatically displayed when you do an
2024 Jul 31
1
4.21-rc: ldb_version.h is missing
On 30/07/24 22:20, Michael Tokarev via samba wrote: > When building libldb as public library, its install target does not > install ldb_version.h header file, which is included from ldb.h, so > the resulting header files are unusable. It may be that 625fb48326ec62a33ce0abdbfb0f6f3d33d7cc64 accidentally reversed the logic:
2024 Jun 07
1
4.20: case (in)sensitive is broken
On Fri, Jun 07, 2024 at 08:21:26PM +0300, Michael Tokarev wrote: >But samba applies too much smartness here and breaks things badly. Fair enough. Can you post a minimal smb.conf and directory setup that reproduces the problem and how to demo it with smbclient command lines please ? I know I'm asking to be spoon-fed but my time for Samba these days is quite limited and this would aid
2024 May 02
2
winbind: does it actually depend on nmbd? and network-online?
On Thu, 2 May 2024 13:44:47 +0300 Michael Tokarev via samba <samba at lists.samba.org> wrote: > Hi! > > In packaging/systemd/winbind.service, there's this ordering: > > After=network.target nmb.service > > Does winbind really need nmbd running? Well, no and yes ;-) No, if you are running Samba as an AD Unix domain member without SMBv1 (in which case, you do not
2024 Jun 07
1
missing msdfs referrals from samba directory listing: wrong order in smbd_dirptr_get_entry()?
On Fri, Jun 07, 2024 at 07:16:06AM +0300, Michael Tokarev via samba wrote: >06.06.2024 19:33, Michael Tokarev via samba wrote: > >>For quite some time I'm trying to find what's going on with MSDFS referrals. >>Samba version is 4.19.6. >.. >>However, when opening the directory in question from client, this name is not >>shown in the listing.? Samba skips
2008 Dec 16
2
Syncing file with reference to another one
I have the following situation: file2 on remote host and file1 on localhost. file1 and file2 are mostly the same. Simply running rsync remotehost:file2 file2 will actually transfer the entire file. But I would like to use the factt that I have local file1 that is mostly similar to file2. I.e. how can I make rsync to use file1 as a reference while transferring file2? (cp file1 file2 locally and