From 6ce9192fc23d1e9e3fba80f774ff8d56f7736ee1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 16 Sep 1997 08:31:01 +0000 Subject: change the encryption instructions to reflect the fact that the code is now built in (This used to be commit 82cfa6bb7cd5e5c7ad327787fb4cc72204118335) --- docs/textdocs/ENCRYPTION.txt | 38 ++++++-------------------------------- 1 file changed, 6 insertions(+), 32 deletions(-) (limited to 'docs/textdocs') diff --git a/docs/textdocs/ENCRYPTION.txt b/docs/textdocs/ENCRYPTION.txt index 69dd49b257..075a0d322e 100644 --- a/docs/textdocs/ENCRYPTION.txt +++ b/docs/textdocs/ENCRYPTION.txt @@ -269,27 +269,15 @@ This is a very brief description on how to setup samba to support password encryption. More complete instructions will probably be added later. -1) get and compile the libdes libraries. the source is available from -ftp://samba.anu.edu.au/pub/libdes/ +1) compile and install samba as usual -2) enable the encryption stuff in the Samba makefile, making sure you -point it to the libdes library and include file (it needs des.h) -The entries you need to uncomment are the four lines after the comment :- - -# This is for SMB encrypted (lanman) passwords. - -Note that you may have to change the variable DES_BASE to -point at the place where you installed the DES library. - -3) compile and install samba as usual - -4) f your system can't compile the module getsmbpass.c then remove the +2) if your system can't compile the module getsmbpass.c then remove the -DSMBGETPASS define from the Makefile. -5) enable encrypted passwords in smb.conf by adding the line +3) enable encrypted passwords in smb.conf by adding the line "encrypt passwords = yes" in the [global] section -6) create the initial smbpasswd password file in the place you +4) create the initial smbpasswd password file in the place you specified in the Makefile. A simple way to do this based on your existing Makefile (assuming it is in a reasonably standard format) is like this: @@ -324,27 +312,13 @@ If you wish, install the smbpasswd program as suid root. chown root /usr/local/samba/bin/smbpasswd chmod 4555 /usr/local/samba/bin/smbpasswd -7) set the passwords for users using the smbpasswd command. For +5) set the passwords for users using the smbpasswd command. For example, as root you could do "smbpasswd tridge" -8) try it out! +6) try it out! Note that you can test things using smbclient, as it also now supports encryption. -NOTE TO USA Sites that Mirror Samba ------------------------------------ - -The DES library is considered a munition in the USA. Under US Law it is -illegal to export this software, or to put it in a freely available ftp -site. - -Please do not mirror the libdes directory from the site on -samba.anu.edu.au - -Thank you, - -Jeremy Allison. - ============================================================================== Footnote: Please refer to WinNT.txt also -- cgit