1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

python: Explain strange enable_net_export_keytab() behaviour is no longer due Heimdal

This code is now common between Heimdal and MIT Kerberos, but can still be missing
for builds of "samba-tool" that do not include the whole AD DC.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2023-12-18 17:57:56 +13:00
parent c97071726e
commit 7a8c091698

View File

@ -395,8 +395,8 @@ def enable_net_export_keytab():
#
# The dckeytab modules contains nothing, but the act of importing
# it pushes a method into samba.net.Net. It ended up this way
# because Net.export_keytab() only works on Heimdal builds, and
# people sometimes want to compile Samba without Heimdal while
# because Net.export_keytab() only works on AD DC builds, and
# people sometimes want to compile Samba without the AD DC while
# still having a working samba-tool.
#
# There is probably a better way to do this than a magic module