Fix bug #7154 - mangling method = hash can crash storing a name not containing a '.'
[Samba.git] / libcli / ldap / ldap_ndr.h
blobee1f702c7893524ed9a2172ce9e87f19e5ec76cc
1 #ifndef __LIBCLI_LDAP_LDAP_NDR_H__
2 #define __LIBCLI_LDAP_LDAP_NDR_H__
4 #include "librpc/gen_ndr/ndr_misc.h"
6 char *ldap_encode_ndr_uint32(TALLOC_CTX *mem_ctx, uint32_t value);
7 char *ldap_encode_ndr_dom_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid);
8 char *ldap_encode_ndr_GUID(TALLOC_CTX *mem_ctx, struct GUID *guid);
9 NTSTATUS ldap_decode_ndr_GUID(TALLOC_CTX *mem_ctx, struct ldb_val val, struct GUID *guid);
11 #endif /* __LIBCLI_LDAP_LDAP_NDR_H__ */