r7596: next step in ldap cleanup. I'm aiming to get rid of the cut&pasted
authorAndrew Tridgell <tridge@samba.org>
Wed, 15 Jun 2005 01:02:53 +0000 (01:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:18:12 +0000 (13:18 -0500)
commit87fc3073392236221a3a6b933284e9e477c24ae5
treeaf17b93353f6de995ae6a063c8120b009bcf591a
parent6123eb2ecad6f53521b546f76954523fbc0fb981
r7596: next step in ldap cleanup. I'm aiming to get rid of the cut&pasted
ldif parsing code in libcli/ldap/ldap_ldif.c, and instead use the ldb
ldif code. To do that I have changed the ldap code to use 'struct
ldb_message_element' instead of 'struct ldap_attribute'. They are
essentially the same structure anyway, so by making them really the
same it will be much easier to use the ldb code in libcli/ldap/

I have also made 'struct ldb_val' the same as a DATA_BLOB, which will
simplify data handling in quite a few places (I haven't yet removed
all the code that maps between these two, that will come later)
source/include/smb.h
source/ldap_server/ldap_hacked_ldb.c
source/ldap_server/ldap_rootdse.c
source/ldap_server/ldap_simple_ldb.c
source/lib/ldb/include/ldb.h
source/libcli/cldap/cldap.c
source/libcli/ldap/ldap.c
source/libcli/ldap/ldap.h
source/libcli/ldap/ldap_ldif.c