s3: libgpo: Allow skipping GPO objects that don't have the expected LDAP attributes.
commitcecab32b602fbdb75896e3aef78f11c23ee7a591
authorJeremy Allison <jra@samba.org>
Wed, 15 Mar 2017 20:52:05 +0000 (15 13:52 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 27 Mar 2017 13:50:32 +0000 (27 15:50 +0200)
tree6a1540edf9fa7e6d9f7e27360ae95cc671efccb6
parent8e8ebe544730d76e9d15ff9512d514c854b51d29
s3: libgpo: Allow skipping GPO objects that don't have the expected LDAP attributes.

We expect the following attributes to be present in an LDAP GPO object:

displayName
flags
gPCFileSysPath
name
ntSecurityDescriptor
versionNumber

and fail if a result is returned without them. Change this
to skip results that don't contain these attributes instead.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12695

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 24622bab3a6f1e959c79dc9fc1850e9e64b15adc)

Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Mon Mar 27 15:50:32 CEST 2017 on sn-devel-144
libgpo/gpo_ldap.c