]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:utils: Remove call of ads_startup() from net_ads_keytab_create()
authorPavel Filipenský <pfilipensky@samba.org>
Thu, 6 Mar 2025 14:24:05 +0000 (15:24 +0100)
committerJule Anger <janger@samba.org>
Thu, 13 Mar 2025 16:03:20 +0000 (16:03 +0000)
commitf8f85cf8533824e0c3fae7e4cac363c692f249c5
tree8c13327b3425abffd9cb3ac8100ec443b198d163
parent83c60df6e8dd604c4954e1b444b8d2332dbff62b
s3:utils: Remove call of ads_startup() from net_ads_keytab_create()

Calling ads_startup() is not needed in net_ads_keytab_create.  Keytab
creation code in sync_pw2keytabs() decides if it needs to talk to DC or
not and connects to AD accordingly.

Fixing this, makes the bug below easier to reproduce using
'net ads keytab create'.

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

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org>
Autobuild-Date(master): Mon Mar 10 11:09:29 UTC 2025 on atb-devel-224

(cherry picked from commit 5cadaf91bc96cd2a8e0f6bcbd8a212e86b714180)
source3/utils/net_ads.c