summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-09 22:24:14 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-10 12:31:55 +0200
commit81580429ec1ab872aa06f541d696f087621b05e6 (patch)
tree45ad02f859e56c659669cedf6e7e97be543a2605
parent33a6a4ea854edb6cc667ba78babab0b930755b91 (diff)
downloadsamba-81580429ec1ab872aa06f541d696f087621b05e6.tar.gz
samba-81580429ec1ab872aa06f541d696f087621b05e6.tar.bz2
samba-81580429ec1ab872aa06f541d696f087621b05e6.zip
s3:libsmb: make cli_session_setup_spnego() static
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 10 12:31:55 CEST 2011 on sn-devel-104
-rw-r--r--source3/libsmb/cliconnect.c6
-rw-r--r--source3/libsmb/proto.h4
2 files changed, 4 insertions, 6 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 18b3ce41a4..eaac4638a9 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1785,8 +1785,10 @@ fail:
dest_realm: The realm we're connecting to, if NULL we use our default realm.
****************************************************************************/
-ADS_STATUS cli_session_setup_spnego(struct cli_state *cli, const char *user,
- const char *pass, const char *user_domain,
+static ADS_STATUS cli_session_setup_spnego(struct cli_state *cli,
+ const char *user,
+ const char *pass,
+ const char *user_domain,
const char * dest_realm)
{
char *principal = NULL;
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index b1ffb4ff39..1c7be955c9 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -30,10 +30,6 @@
/* The following definitions come from libsmb/cliconnect.c */
-ADS_STATUS cli_session_setup_spnego(struct cli_state *cli, const char *user,
- const char *pass, const char *user_domain,
- const char * dest_realm);
-
NTSTATUS cli_session_setup(struct cli_state *cli,
const char *user,
const char *pass, int passlen,