From f3b1a68f5f540fa3674c5594ad3ede1568bab6cb Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 4 Apr 2011 14:16:44 +0200 Subject: s3-smbldap: make octet_strings/DATA_BLOBs const. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/include/smbldap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include/smbldap.h') diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h index ed1af0b2d9..7bb9895b38 100644 --- a/source3/include/smbldap.h +++ b/source3/include/smbldap.h @@ -138,13 +138,13 @@ NTSTATUS smbldap_init(TALLOC_CTX *mem_ctx, const char* get_attr_key2string( ATTRIB_MAP_ENTRY table[], int key ); const char** get_attr_list( TALLOC_CTX *mem_ctx, ATTRIB_MAP_ENTRY table[] ); void smbldap_set_mod (LDAPMod *** modlist, int modop, const char *attribute, const char *value); -void smbldap_set_mod_blob(LDAPMod *** modlist, int modop, const char *attribute, DATA_BLOB *newblob); +void smbldap_set_mod_blob(LDAPMod *** modlist, int modop, const char *attribute, const DATA_BLOB *newblob); void smbldap_make_mod(LDAP *ldap_struct, LDAPMessage *existing, LDAPMod ***mods, const char *attribute, const char *newval); void smbldap_make_mod_blob(LDAP *ldap_struct, LDAPMessage *existing, LDAPMod ***mods, - const char *attribute, DATA_BLOB *newblob); + const char *attribute, const DATA_BLOB *newblob); bool smbldap_get_single_attribute (LDAP * ldap_struct, LDAPMessage * entry, const char *attribute, char *value, int max_len); -- cgit