summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba/ldif_handlers.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-21s4:lib/ldb-samba/ldif_handlers.c - adaption needed for removed "const" on OIDsMatthias Dieter Wallnöfer1-1/+1
2010-12-08s4-ldb: ensure ldb_register_samba_handlers() is not done twiceAndrew Tridgell1-2/+10
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-16s4-ldif_handlers Add handler for printing supplementalCredentialsAndrew Bartlett1-0/+23
2010-10-16s4:ldif_handlers.c - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-10-13s4-ldb: implement an operator_fn for the ldb-samba syntaxesAndrew Tridgell1-14/+94
this allows us to properly handle the LDB_OP_PRESENT operator on deleted linked attributes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-10ldb-samba: Add convenience function for doing a Samba-style LDB init.Jelmer Vernooij1-1/+1
2010-10-10samdb: Handle schema setup in samdb, not in more generic ldbsamba.Jelmer Vernooij1-1/+0
2010-10-02s4-ldif: get rid of the ndr_pull_error message on startupAndrew Tridgell1-10/+15
detect if the prefixmap blob is text or binary using the first 4 bytes
2010-09-11s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP ↵Matthias Dieter Wallnöfer1-1/+1
results
2010-08-05s4-ldb: added ldif handler for the dnsRecord attributeAndrew Tridgell1-1/+23
2010-06-16s4:ldif_handlers.c - fix warningMatthias Dieter Wallnöfer1-3/+4
2010-06-16s4:ldif-handlers Add a custom handler for DNs that knows about deleted valuesAndrew Bartlett1-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
2010-06-12s4:ldif_read_prefixMap - don't cause memory leaks on error conditionsMatthias Dieter Wallnöfer1-2/+2
2010-06-12s4:dsdb Allow a binary prefix map to be specified in the LDIFAndrew Bartlett1-0/+14
This allows it to be specified in either binary or as a string. Andrew Bartlett
2010-05-20s4:ldb-samba: handle more GUID attributesStefan Metzmacher1-11/+36
metze
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-9/+6
2010-04-10s4:ldif_handlers tokenGroups are SIDsAndrew Bartlett1-0/+1
2010-04-09s4/ldif: Handle Schema:schemaInfo blobsKamen Mazdrashki1-0/+20
2010-03-16s4:dsdb Change dsdb_get_schema() callers to use new talloc argumentAndrew Bartlett1-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
2010-03-08s4:ldif_handlers - Change "unsigned int" to "uint32_t" which fits better hereMatthias Dieter Wallnöfer1-1/+1
2010-03-04s4:ldif_handlers - Use "unsigned int" for counting purposesMatthias Dieter Wallnöfer1-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...).
2010-02-22LDB related spelling fixes.Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-01s4/ldif: Handle Schema:prefixMap blobs in W2K3 and W2K8Kamen Mazdrashki1-6/+16
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01s4/ldif: Better control on ldif_write_NDR() errors processingKamen Mazdrashki1-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>
2010-01-10s4-ldb: display security descriptors with correct SDL for known SIDsAndrew Tridgell1-1/+1
This makes it much easier to compare SDs
2010-01-08s4-ldb: added nice ldif display of 64 bit ranges for RIDsAndrew Tridgell1-0/+118
2010-01-02s4-dsdb: switched to using RMD_FLAGS instead of DELETED in extended DNsAndrew Tridgell1-1/+1
This allows for more flags in the future
2010-01-02s4-dsdb: use safe length limiting in string->integer conversionAndrew Tridgell1-11/+35
The ldap.py test suite could trigger a read past the end of the struct ldb_val buffer
2010-01-02s4-dsdb: split RMD_USN into RMD_LOCAL_USN and RMD_ORIGINATING_USNAndrew Tridgell1-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>
2009-12-18s4-ldb: display msDS-OptionalFeatureGUID as a GUIDAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2009-12-14s4-ldb: added new ldb_dn extended components for linked attributesAndrew Tridgell1-0/+30
These will store linked attribute replication meta data
2009-12-10s4-ldb: use GUID_to_ndr_blob()Andrew Tridgell1-4/+2
2009-12-10s4-ldb: simplify ldif handlers using new GUID functionsAndrew Tridgell1-8/+9
2009-11-16s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata1-0/+1
2009-11-12s4:dsdb Use new dsdb_dn code in LDB modules and Samba4 schemaAndrew Bartlett1-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
2009-11-12s4:ldb-samba Use new ldb_any_comparison helper function in ldb-sambaAndrew Bartlett1-41/+5
2009-11-12lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett1-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
2009-11-02s4:dsdb - Store SID as string in FDS.Endi S. Dewata1-2/+2
2009-10-16s4/drs: Propagate redefinition of drsuapi_DsReplicaOID into code baseKamen Mazdrashki1-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.
2009-10-15ldb: fixed display of replUpToDateVectorAndrew Tridgell1-1/+1
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 Tridgell1-0/+38
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 Tridgell1-2/+56
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).