diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-09-17 11:15:28 +1000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-20 15:06:30 -0700 |
commit | ccbcffadb6e3b8dc6951e7d80e65a06eb5df61de (patch) | |
tree | a548a90ccdf98233076e3dcb904c8a15c1d35ec9 /libcli | |
parent | 4752a6b6d7767a62f322ee3d8e3a412e7699fcea (diff) | |
download | samba-ccbcffadb6e3b8dc6951e7d80e65a06eb5df61de.tar.gz |
libcli/ldap Add const to ldap_encode_ndr_dom_sid()
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/ldap/ldap_ndr.c | 2 | ||||
-rw-r--r-- | libcli/ldap/ldap_ndr.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcli/ldap/ldap_ndr.c b/libcli/ldap/ldap_ndr.c index 3b40fbba25d..6daaba36043 100644 --- a/libcli/ldap/ldap_ndr.c +++ b/libcli/ldap/ldap_ndr.c @@ -65,7 +65,7 @@ char *ldap_encode_ndr_dom_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid) /* encode a NDR GUID as a ldap filter element */ -char *ldap_encode_ndr_GUID(TALLOC_CTX *mem_ctx, struct GUID *guid) +char *ldap_encode_ndr_GUID(TALLOC_CTX *mem_ctx, const struct GUID *guid) { DATA_BLOB blob; NTSTATUS status; diff --git a/libcli/ldap/ldap_ndr.h b/libcli/ldap/ldap_ndr.h index ee1f702c789..df5ee478cb9 100644 --- a/libcli/ldap/ldap_ndr.h +++ b/libcli/ldap/ldap_ndr.h @@ -5,7 +5,7 @@ char *ldap_encode_ndr_uint32(TALLOC_CTX *mem_ctx, uint32_t value); char *ldap_encode_ndr_dom_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid); -char *ldap_encode_ndr_GUID(TALLOC_CTX *mem_ctx, struct GUID *guid); +char *ldap_encode_ndr_GUID(TALLOC_CTX *mem_ctx, const struct GUID *guid); NTSTATUS ldap_decode_ndr_GUID(TALLOC_CTX *mem_ctx, struct ldb_val val, struct GUID *guid); #endif /* __LIBCLI_LDAP_LDAP_NDR_H__ */ |