mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
1fcaf066f4
BUG: https://bugzilla.samba.org/show_bug.cgi?id=6750 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
12 lines
264 B
Bash
Executable File
12 lines
264 B
Bash
Executable File
#!/bin/sh
|
|
# script to update keytab
|
|
|
|
[ -n "$CTDB_BASE" ] ||
|
|
CTDB_BASE=$(d=$(dirname "$0") && cd -P "$d" && dirname "$PWD")
|
|
|
|
case "$1" in
|
|
recovered)
|
|
net ads keytab create --option='sync machine password script=' --configfile="$CTDB_BASE/lib/server.conf"
|
|
;;
|
|
esac
|