summaryrefslogtreecommitdiff
path: root/usr.sbin/ypldap
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2012-03-10 01:23:09 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2012-03-10 01:23:09 +0000
commitb379a7cafedd0ac7b6d970219ab48a3a32e18feb (patch)
tree47c75c7d992678c59c567f7169bb6f18c86d6514 /usr.sbin/ypldap
parentfa6a7c7a7aa6aecf8c5e2519410e66a67bcd66a9 (diff)
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@
Diffstat (limited to 'usr.sbin/ypldap')
-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) = ',';