]> 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)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 10 Mar 2025 11:09:29 +0000 (11:09 +0000)
commit5cadaf91bc96cd2a8e0f6bcbd8a212e86b714180
tree0e0aa05ebe1d6cebac9e11682dcecd6b7c58fa81
parentc72554260c950d0ef7652955a59f0f68a026f4f2
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
source3/utils/net_ads.c