diff options
author | Gerald Carter <jerry@samba.org> | 2003-06-26 05:26:20 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-06-26 05:26:20 +0000 |
commit | 7a4e38155deda998947f8ea3ef966c4c4fe0a055 (patch) | |
tree | 533ac7ee450371e4d7c09ddd99dbb3046589daed /source3/libsmb/cliconnect.c | |
parent | e362f3d58154be1cdc65443ef3f9dbf0d2ffa6cd (diff) | |
download | samba-7a4e38155deda998947f8ea3ef966c4c4fe0a055.tar.gz samba-7a4e38155deda998947f8ea3ef966c4c4fe0a055.tar.bz2 samba-7a4e38155deda998947f8ea3ef966c4c4fe0a055.zip |
cleaning up more build issues. Tested
"--with-ads=no --with-ldap=yes" and "--with-ads=yes && make everything"
(This used to be commit 3e9e4bb7d1a2f5a95539f415aa101f033b67932a)
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r-- | source3/libsmb/cliconnect.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 122cc56e45..18125e26c3 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -453,6 +453,8 @@ static DATA_BLOB cli_session_setup_blob_receive(struct cli_state *cli) return blob2; } +#ifdef HAVE_KRB5 + /**************************************************************************** Send a extended security session setup blob, returning a reply blob. ****************************************************************************/ @@ -467,7 +469,6 @@ static DATA_BLOB cli_session_setup_blob(struct cli_state *cli, DATA_BLOB blob) return cli_session_setup_blob_receive(cli); } -#ifdef HAVE_KRB5 /**************************************************************************** Use in-memory credentials cache ****************************************************************************/ @@ -503,7 +504,8 @@ static BOOL cli_session_setup_kerberos(struct cli_state *cli, const char *princi return !cli_is_error(cli); } -#endif +#endif /* HAVE_KRB5 */ + /**************************************************************************** Do a spnego/NTLMSSP encrypted session setup. |