[Date Prev][Date Next] [Chronological] [Thread] [Top]

ITS#2807 Followup: Determining openldap version



Full_Name: Luca Scamoni
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/luca-scamoni-031118.patch
Submission from: (NULL) (62.211.169.3)


This trivial patch adds a -V command line switch to print openldap version to
slapd and slurpd. A single V logs the version (in a similar way to other ldap
tools) and proceeds with execution. A VV switch prints the version to stderr and
exits. In servers/slapd/main.c I moved a couple of log statements sitting just
at the begging just after the openlog statement since they looked to me useless
in that position (i.e. they didn't log anything since there was no place to log
to).
This patch is intended as a followup to ITS#2807