diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-03-18 17:24:00 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-09-15 12:05:46 -0400 |
commit | 6c188d847dfcd2778d134d5a0f80ecbce53e7b57 (patch) | |
tree | 45866919cdcc05f8a16e8a7559e4476922062c86 /src/providers/ldap/sdap.h | |
parent | 95126debf6fc78d63ab29dbae19993ef4992e123 (diff) | |
download | sssd-6c188d847dfcd2778d134d5a0f80ecbce53e7b57.tar.gz sssd-6c188d847dfcd2778d134d5a0f80ecbce53e7b57.tar.xz sssd-6c188d847dfcd2778d134d5a0f80ecbce53e7b57.zip |
Check if control is supported before using it.
Diffstat (limited to 'src/providers/ldap/sdap.h')
-rw-r--r-- | src/providers/ldap/sdap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h index c533f3b9c..4426dac93 100644 --- a/src/providers/ldap/sdap.h +++ b/src/providers/ldap/sdap.h @@ -297,4 +297,7 @@ bool sdap_check_sup_list(struct sup_list *l, const char *val); int build_attrs_from_map(TALLOC_CTX *memctx, struct sdap_attr_map *map, size_t size, const char ***_attrs); + +int sdap_control_create(struct sdap_handle *sh, const char *oid, int iscritical, + struct berval *value, int dupval, LDAPControl **ctrlp); #endif /* _SDAP_H_ */ |