summaryrefslogtreecommitdiffstats
path: root/source3/include/smbldap.h
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-03-11 16:32:19 +0000
committerJim McDonough <jmcd@samba.org>2004-03-11 16:32:19 +0000
commit3d18997afda94504e9db24115aaa56a58086a653 (patch)
treef419fd44f705171d45b4768c4de89207d2a44731 /source3/include/smbldap.h
parenta26e22edfb036ba0ab9e1a8bbe859ba2c1092b12 (diff)
downloadsamba-3d18997afda94504e9db24115aaa56a58086a653.tar.gz
samba-3d18997afda94504e9db24115aaa56a58086a653.tar.xz
samba-3d18997afda94504e9db24115aaa56a58086a653.zip
Get MungedDial actually working with full TS strings in it for pdb_ldap.
I know this isn't pretty, but neither was our assumption that all strings from the directory fit inside a pstring. There was no way this worked before will all versions of usrmgr (for example, the only version of mine that has the TS Confic button). (This used to be commit d275c0e384db08c2a6efc28e52844f676ff71fb6)
Diffstat (limited to 'source3/include/smbldap.h')
-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 9ef66a14ef3..2f71f971d92 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