summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2012-03-02 07:13:49 +0000
committerajacoutot <ajacoutot@openbsd.org>2012-03-02 07:13:49 +0000
commita77fc5e05a3b90960b875af478f954c885a24141 (patch)
tree172ef8fbab0e79fd213428f735a4027c9029fcbc
parentCFLAGS+= -Wall -Werror and the resulting cleanup (diff)
downloadwireguard-openbsd-a77fc5e05a3b90960b875af478f954c885a24141.tar.xz
wireguard-openbsd-a77fc5e05a3b90960b875af478f954c885a24141.zip
Don't include ou=People in the basedn. ypldap(8) has had netid support
for a while now and groups are usually stored outside of People. ok sthen@
-rw-r--r--etc/ypldap.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/ypldap.conf b/etc/ypldap.conf
index a2c8c74d94a..36f3e97f226 100644
--- a/etc/ypldap.conf
+++ b/etc/ypldap.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: ypldap.conf,v 1.2 2011/08/28 11:53:16 aschrijver Exp $
+# $OpenBSD: ypldap.conf,v 1.3 2012/03/02 07:13:49 ajacoutot Exp $
domain "example.com"
interval 60
@@ -12,7 +12,7 @@ directory "127.0.0.1" {
# directory options
binddn "cn=admin,dc=example,dc=com"
bindcred "secret"
- basedn "ou=People,dc=example,dc=com"
+ basedn "dc=example,dc=com"
# passwd maps configuration (RFC 2307 posixAccount object class)
passwd filter "(objectClass=posixAccount)"