Andrew Bartlett
2017-Nov-28 18:55 UTC
[Samba] Should Samba-tool RODC preload be run periodically?
On Wed, 2017-11-29 at 07:26 +1300, Andrew Bartlett via samba wrote:> On Tue, 2017-11-28 at 15:03 +0000, Andrej Gessel via samba wrote: > > Hello list, > > > > I run “samba-tool rodc preload” for multiple users. If one of this users change his password, should I repeat the preload call? (I suppose yes, I need to rerun) > > If I need to rerun samba-tool, can user login with his old password till its expire? (I suppose yes?) > > The design is that we get a replication event with a blank password in > it, causing the password to be wiped locally. That triggers the next > login to go via the master DC which if successful triggers a async > replication of the new password. > > So, it is meant to be safe for password change/reset, and there are > tests for this.I should point out that the RODC is only working and secure in Samba 4.7 and above. Thanks, Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
Andrej Gessel
2017-Nov-30 15:46 UTC
[Samba] Should Samba-tool RODC preload be run periodically?
Hello Andrew, thank you for the answer. 1) User credentials need to be preloaded with samba-tool to be automatically replicated later if they change, its correct? 2) And if user try to login on RODC without preloaded credentials, this credentials will not be cached? (as described in samba wiki) We using Samba 4.7.3 for RODC. Thanks Am 28.11.2017 um 19:55 schrieb Andrew Bartlett:> On Wed, 2017-11-29 at 07:26 +1300, Andrew Bartlett via samba wrote: >> On Tue, 2017-11-28 at 15:03 +0000, Andrej Gessel via samba wrote: >>> Hello list, >>> >>> I run “samba-tool rodc preload” for multiple users. If one of this users change his password, should I repeat the preload call? (I suppose yes, I need to rerun) >>> If I need to rerun samba-tool, can user login with his old password till its expire? (I suppose yes?) >> The design is that we get a replication event with a blank password in >> it, causing the password to be wiped locally. That triggers the next >> login to go via the master DC which if successful triggers a async >> replication of the new password. >> >> So, it is meant to be safe for password change/reset, and there are >> tests for this. > I should point out that the RODC is only working and secure in Samba > 4.7 and above. > > Thanks, > > Andrew Bartlett
Andrew Bartlett
2017-Nov-30 17:34 UTC
[Samba] Should Samba-tool RODC preload be run periodically?
On Thu, 2017-11-30 at 15:46 +0000, Andrej Gessel via samba wrote:> Hello Andrew, > > thank you for the answer. > > 1) User credentials need to be preloaded with samba-tool to be > automatically replicated later if they change, its correct?No, preloading just makes the first login faster.> 2) And if user try to login on RODC without preloaded credentials, this > credentials will not be cached? (as described in samba wiki)No, the criteria for being cached is if the user account is in the allowed rodc replication group and not in the denied one. Can you point me at the incorrect section of the wiki?> We using Samba 4.7.3 for RODC.Good. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
Maybe Matching Threads
- Should Samba-tool RODC preload be run periodically?
- Should Samba-tool RODC preload be run periodically?
- Should Samba-tool RODC preload be run periodically?
- samba_kcc RODC failes with NT_STATUS_ACCESS_DENIED
- possible memory leak in ldb module while dbcheck on RODC