summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb-samba
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:secrets Ensure secrets.ldb uses the same hooks as the rest of SambaAndrew Bartlett2010-06-291-6/+10
| | | | | | | This ensures that, for example, the utf8 functions are the same, the GUID handler is the same and the NOSYNC flag is applied. Andrew Bartlett
* Revert "s4:ldb-samba: fix the build without a system ldb"Stefan Metzmacher2010-06-201-5/+0
| | | | | | | | | | | This reverts commit 44c01a5eb45a0cd5ca3de8be5c4680de75418dce. This caused problems when using a system ldb and as we don't do ABI checks for ldb-samba4 any more, we don't need this change. metze Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* ldb: Change LDBSAMBA back to subsystem, update comments, use differentJelmer Vernooij2010-06-201-5/+9
| | | | ABI file based on whether ldb_ildap is included.
* s4:ldb-samba: fix the build without a system ldbStefan Metzmacher2010-06-201-1/+5
| | | | metze
* ldbsamba: Build as subsystem to prevent infinite recursion issues.Jelmer Vernooij2010-06-181-1/+1
|
* ldb-samba: Don't build pyldbsamba as python module but rather as subsystem, ↵Jelmer Vernooij2010-06-181-1/+1
| | | | so as to not delute /usr/lib.
* s4:ldif_handlers.c - fix warningMatthias Dieter Wallnöfer2010-06-161-3/+4
|
* s4:ldif-handlers Add a custom handler for DNs that knows about deleted valuesAndrew Bartlett2010-06-161-0/+78
| | | | | | | | In Samba we my store a deleted DN for a linked attribute. We must ensure that we can't match on it, or else searches for member= will still reveal it. Andrew Bartlett
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-163-3/+331
| | | | | | | | | This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
* ldb-samba: Add missing dependency on credentials code.Jelmer Vernooij2010-06-151-1/+1
|
* s4:ldif_read_prefixMap - don't cause memory leaks on error conditionsMatthias Dieter Wallnöfer2010-06-121-2/+2
|
* s4:dsdb Allow a binary prefix map to be specified in the LDIFAndrew Bartlett2010-06-121-0/+14
| | | | | | This allows it to be specified in either binary or as a string. Andrew Bartlett
* s4:ldb-samba: handle more GUID attributesStefan Metzmacher2010-05-201-11/+36
| | | | metze
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-9/+6
|
* s4:ldif_handlers tokenGroups are SIDsAndrew Bartlett2010-04-101-0/+1
|
* s4/ldif: Handle Schema:schemaInfo blobsKamen Mazdrashki2010-04-092-0/+21
|
* s4-net: Use new Net() object in net export keytab.Jelmer Vernooij2010-04-081-3/+3
|
* s4-python: Fix compilation of samba._ldb.Jelmer Vernooij2010-04-061-0/+4
|
* s4-python: Move set_session_info to PySambaLdb.Jelmer Vernooij2010-04-061-0/+38
|
* s4-python: Move register_samba_handlers to PySambaLdb.Jelmer Vernooij2010-04-061-7/+43
|
* s4-python: Move ldb_set_utf8_casefold to pyldb-samba.Jelmer Vernooij2010-04-061-1/+18
|
* s4-python: Move set_opaque_integer to pyldb.Jelmer Vernooij2010-04-061-0/+65
|
* Move glue.set_credentials hack to samba.Ldb.Jelmer Vernooij2010-04-061-0/+26
|
* Add C-based Samba-specific subclass of Ldb.Jelmer Vernooij2010-04-062-0/+95
|
* s4-waf: removed the AUTOGENERATED markersAndrew Tridgell2010-04-061-3/+0
| | | | we won't be using the mk -> wscript generator again
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+11
|
* s4:dsdb Change dsdb_get_schema() callers to use new talloc argumentAndrew Bartlett2010-03-161-1/+1
| | | | | | | | This choses an appropriate talloc context to attach the schema too, long enough lived to ensure it does not go away before the operation compleates. Andrew Bartlett
* s4:ldif_handlers - Change "unsigned int" to "uint32_t" which fits better hereMatthias Dieter Wallnöfer2010-03-081-1/+1
|
* s4:ldif_handlers - Use "unsigned int" for counting purposesMatthias Dieter Wallnöfer2010-03-041-4/+4
| | | | | | I changed "uint32_t" to "unsigned int" since the LDB specification prescrives "unsigned (int)" for counter variables (number of attributes, number of values...).
* LDB related spelling fixes.Brad Hards2010-02-221-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4/ldif: Handle Schema:prefixMap blobs in W2K3 and W2K8Kamen Mazdrashki2010-02-011-6/+16
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/ldif: Better control on ldif_write_NDR() errors processingKamen Mazdrashki2010-02-011-6/+21
| | | | | | | Current implementation mask NDR_ errors implicitly. Thus the caller has no opportunity handle such an error. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-ldb: display security descriptors with correct SDL for known SIDsAndrew Tridgell2010-01-101-1/+1
| | | | This makes it much easier to compare SDs
* s4-ldb: added nice ldif display of 64 bit ranges for RIDsAndrew Tridgell2010-01-082-0/+119
|
* s4-dsdb: switched to using RMD_FLAGS instead of DELETED in extended DNsAndrew Tridgell2010-01-021-1/+1
| | | | This allows for more flags in the future
* s4-dsdb: use safe length limiting in string->integer conversionAndrew Tridgell2010-01-021-11/+35
| | | | | The ldap.py test suite could trigger a read past the end of the struct ldb_val buffer
* s4-dsdb: split RMD_USN into RMD_LOCAL_USN and RMD_ORIGINATING_USNAndrew Tridgell2010-01-021-1/+6
| | | | | | | | We need a separate RMD_LOCAL_USN to allow us to tell what attributes need to be sent in a getncchanges request. Thanks to Metze for pointing this out. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: display msDS-OptionalFeatureGUID as a GUIDAndrew Tridgell2009-12-181-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: added new ldb_dn extended components for linked attributesAndrew Tridgell2009-12-141-0/+30
| | | | These will store linked attribute replication meta data
* s4-ldb: use GUID_to_ndr_blob()Andrew Tridgell2009-12-101-4/+2
|
* s4-ldb: simplify ldif handlers using new GUID functionsAndrew Tridgell2009-12-101-8/+9
|
* s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata2009-11-161-0/+1
|
* s4:dsdb Use new dsdb_dn code in LDB modules and Samba4 schemaAndrew Bartlett2009-11-121-0/+12
| | | | | | | | | | This converts the code from using the binary DN code in ldb_dn to using a special Samba-specfic wrapper around ldb_dn. We also use the dsdb_dn code for DN+Binary and DN+String comparisons (changed from treating them as Binary blobs) Andrew Bartlett
* s4:ldb-samba Use new ldb_any_comparison helper function in ldb-sambaAndrew Bartlett2009-11-121-41/+5
|
* lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett2009-11-121-1/+1
| | | | | | | | | | | | Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett
* s4:dsdb - Store SID as string in FDS.Endi S. Dewata2009-11-021-2/+2
|
* s4/drs: Propagate redefinition of drsuapi_DsReplicaOID into code baseKamen Mazdrashki2009-10-161-8/+29
| | | | | | | | | | | | | | The biggest change is that 'oid' field is transmited in binary format. Also the field name is changed to 'binary_oid' so that field format to be clear for callers. After those changes, Samba4 should work the way it works before - i.e. no added value here but we should not fail when partial-oid is part of prefixMap transmited from Win server. Also, thre is a bug in this patch - partial-binary-OIDs are not handled correctly. Partial-binary-OIDs received during replication will be encoded, but not handled correctly.
* ldb: fixed display of replUpToDateVectorAndrew Tridgell2009-10-151-1/+1
|
* Revert "s4:ldb-samba Use temp talloc contexts and talloc_steal avoid leaks."Andrew Tridgell2009-10-021-47/+12
| | | | This reverts commit 38f87f40bfd7892043d49009067ae28431279580.