summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba
AgeCommit message (Collapse)AuthorFilesLines
2009-10-02Revert "s4:ldb-samba Use temp talloc contexts and talloc_steal avoid leaks."Andrew Tridgell1-47/+12
This reverts commit 38f87f40bfd7892043d49009067ae28431279580.
2009-10-02s4:ldb-samba Use temp talloc contexts and talloc_steal avoid leaks.Andrew Bartlett1-12/+47
We would use the mem_ctx for internal work, but previously we did not clean it up on exit. Andrew Bartlett
2009-09-23s4:ldif_handlers Fix memory leak in objectCategory LDIF handlerAndrew Bartlett1-0/+1
2009-09-19s4-ldb: display an error if we can't decode a NDR blobAndrew Tridgell1-1/+3
2009-09-08s4/ldb: support NDR printing for 2 more replication typesAndrew Tridgell2-0/+40
print replUpToDateVector and replPropertyMetaData using NDR format if --show-binary is given.
2009-09-08s4/ldb: allow prefixMap to be shown as NDRAndrew Tridgell1-0/+8
2009-09-08s4/ldb: allow printing ntSecurityDescriptor in fullAndrew Tridgell1-33/+39
print security descriptors in NDR format if --show-binary is given. This is easier to read than sddl format.
2009-09-08s4/ldb: added ldif handler for repsFrom/repsToAndrew Tridgell2-2/+57
In normal usage this makes no difference, but if you add --show-binary then you can see the NDR printed out in the usual ndr_print_*() format
2009-08-17s4: Make the int32 problem more clear - and fix another errorMatthias Dieter Wallnöfer1-0/+4
2009-08-17s4: Fixed the int32 datatype supportMatthias Dieter Wallnöfer1-3/+3
Should finally fix bug #6136 ("groupType", "sAMAccountType" ... attributes).
2009-08-04Add constAndrew Bartlett1-1/+1
2009-08-04s4:ldif_handlers Allow a binary nTsecurityDescriptor when parsing LDIFAndrew Bartlett1-1/+17
Also allow a SDDL security descriptor, using the domain SID attached to the session (it will search for it during the LDIF parse if need be). Andrew Bartlett
2009-06-30s4: dsdb Avoid using the internal ldb_private.h headerAndrew Bartlett1-1/+2
This job is not complete (the partition module remains a unfinished task), but now we do use the private ldb headers much less. Andrew Bartlett
2009-06-19Correct handling of 32-bit integer attributes in SAMBA 4Matthias Dieter Wallnöfer2-28/+60
- LDB handles now all 32-bit integer attributes correctly (also with overflows) according to the schema - LDAP backends handle the attributes "groupType", "userAccountControl" and "sAMAccountType" correctly. This handling doesn't yet use the schema but the conversion file "simple_ldap.map.c" which contains them hardcoded. Did also a refactoring of the conversion function there. - Bug #6136 should be gone
2009-06-18Fix build with system LDB.Jelmer Vernooij1-1/+1
2009-04-02major upgrade to the ldb attribute handlingAndrew Tridgell1-0/+14
This is all working towards supporting the full WSPP schema without a major performance penalty. We now use binary searches when looking up classes and attributes. We also avoid the loop loading the attributes into ldb, by adding a hook to override the ldb attribute search function in a module. The attributes can thus be loaded once, and then saved as part of the global schema. Also added support for a few more key attribute syntaxes, as needed for the full schema.
2009-02-02s4:ldif_handlers: s/class/sclassStefan Metzmacher1-4/+4
metze
2009-01-30Explicitly include ldb_handlers.h where necessarySimo Sorce1-0/+1
2009-01-30Fix the mess with ldb includes.Simo Sorce1-1/+1
Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
2008-12-17s4:ldb-samba: register samba specific extended dn handlersAndrew Bartlett1-51/+138
This provides the two extended DN handlers for the GUID and SID types, and makes the parsing more strict (where possible, it uses ndr_pull_struct_blob_all(), to cause an error if trailing data is found). Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-11-16s4:librpc/ndr: integrate NDR_MISC into LIBNDRStefan Metzmacher1-1/+1
metze
2008-08-22fixed the GUID and objectSID canonicalisation functionsAndrew Tridgell1-1/+3
(This used to be commit 115053ea7e70b067e7873668ed83f1f10908287d)
2008-08-21Don't walk past the end of ldb values.Andrew Bartlett1-5/+10
This is a partial fix towards bugs due to us walking past the end of what we think are strings in ldb. There is much more work to do in this area. Andrew Bartlett (This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)
2008-08-21Handle error cases in attribute handlers better.Andrew Bartlett1-8/+18
We don't need to just bail, for all these error cases there is still real result that can be made - just fall back to binary copy/compare. Andrew Bartlett (This used to be commit 6aa5dde2aa9a5f070871ecc117e44bfcad363459)
2008-08-21Don't hardcode attributes to be treated as a DNAndrew Bartlett1-14/+1
This is now handled by reading the schema into the attributes. Also, when we do set something here, mark it as FIXED, so the schema and any reload from @ATTRIBUTES won't touch it. Andrew Bartlett (This used to be commit 7b24701335398ece3d1b3a20cf5f1174500b16ce)
2008-08-18Note the ldb syntax for attribute syntaxes in the table.Andrew Bartlett3-10/+30
This includes additional Samba-specific syntaxes made available from the ldif_handlers code. This commit also changes some table to use #defines, to ensure consistancy in other parts of the code. Andrew Bartlett (This used to be commit e26a5efd9a580ed3728e1f449e367b1cd4a73b5f)
2008-06-20Depend on NDR_DRSBLOBS explicity.Andrew Bartlett1-1/+1
Something else ensures this links correctly (for the moment) but for the long-term let's declare our depenency (for the prefixMap stuff) here. Andrew Bartlett (This used to be commit 5fcb39594b07c7b7a11985711a912b7a4d629ae7)
2008-05-29Remove extra spaces on prefixMap input and output.Andrew Bartlett1-1/+1
Metze requested that the format not include spaces, and the input parser already expects this. Andrew Bartlett (This used to be commit 3b1f5d10360ed1b26980d748a7c9be6db5977bd3)
2008-05-29Finish the LDIF parsers for the prefixMap attribute.Andrew Bartlett1-12/+33
Andrew Bartlett (This used to be commit a6f59b1c7a81c7be4e9f83786fc4e1f454e6df0f)
2008-05-29Print prefixMap in a human-readable format.Andrew Bartlett1-0/+177
This should allow the prefixMap to be edited, until we find the right way to autogenerate it. Andrew Bartlett (This used to be commit 24ae9a55ec326807afd8d5bfa0a422a6668bd7c3)
2008-05-18Fix a bunch of dependencies.Jelmer Vernooij1-1/+1
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-1/+1
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-1/+1
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in remaining subsystems.Jelmer Vernooij1-1/+1
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
2008-03-03Move object file lists to the Makefile.Jelmer Vernooij1-2/+1
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-3/+3
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij1-3/+3
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-21r26483: Merge ldb module dependency fixes, fix auth python module.Jelmer Vernooij1-1/+1
(This used to be commit 85eeecf997a071ca7e7ad0247e8d34d49b7ffcbb)
2007-12-21r26462: Tighten dependencies.Jelmer Vernooij1-1/+1
(This used to be commit 020f2f7426c2850fffc272f53065fa7305dd0313)
2007-12-21r26338: Fix parameter, typo.Jelmer Vernooij1-3/+2
(This used to be commit 2a005096dd41f66fd99577d6ca7eb3e0f1cb30f2)
2007-12-21r26129: Specify path explicitly in case an external ldb installation is used.Jelmer Vernooij1-2/+1
(This used to be commit b86a6105ed27779c700f03175768978654081598)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-23/+25
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-10-10r25548: Convert to standard bool type.Jelmer Vernooij1-5/+5
(This used to be commit 190d73b44b9b9c6dabbd26212d596d985b25edab)
2007-10-10r25518: Convert to standard bool types.Jelmer Vernooij1-4/+4
(This used to be commit e5cabe14c7c33c4c7215963f504edf65edc36b20)
2007-10-10r25084: Move samba-specific code out of lib/ldb directory.Jelmer Vernooij3-0/+493
(This used to be commit 917bd737cb07817664d9088860588d47525f5ff8)