summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-10-29 23:36:14 +0100
committerGünther Deschner <gd@samba.org>2011-04-06 11:53:56 +0200
commitc4974eec01d32f2c777aa3fca02210bb6c255d79 (patch)
tree727d6caa45720ea81187350b64b70951cfa08fec /source3/include
parentdb76adc308217e92ada425703cbdbfce289d009b (diff)
downloadsamba-c4974eec01d32f2c777aa3fca02210bb6c255d79.tar.gz
samba-c4974eec01d32f2c777aa3fca02210bb6c255d79.tar.bz2
samba-c4974eec01d32f2c777aa3fca02210bb6c255d79.zip
s3-smbldap: support storing octet_strings/DATA_BLOBs.
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smbldap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index 5be9a92bf6..ed1af0b2d9 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -138,9 +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_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);
bool smbldap_get_single_attribute (LDAP * ldap_struct, LDAPMessage * entry,
const char *attribute, char *value,
int max_len);