s3: libgpo: Allow skipping GPO objects that don't have the expected LDAP attributes.
authorJeremy Allison <jra@samba.org>
Wed, 15 Mar 2017 20:52:05 +0000 (13:52 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 16 Mar 2017 19:30:19 +0000 (20:30 +0100)
commit24622bab3a6f1e959c79dc9fc1850e9e64b15adc
treef27c7ddd867d40534fb72077e12eb2cdff6351c6
parent59229276bcf5e2b7fa0ddf3ceb6fd3adccc01f9a
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>
libgpo/gpo_ldap.c