This is the LDAP finger daemon README file.

If you actually want to run this at your site, as opposed to just seeing
how the ldap calls work, you should edit main.c and do the following:

- In main.c you may have to change the following #defines:

	DAPUSER - The DN the finger daemon will bind to the
		directory as.  NULL works here.

	DEFAULT_BASE - The DN of the base object at which to
		start the search (typically the DN of your org).

	DEFAULT_FILTERCONF - The file containing the filter configuration
		information.  Normally this is $(ETCDIR)/ldapfilter.conf.
		It can be overridden by the -f option.

	REPORT_ERRORS_TO - If some error occurs, this string
		will be printed as who to contact.

	NOMATCH_MESSAGE - This message is printed when the search
		finds no matches.

	NOEMAIL_MESSAGE - This message is printed if a user does
		not have an email address.

	DEFAULT_LDAPHOST - If your ldap server is running
		somewhere other than the localhost, you'll
		need to change this.

	DEFAULT_SIZELIMIT - The default default is 50.  If you
		want something else, change it here.

The program is meant to run out of inetd, so you'll need to edit the
file /etc/inetd.conf to point the finger service at wherever you install
in.xfingerd.  For example:

finger stream tcp nowait nobody /usr/local/etc/in.xfingerd in.xfingerd

