summaryrefslogtreecommitdiff
path: root/source3/include/smbldap.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-03-18 15:29:02 +1100
committerGünther Deschner <gd@samba.org>2009-04-06 14:52:51 +0200
commit9512640155f3f249e4fd5ad076375592cbd65fc6 (patch)
treeee0e31db1f5d134bdfd8d54001e0a643816a8920 /source3/include/smbldap.h
parenta2d5fe4a0501058aa2b20f4571e382fd629e446b (diff)
downloadsamba-9512640155f3f249e4fd5ad076375592cbd65fc6.tar.gz
samba-9512640155f3f249e4fd5ad076375592cbd65fc6.tar.bz2
samba-9512640155f3f249e4fd5ad076375592cbd65fc6.zip
s3:smbldap Remove smbldap_get_dn
This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include/smbldap.h')
-rw-r--r--source3/include/smbldap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index a2cb8c5eea..353e01aba6 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -141,7 +141,6 @@ void smbldap_make_mod(LDAP *ldap_struct, LDAPMessage *existing,
bool smbldap_get_single_attribute (LDAP * ldap_struct, LDAPMessage * entry,
const char *attribute, char *value,
int max_len);
-char *smbldap_get_dn(LDAP *ld, LDAPMessage *entry);
int smbldap_modify(struct smbldap_state *ldap_state,
const char *dn,
LDAPMod *attrs[]);
@@ -214,7 +213,7 @@ char * smbldap_talloc_single_attribute(LDAP *ldap_struct, LDAPMessage *entry,
TALLOC_CTX *mem_ctx);
void talloc_autofree_ldapmsg(TALLOC_CTX *mem_ctx, LDAPMessage *result);
void talloc_autofree_ldapmod(TALLOC_CTX *mem_ctx, LDAPMod **mod);
-const char *smbldap_talloc_dn(TALLOC_CTX *mem_ctx, LDAP *ld,
+char *smbldap_talloc_dn(TALLOC_CTX *mem_ctx, LDAP *ld,
LDAPMessage *entry);