Skip to content

Commit 2d89d6d

Browse files
committed
added flush-cache
1 parent ed0529e commit 2d89d6d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

domain.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Usage:
2828
domain add-user-to-group <user> <group>
2929
domain remove-user-from-group <user> <group>
3030
domain update-ip <domain> <controller> <oldip> <newip>
31+
domain flush-cache
3132
';
3233
}
3334

@@ -104,6 +105,9 @@ case "${1}" in
104105
samba-tool dns update 127.0.0.1 ${2} ${3} A ${4} ${5} -U administrator
105106
samba-tool dns update 127.0.0.1 ${2} @ A ${4} ${5} -U administrator
106107
;;
108+
flush-cache)
109+
net cache flush
110+
;;
107111
*)
108112
usage;
109113
esac

0 commit comments

Comments
 (0)