From 63986103a68caf5cb83e39a817800ed03e4eb9c9 Mon Sep 17 00:00:00 2001 From: Martin Hedenfal Date: Sat, 5 Jun 2010 17:29:15 +0000 Subject: Install a default ldapd.conf, and standard schema files in /etc/ldap. ok deraadt@ --- usr.sbin/ldapd/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'usr.sbin') diff --git a/usr.sbin/ldapd/Makefile b/usr.sbin/ldapd/Makefile index 8dc73af5278..519c6648ded 100644 --- a/usr.sbin/ldapd/Makefile +++ b/usr.sbin/ldapd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2010/05/31 17:47:12 martinh Exp $ +# $OpenBSD: Makefile,v 1.3 2010/06/05 17:29:14 martinh Exp $ PROG= ldapd MAN= ldapd.8 ldapd.conf.5 @@ -17,5 +17,14 @@ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual CFLAGS+= -Wsign-compare CLEANFILES+= y.tab.h parse.c +SCHEMA_FILES= core.schema \ + inetorgperson.schema \ + nis.schema + +distribution: + for i in ${SCHEMA_FILES}; do \ + ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/schema/$$i ${DESTDIR}/etc/ldap/; \ + done + .include -- cgit v1.2.3