diff options
author | Michael Adam <obnox@samba.org> | 2008-08-01 00:12:18 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-01 16:08:00 +0200 |
commit | 7f3495726fffdc9aa40c0c7be2abcefeb6d53db5 (patch) | |
tree | 870b8a337f64071d0a0d3719d855485b54e2dea6 /source3/utils/net.c | |
parent | 10225fbef737217d3e1b88bdfcbf4e62dff3cadd (diff) | |
download | samba-7f3495726fffdc9aa40c0c7be2abcefeb6d53db5.tar.gz samba-7f3495726fffdc9aa40c0c7be2abcefeb6d53db5.tar.bz2 samba-7f3495726fffdc9aa40c0c7be2abcefeb6d53db5.zip |
vampire keytab: add command line switch --clean-old-entries .
This allows to control cleaning the keytab.
It will only clean old occurences of keys that are replicated in
this run. So if you want to ensure things are cleaned up, combine
this switch with --force-full-repl or --single-obj-repl (+dn list).
Michael
(This used to be commit 21385e1c635ea67215eb1da90e7dca97ae2f5d56)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r-- | source3/utils/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index a38e3ce2d4..bab2f41d11 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -655,6 +655,7 @@ static struct functable net_func[] = { /* Options for 'net rpc vampire (keytab)' */ {"force-full-repl", 0, POPT_ARG_NONE, &c->opt_force_full_repl}, {"single-obj-repl", 0, POPT_ARG_NONE, &c->opt_single_obj_repl}, + {"clean-old-entries", 0, POPT_ARG_NONE, &c->opt_clean_old_entries}, POPT_COMMON_SAMBA { 0, 0, 0, 0} |