mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
3fec8a11b0
- Point to helpful tutorial in pkg-message
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
========== Installing ldap-abook for the first time ==========
|
|
Some assembly required! These instructions for creating the LDAP
|
|
database do not work out of the box, please additionally read e.g.
|
|
http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html?page=1
|
|
|
|
Tell the openldap server about the abook schema with the
|
|
following line in $PREFIX/etc/openldap/slapd.conf:
|
|
|
|
include $PREFIX/etc/openldap/schema/cosine.schema
|
|
include $PREFIX/etc/openldap/schema/inetorgperson.schema
|
|
include $PREFIX/www/ldap-abook/examples/default/abookperson.schema
|
|
|
|
Create the initial ``abook'' ou using the following command:
|
|
|
|
cd $PREFIX/www/ldap-abook/examples/default
|
|
ldapadd -h host -W -D 'dc=your_domain' -f abook.ldif
|
|
|
|
replacing host and your_domain as appropriate (abook.ldif must
|
|
have "your_domain" changed too).
|
|
|
|
Modify "your_domain" and "secret" (and possibly "Manager") in
|
|
$PREFIX/etc/AddressBook.conf too.
|
|
|
|
Link to abook.cgi from your web server's CGI directory:
|
|
|
|
cd /usr/local/www/cgi-bin
|
|
ln -s $PREFIX/www/ldap-abook/cgi-bin/abook.cgi
|
|
==============================================================
|