summaryrefslogtreecommitdiff
path: root/libcli/ldap/ldap_ndr.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-17 11:15:28 +1000
committerGünther Deschner <gd@samba.org>2010-09-20 15:06:30 -0700
commitccbcffadb6e3b8dc6951e7d80e65a06eb5df61de (patch)
treea548a90ccdf98233076e3dcb904c8a15c1d35ec9 /libcli/ldap/ldap_ndr.c
parent4752a6b6d7767a62f322ee3d8e3a412e7699fcea (diff)
downloadsamba-ccbcffadb6e3b8dc6951e7d80e65a06eb5df61de.tar.gz
samba-ccbcffadb6e3b8dc6951e7d80e65a06eb5df61de.tar.bz2
samba-ccbcffadb6e3b8dc6951e7d80e65a06eb5df61de.zip
libcli/ldap Add const to ldap_encode_ndr_dom_sid()
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libcli/ldap/ldap_ndr.c')
-rw-r--r--libcli/ldap/ldap_ndr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/ldap/ldap_ndr.c b/libcli/ldap/ldap_ndr.c
index 3b40fbba25..6daaba3604 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;