]> 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 15:31:09 +0000 (15:31 +0000)
commitd7ac6062d61b7d620860dd7e97691edf1c2acd36
tree62e881cb419c6c0eaa3d01b209d1a30d07512636
parent92253a4708b0b0b529df9aa1c97242babce2165c
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