1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-24 15:17:06 +03:00
Jelmer Vernooij 615e1c55bf r9751: Remove C version of samba3dump (the EJS version works nicely as well).
Fix a couple of bugs in ldb_map.
(This used to be commit 66df76a63433aea4081eab8b20bf3ba86e0a606d)
2007-10-10 13:34:56 -05:00
..
2007-10-10 13:34:14 -05:00

This directory contains a skeleton backend for ldb backends that allow 
using an LDAP server while mapping the attributes in that schema to 
another schema. This backend will never be used itself but instead have 
other backends based on it (e.g. ldb_samba3 for a Samba3-LDAP-to-samdb 
backend)

Each backend that uses this skeleton has to specify an array of 
struct objectclass_mapping's (see ldb_map.h).

If no mappings are defined for an objectclass, it will be kept as is.

Special mapping routine for dn's (calls rdn mapping routine)
Special mapping routine for rdn's

Keep cache of mapped dn's so we don't have to traverse the tree each time

search
	Simply uses search_bytree
	
search_bytree
	Map all attributes in parse_tree	

add
modify
	Map ldb_message to LDAPMod
	
rename
delete
	Simply map dn