summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2012-03-10 01:23:08 +0000
committerdlg <dlg@openbsd.org>2012-03-10 01:23:08 +0000
commita95ba66aef70db90279eae42c24b60ba40ef6592 (patch)
treebdca8eb6247fac0e27636267398c43592ca97225
parentRemove some bits leftover from unused backoff code. (diff)
downloadwireguard-openbsd-a95ba66aef70db90279eae42c24b60ba40ef6592.tar.xz
wireguard-openbsd-a95ba66aef70db90279eae42c24b60ba40ef6592.zip
ldap doesnt necessarily do referential checks on the users in a
group, so it is possible for them to list users that dont exist as members. they should just skip such entries instead of fail horribly. diff from jim smith ok aschrijver@
-rw-r--r--usr.sbin/ypldap/ypldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypldap/ypldap.c b/usr.sbin/ypldap/ypldap.c
index e5ae5cd6c0e..27e3d61976e 100644
--- a/usr.sbin/ypldap/ypldap.c
+++ b/usr.sbin/ypldap/ypldap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypldap.c,v 1.10 2011/08/28 11:53:16 aschrijver Exp $ */
+/* $OpenBSD: ypldap.c,v 1.11 2012/03/10 01:23:08 dlg Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -246,7 +246,7 @@ main_create_user_groups(struct env *env)
"users map.\n", ukey.ue_line);
if (bp != NULL)
*(bp-1) = ',';
- return (-1);
+ continue;
}
if (bp != NULL)
*(bp-1) = ',';