summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-21 00:30:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:55 -0500
commit45ca718d1903cfd400c9e12665c59f3089fe2318 (patch)
tree08e8463fa933dc86607209e4bf8075930d7ce554
parent0f961cb6db0486239e68b625e743c08b075b05e9 (diff)
downloadsamba-45ca718d1903cfd400c9e12665c59f3089fe2318.tar.gz
samba-45ca718d1903cfd400c9e12665c59f3089fe2318.tar.bz2
samba-45ca718d1903cfd400c9e12665c59f3089fe2318.zip
r18760: Fix typos, remove unneeded code
(This used to be commit 56ccfe98b299e1569d59ef447ac486209aa84ca0)
-rw-r--r--source3/smbd/negprot.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 3347008cdf..4362bb5467 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -33,7 +33,8 @@ static void get_challenge(char buff[8])
NTSTATUS nt_status;
const uint8 *cryptkey;
- /* We might be called more than once, muliple negprots are premitted */
+ /* We might be called more than once, multiple negprots are
+ * permitted */
if (negprot_global_auth_context) {
DEBUG(3, ("get challenge: is this a secondary negprot? negprot_global_auth_context is non-NULL!\n"));
(negprot_global_auth_context->free)(&negprot_global_auth_context);
@@ -190,15 +191,6 @@ static int negprot_spnego(char *p, uint8 *pkeylen)
push_ascii_nstring(dos_name, unix_name);
safe_strcpy(guid, dos_name, sizeof(guid)-1);
-#ifdef DEVELOPER
- /* valgrind fixer... */
- {
- size_t sl = strlen(guid);
- if (sizeof(guid)-sl)
- memset(&guid[sl], '\0', sizeof(guid)-sl);
- }
-#endif
-
/* strangely enough, NT does not sent the single OID NTLMSSP when
not a ADS member, it sends no OIDs at all