]> git.sur5r.net Git - openldap/blob - contrib/php3-tool/README
New backend routine: back_attribute
[openldap] / contrib / php3-tool / README
1 This is the first version of this README
2 php3-tool v0.2gamma
3 This package has been tested and run with apache/php3 and OpenLDAP 1.1-devel
4 Look at the php3tool.conf (no need to at present) . The file format is  exactly
5 the same as CSS1/2. No particular reason, just that I like it..
6 So you have something like:
7 PATH {
8         attributes: "at.conf";
9         photo: "ldap-photo.php3";
10 }
11
12 Section PATH, which has following attribute-value pairs:
13 attributes: "at.conf"
14 this pair defines where the schema stuff is.
15 photo: "ldap-photo.php3";
16 this pair defines which script to use to fetch and convert photos for an entry.
17
18 Also look at the at.conf (where all your schema stuff is). Format of at.conf is like follows:
19 string,Human Readable Representation,VISIBLE
20 So, for example
21 homephone,Home Telephone Number,TRUE
22 will _show_ anyone's home phone if it is present and will display it as "Home Telephone Number". I think the rest is self-explanatory.
23
24 I really couldn't think of anything else to put here (at the moment that is). But please feel free to add whatever else you consider neccessary to understanding how this thing works. Enjoy, and I hope this can be useful to you in some miniscule way.
25
26 Pele
27
28 p.s. do _NOT_ forget to add this to your /etc/httpd/conf/srm.conf (or wherever your put it):
29 DorectoryIndex .... index.php3 ...