summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-10-22 16:55:03 +0000
committerJeremy Allison <jra@samba.org>1998-10-22 16:55:03 +0000
commitd891421d16ff80998dee429227bd391455f9d1a1 (patch)
treeac2477f7c8103676657a42a48675a5c12f1a2033 /source/libsmb
parent57295113feefcde77b429c661878444cd078b21f (diff)
downloadsamba-d891421d16ff80998dee429227bd391455f9d1a1.tar.gz
samba-d891421d16ff80998dee429227bd391455f9d1a1.tar.xz
samba-d891421d16ff80998dee429227bd391455f9d1a1.zip
libsmb/smbdes.c: #ifdef'ed out code prior to removal.
rpc_client/cli_pipe.c: Inlined code removed from smbdes.c rpc_server/srv_samr.c: Fixed unused variable warning. rpc_server/srv_util.c: Inlined code removed from smbdes.c Luke - the above changes are the first part of the changes you and I discussed as being neccessary at the CIFS conference. *PLEASE REVIEW THESE CHANGES* - make sure I haven't broken any of the authenticated DCE/RPC code. smbd/nttrans.c: Fixed to allow NT5.0beta2 to use Samba shares with NT SMB support. smbd/open.c: Fixed mkdir when called from nttrans calls. smbd/server.c: Set correct size for strcpy of global_myworkgroup. Jeremy.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/smbdes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/libsmb/smbdes.c b/source/libsmb/smbdes.c
index 9d531ef26dd..8a13935cf90 100644
--- a/source/libsmb/smbdes.c
+++ b/source/libsmb/smbdes.c
@@ -358,6 +358,10 @@ void cred_hash3(unsigned char *out,unsigned char *in,unsigned char *key, int for
smbhash(out + 8, in + 8, key2, forw);
}
+#if 0
+/*
+ * Prepare to remove... JRA.
+ */
void NTLMSSPhash( unsigned char hash[258], unsigned char key[5])
{
unsigned char j = 0;
@@ -389,6 +393,7 @@ void NTLMSSPhash( unsigned char hash[258], unsigned char key[5])
hash[256] = 0;
hash[257] = 0;
}
+#endif
void NTLMSSPcalc( unsigned char hash[258], unsigned char *data, int len)
{