diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-06-21 00:45:03 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-06-21 00:45:03 +0000 |
commit | f93167a7e1c56157481a934d2225fe19786a3bff (patch) | |
tree | 9949095e005c09114be511c8b8eeb2b7b8680475 /source/lib/smbldap.c | |
parent | fa8ca20ed440673d02ac5669f8d4c6623c1fdb6d (diff) | |
download | samba-f93167a7e1c56157481a934d2225fe19786a3bff.tar.gz samba-f93167a7e1c56157481a934d2225fe19786a3bff.tar.xz samba-f93167a7e1c56157481a934d2225fe19786a3bff.zip |
This patch works towards to goal of common code shared between idmap_ldap
and pdb_ldap.
So far, it's just a function rename, so that the next patch can be a very
simple matter of copying functions, without worrying about what changed
in the process.
Also removes the 'static' pointers for the rebind procedures, replacing them
with a linked list of value/key lookups. (Only needed on older LDAP client
libs)
Andrew Bartlett
Diffstat (limited to 'source/lib/smbldap.c')
-rw-r--r-- | source/lib/smbldap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c index bb37222d5af..b6271344463 100644 --- a/source/lib/smbldap.c +++ b/source/lib/smbldap.c @@ -262,7 +262,7 @@ BOOL fetch_ldap_pw(char **dn, char** pw) manage memory used by the array, by each struct, and values ***********************************************************************/ -void ldap_set_mod (LDAPMod *** modlist, int modop, const char *attribute, const char *value) +void smbldap_set_mod (LDAPMod *** modlist, int modop, const char *attribute, const char *value) { LDAPMod **mods; int i; @@ -344,3 +344,4 @@ void ldap_set_mod (LDAPMod *** modlist, int modop, const char *attribute, const *modlist = mods; } + |