]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:net: Pass down the server from cmdline to sync_pw2keytabs()
authorAndreas Schneider <asn@samba.org>
Mon, 28 Jul 2025 08:43:36 +0000 (10:43 +0200)
committerJule Anger <janger@samba.org>
Thu, 11 Sep 2025 11:06:53 +0000 (11:06 +0000)
commit6ee4a2bfcbdd432687a96caab69914b8b92abdbd
treecf2d65eb87732e426b9a27a2cd911ad963ef4994
parent0034b13f23ab9d16d62dbf0619e24233c520dae3
s3:net: Pass down the server from cmdline to sync_pw2keytabs()

This makes sure that during 'net ads join' the keytab create code
- sync_pw2keytabs() talks to the same DC at what the machine account
was created.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15905

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Pair-Programmed-With: Pavel Filipenský <pfilipensky@samba.org>

Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org>
Autobuild-Date(master): Fri Sep  5 13:38:33 UTC 2025 on atb-devel-224

(cherry picked from commit 5d1d3a8b568b5a07ed1ed537d20aa93820cecc14)

Autobuild-User(v4-22-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-22-test): Thu Sep 11 11:06:53 UTC 2025 on atb-devel-224
selftest/knownfail
source3/include/secrets.h
source3/libads/ads_proto.h
source3/libads/kerberos_keytab.c
source3/libads/trusts_util.c
source3/libads/util.c
source3/libnet/libnet_join.c
source3/passdb/machine_account_secrets.c
source3/utils/net.c
source3/utils/net_ads.c