history pt 2

Andrew Tridgell tridge at samba.anu.edu.au
Tue Mar 17 14:21:12 GMT 1998

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';

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.

More information about the samba-technical mailing list