From: Andrew Tridgell <tridge@samba.anu.edu.au> To: samba-technical@samba.anu.edu.au Subject: history pt 2 Message-Id: <19980317142117Z12583077-404+852@samba.anu.edu.au> Date: Wed, 18 Mar 1998 01:21:12 +1100
Some of the old code is really cute. Here is part of the code that
fills in the reply for an open request:
PVAL(outbuf,40,char) = '\267';
PVAL(outbuf,41,char) = '\212';
SSVAL(outbuf,36,7);
PVAL(outbuf,39,char) = ' ';
PVAL(outbuf,41,char) = '`';
PVAL(outbuf,42,char) = '\'';
PVAL(outbuf,43,char) = 'c';
PVAL(outbuf,44,char) = ')';
I remember putting in all those constants as I had no idea what the
packets actualy meant. I just put in what pathworks used.
all the commands have the wrong name too. There is reply_hello() and
reply_goodbye() for example.
It's amazing this code never trashed someones filesystem really badly ...
hmmm, maybe it did?
ahh, the good old days.