summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_dn.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8146: fix compiler warningStefan Metzmacher1-7/+5
metze (This used to be commit 5fcaa21d67e399aab4af15f4f6f919203c1152e5)
2007-10-10r8084: do not leak memory on errorsSimo Sorce1-1/+1
(This used to be commit 2e328e6c2fc2c66b0d0de910cd43ab232049bc90)
2007-10-10r8083: check attribute type is valid (only ascii alphanum chars and '-' char)Simo Sorce1-0/+19
fail if not (This used to be commit b1a61cd5d03b4c61b81c810123ffeb3621831617)
2007-10-10r8082: large rewite of ldb_dn.cSimo Sorce1-235/+175
- we do not support multpiple attribute components anymore, makes code a lot easier they will be readded later if we found out they are really used, so far my tests show w2k3 do not handle them as well - fix escaping issues, move component value to be in an ldb_val structure still need to handle binary values case - make cononicalize functions leak less memory by giving a specific memory context - fix tests scripts so that test-ldap can start - make test not delete databases on completion so that I can inspect them (This used to be commit 624a73148d125690ce18515f19231d26df207738)
2007-10-10r8037: a fairly major update to the internals of ldb. Changes are:Andrew Tridgell1-51/+81
- moved the knowledge of attribute types out of ldb_tdb and into the generic ldb code. This allows the ldb_match() message match logic to be generic, so it can be used by other backend - added the generic ability to load attribute handlers, for canonicalisation, compare, ldif read and ldif write. In the future this will be used by the schema module to allow us to correctly obey the attributetype schema elements - added attribute handlers for some of the core ldap attribute types, Integer, DirectoryString, DN, ObjectClass etc - added automatic registration of attribute handlers for well-known attribute names 'cn', 'dc', 'dn', 'ou' and 'objectClass' - converted the objectSid special handlers for Samba to the new system - added more correct handling of indexing in tdb backend based on the attribute canonicalisation function - added generic support for subclasses, moving it out of the tdb backend. This will be used in future by the schema module - fixed several bugs in the dn_explode code. It still needs more work, but doesn't corrupt ldb dbs any more. (This used to be commit 944c5844ab441b96d8e5d7b2d151982139d1fab9)
2007-10-10r7937: main file was missingSimo Sorce1-0/+471
(This used to be commit 3898cdb0dc4722a7eb60a61b54ef778dab475aed)