This commit does 3 main things:
authorAndrew Tridgell <tridge@samba.org>
Sun, 14 Sep 1997 16:37:18 +0000 (16:37 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 14 Sep 1997 16:37:18 +0000 (16:37 +0000)
commit33a003de4056532be0c9a199d4857b9da1b18034
tree69362f80d2ff1db2d79bd218701f5cff2320f8ed
parent58ec10049b8029de82e70ba10559e143a1b16707
This commit does 3 main things:

1) put the encryption code in by default, with no #ifdef. It is still
disabled by default so you need to add "encrypt passwords = yes" in
smb.conf but at least all binaries will have it.

2) cleanup the kanji code so it compiles with no warnings

3) get rid of lots of uses of ugly non-portable C code. The main
offender being things like "register" but also remove uses of the
"const" keyword as there are compilers out there that don't support it
and even those that do often complain about its usage. Users don't
like warnings :-(

There is still some work to do. We need to replace the md4 code with
our own implementation. The current code (from rfc1186) is PD but is
not very portable. The new RFC (rfc1320) is more portable but adds
copyright restrictions. I'll do a from-scratch MD4 soon.

We also need to test that what I've implemented is portable. It should
be, but I'm too tired right now to test it on anything other than
intel linux.
(This used to be commit db917c62c14315afe6f0745a8097c1bca25cbf07)
20 files changed:
source3/client/client.c
source3/client/clientutil.c
source3/include/kanji.h
source3/include/proto.h
source3/include/smb.h
source3/lib/getsmbpass.c
source3/lib/kanji.c
source3/lib/md4.c
source3/lib/system.c
source3/lib/util.c
source3/libsmb/nmblib.c
source3/libsmb/smbencrypt.c
source3/param/loadparm.c
source3/passdb/smbpass.c
source3/smbd/ipc.c
source3/smbd/password.c
source3/smbd/server.c
source3/utils/make_smbcodepage.c
source3/utils/smbpasswd.c
source3/wsmbconf.c