scripting/samba_upgradedns: Only look for IPv4/IPv6 addresses if we actually them
commitedbc26bca84ee77b5a9571ba8dc9416c0db25906
authorAndrew Bartlett <abartlet@samba.org>
Thu, 27 Dec 2012 23:05:40 +0000 (28 10:05 +1100)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 Jan 2013 19:56:50 +0000 (10 20:56 +0100)
treedc0470a440ce60acf783b6bdf576dd648226ad54
parent051a1a9c6417c2cbffa7d091ae477a6c7922d363
scripting/samba_upgradedns: Only look for IPv4/IPv6 addresses if we actually them

This allows the script to be used to create/remove the samba-specific dns-SERVER account
when we do not need to create the in-directory partition.

Andrew Bartlett

Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jan 10 20:56:50 CET 2013 on sn-devel-104
source4/scripting/bin/samba_upgradedns