Friday 13 April 2012

FreeBSD - OpenLDAP and FreeRADIUS part 2

The OpenLDAP server is running and now I have to implement the design for the directory I want to use. Before I can start entering all ou,dc,cn-info I'm going add a password for the slapd-daemon and generate a hash for in the slapd-config file. There are several hash-schemes for the password but I'm going to use the MD5-hash:

slappasswd -h {MD5}

This command asks for a password and after entering one, it generates a hash.

New password:
Re-enter new password:
{MD5}1iB8sGXpjoNB5Ra2copmjQ==
[root@fbsd-radius ~]#

Copy this hash, we're going to need it later