diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2012-03-10 01:23:09 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2012-03-10 01:23:09 +0000 |
commit | b379a7cafedd0ac7b6d970219ab48a3a32e18feb (patch) | |
tree | 47c75c7d992678c59c567f7169bb6f18c86d6514 /usr.sbin/ypldap | |
parent | fa6a7c7a7aa6aecf8c5e2519410e66a67bcd66a9 (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.c | 4 |
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) = ','; |