On 10/12/2022 17:22, Luis Peromarta via samba wrote:> Folks, > > I have a contingency server (member server) in an installation. All the data is daily replicated via rsync -AXa. > > The member server is a KVM guest with shared folders from host (/home and /home2), online only for testing. Usually the contingency server is shut down. The rsync replication is done by the host. The contingency server is properly joint to the domain, everything seems to be fine from the configuration point of view. > > There?s basically 2 shares. One named ?personales? that holds home folders, and another share called ?shares? that hold group shares. > > Both shares have a ?every one - full control? setting on the computer management share permissions for both servers. > > Both servers (main and contingency) have the exact same smb.conf (except for the netbios name) > >Can I suggest you upgrade from Debian Buster to Bullseye, this will get you Samba 4.13.3 , which may fix your problem. If it doesn't, you can then upgrade Samba by using backports, this will then get you 4.17.3 Rowland
Forgot to mention, even though main server is on buster with 4.9, the contingency server is on bullseye running 4.13.3. It?s the contingency server that?s giving trouble. I will upgrade via back ports and revert back. LP On 10 Dec 2022 at 18:36 +0100, Rowland Penny via samba <samba at lists.samba.org>, wrote:> > > On 10/12/2022 17:22, Luis Peromarta via samba wrote: > > Folks, > > > > I have a contingency server (member server) in an installation. All the data is daily replicated via rsync -AXa. > > > > The member server is a KVM guest with shared folders from host (/home and /home2), online only for testing. Usually the contingency server is shut down. The rsync replication is done by the host. The contingency server is properly joint to the domain, everything seems to be fine from the configuration point of view. > > > > There?s basically 2 shares. One named ?personales? that holds home folders, and another share called ?shares? that hold group shares. > > > > Both shares have a ?every one - full control? setting on the computer management share permissions for both servers. > > > > Both servers (main and contingency) have the exact same smb.conf (except for the netbios name) > > > > > > Can I suggest you upgrade from Debian Buster to Bullseye, this will get > you Samba 4.13.3 , which may fix your problem. If it doesn't, you can > then upgrade Samba by using backports, this will then get you 4.17.3 > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Upgraded to 4.17.3, same error: [2022/12/10 18:47:01.218205,??0] ../../source3/smbd/smb2_service.c:168(chdir_current_service) ??chdir_current_service: vfs_ChDir(/home2/shares) failed: Permission denied. Current token: uid=11252, gid=10000, 15 groups: 10000 10008 10003 10005 10030 10024 10021 10022 10001 10018 10014 3003 3004 3006 3001 LP On 10 Dec 2022 at 18:36 +0100, samba at lists.samba.org, wrote:> > Can I suggest you upgrade from Debian Buster to Bullseye, this will get > you Samba 4.13.3 , which may fix your problem. If it doesn't, you can > then upgrade Samba by using backports, this will then get you 4.17.3