summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-08 19:54:57 +0200
committerGünther Deschner <gd@samba.org>2008-04-08 19:54:57 +0200
commit16fca542d7f3b05f3d97cdab34c5f1907bd0a170 (patch)
treebff3e455920b4ce2f8b527964f0bc3111c0db69b /source3/utils
parentaf19343df8f3ac733538bed37b983b9488a01ef8 (diff)
downloadsamba-16fca542d7f3b05f3d97cdab34c5f1907bd0a170.tar.gz
samba-16fca542d7f3b05f3d97cdab34c5f1907bd0a170.tar.bz2
samba-16fca542d7f3b05f3d97cdab34c5f1907bd0a170.zip
Move is_valid_policy_hnd() out of net.
Guenther (This used to be commit aae4d91e726ef8dcad173cdd1d6f719d94462948)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_util.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c
index c08eae3337..f844992d56 100644
--- a/source3/utils/net_util.c
+++ b/source3/utils/net_util.c
@@ -21,13 +21,6 @@
#include "includes.h"
#include "utils/net.h"
-bool is_valid_policy_hnd(const POLICY_HND *hnd)
-{
- POLICY_HND tmp;
- ZERO_STRUCT(tmp);
- return (memcmp(&tmp, hnd, sizeof(tmp)) != 0);
-}
-
NTSTATUS net_rpc_lookup_name(TALLOC_CTX *mem_ctx, struct cli_state *cli,
const char *name, const char **ret_domain,
const char **ret_name, DOM_SID *ret_sid,