summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-03-11 18:10:08 +0000
committerJim McDonough <jmcd@samba.org>2004-03-11 18:10:08 +0000
commit77b180d401b1f431dd550a8498b83bdb24cd7325 (patch)
tree01bf5a600170ce78619bad131b481e6472b8c2d9 /source3/include
parent686fcfa61e5e7f0bc6adaa6dc0af2a269c5592a8 (diff)
downloadsamba-77b180d401b1f431dd550a8498b83bdb24cd7325.tar.gz
samba-77b180d401b1f431dd550a8498b83bdb24cd7325.tar.bz2
samba-77b180d401b1f431dd550a8498b83bdb24cd7325.zip
Merge from 3.0. Fix munged dial in pdb_ldap
(This used to be commit 46544e957f00f71e3a49e3d90cd88b4cf1b33408)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smbldap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index 9ef66a14ef..2f71f971d9 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -120,7 +120,10 @@ void smbldap_make_mod(LDAP *ldap_struct, LDAPMessage *existing,
LDAPMod ***mods,
const char *attribute, const char *newval);
BOOL smbldap_get_single_attribute (LDAP * ldap_struct, LDAPMessage * entry,
- const char *attribute, pstring value);
+ const char *attribute, char *value,
+ int max_len);
+BOOL smbldap_get_single_pstring (LDAP * ldap_struct, LDAPMessage * entry,
+ const char *attribute, pstring value);
/**
* Struct to keep the state for all the ldap stuff