From 9df3d64a2cdb2eafad5f597850f1a2fda8b1f8d2 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 16 Nov 2000 19:08:55 +0000 Subject: Fix from Jim McDonough @ IBM for OS/2 clients. Jeremy. (This used to be commit f571e1efd01c7b1b500a833df3bd074a8c4c65ec) --- source3/smbd/lanman.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/smbd/lanman.c') diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index fe6b22a9bf..51472ea309 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -201,7 +201,17 @@ static BOOL init_package(struct pack_desc* p, int count, int subcount) if (i > n) { p->neededlen = i; i = n = 0; +#if 0 + /* + * This is the old error code we used. Aparently + * WinNT/2k systems return ERRbuftoosmall (2123) and + * OS/2 needs this. I'm leaving this here so we can revert + * if needed. JRA. + */ p->errcode = ERRmoredata; +#else + p->errcode = ERRbuftoosmall; +#endif } else p->errcode = NERR_Success; -- cgit