]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:net: Remove `net ads keytab flush`
authorAndreas Schneider <asn@samba.org>
Thu, 10 Apr 2025 14:07:46 +0000 (16:07 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 11 Apr 2025 07:35:49 +0000 (07:35 +0000)
commit684ca0b028b2f6d4ba2c616cda62e52a075f869f
tree6e3865c53d00de3d5815c0d21a44ea947cac3767
parent7089ece58ef8d78e1556cb6f3eec3a78d7051c5f
s3:net: Remove `net ads keytab flush`

This removes all entries from a keytab *and* removes all SPNs from the AD
machine account. We should not do that and if you want to get rid of the keytab
you can use `rm`.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
source3/libads/ads_proto.h
source3/libads/kerberos_keytab.c
source3/utils/net_ads.c