version of slapd?

Julian Fagir gnrp at gnrp.in-berlin.de
Thu Nov 4 22:46:27 UTC 2010


Hi,

> [root at LBSD2:/usr/home/bluethundr]#/usr/local/etc/rc.d/slapd -V
> /usr/local/etc/rc.d/slapd: unknown directive '-V'.
> Usage: /usr/local/etc/rc.d/slapd
> [fast|force|one](start|stop|restart|rcvar|status|poll)
> [root at LBSD2:/usr/home/bluethundr]#su - root
> Password:
> Last login: Thu Nov  4 18:44:15 on pts/0
> LBSD2# slapd -V
> slapd: Command not found.

slapd is located in libexec of your local directory, i.e. 
/usr/local/libexec/slapd
which is usually not in your PATH.
The rc.d-script is just the startfile, not the executable itself.

Alternatively, you can look at the version of your installed package, e.g.
pkg_info | grep openldap


Regards, Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20101104/3d8d9eed/signature.pgp


More information about the freebsd-questions mailing list