summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/init_samr.c1
-rw-r--r--source3/rpc_client/init_samr.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/source3/rpc_client/init_samr.c b/source3/rpc_client/init_samr.c
index ecab28e719..e3bb3015c2 100644
--- a/source3/rpc_client/init_samr.c
+++ b/source3/rpc_client/init_samr.c
@@ -21,6 +21,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "../lib/crypto/md5.h"
#include "../lib/crypto/arcfour.h"
+#include "rpc_client/init_samr.h"
/*************************************************************************
inits a samr_CryptPasswordEx structure
diff --git a/source3/rpc_client/init_samr.h b/source3/rpc_client/init_samr.h
new file mode 100644
index 0000000000..1ddaef6615
--- /dev/null
+++ b/source3/rpc_client/init_samr.h
@@ -0,0 +1,9 @@
+/* The following definitions come from rpc_client/init_samr.c */
+
+void init_samr_CryptPasswordEx(const char *pwd,
+ DATA_BLOB *session_key,
+ struct samr_CryptPasswordEx *pwd_buf);
+void init_samr_CryptPassword(const char *pwd,
+ DATA_BLOB *session_key,
+ struct samr_CryptPassword *pwd_buf);
+