Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-26 | s4:ldb_dn: remove dn->ext_linearized when ext_components is modified. | Stefan Metzmacher | 1 | -3/+4 | |
metze | |||||
2010-02-26 | s4:ldb_dn: reset dn->ext_comp_num in ldb_dn_explode() | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-02-25 | s4:ldb Fix segfault in ldbsearch store_referral callback | Andrew Bartlett | 1 | -6/+1 | |
sctx->refs_store was not initialised, and that made talloc_realloc grumpy once we started actually returning referrals regularly from Samba4's partitions module (0be57c747825737fa9d64411223e693b055b5f8f by mdw). We now just use talloc_zero() and forget about this manual initialisation work. Tracking down use of uninitialised variables with valgrind was the grand idea when this started, but in practice we just get segfaults in unusual places. Andrew Bartlett | |||||
2010-02-22 | ldb:web Fix typo | Simo Sorce | 1 | -1/+1 | |
2010-02-22 | s4:registry/regf.c - specify the context when freeing the "regf" variable | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Otherwise we get a "talloc_free with references" warning. | |||||
2010-02-22 | Spelling fixes for source4/lib/registry. | Brad Hards | 4 | -8/+8 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-22 | Typo fix. | Brad Hards | 1 | -1/+1 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-22 | LDB related spelling fixes. | Brad Hards | 11 | -11/+11 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-17 | s4/ldap: Refactor the fix for ldap nested searches | Kamen Mazdrashki | 1 | -9/+15 | |
Current implementation synchronizes processing for all types of LDAP request, not only LDAP_Search ones. Synchronization for ldap replies processing is done locally in ldb_ildap module as this concerns only ildb_callback() function. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2010-02-15 | s4-ldb: fixed permissions on urgent_replication.py | Andrew Tridgell | 1 | -0/+0 | |
2010-02-15 | s4-test: minor fixes to urgent_replication.py | Andrew Tridgell | 1 | -27/+4 | |
- fix usage name - remove unnecessary python functions - remote unused gc ldb | |||||
2010-02-15 | s4-drs: Test situations for Urgent Replication | Fernando J V da Silva | 1 | -0/+414 | |
Checks if the partition's uSNUrgent is updated or not, depending on the class of the object which is created, modified or deleted. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-02-14 | s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb code | Andrew Tridgell | 5 | -11/+20 | |
2010-02-13 | s4:popt_common.c - fix intendation | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-02-13 | s4: use LDB_TYPESAFE_QSORT() instead of ldb_qsort() | Andrew Tridgell | 2 | -5/+2 | |
2010-02-13 | s4-ldb: added LDB_TYPESAFE_QSORT() | Andrew Tridgell | 1 | -0/+18 | |
Like TYPESAFE_QSORT() but for the ldb_qsort() function | |||||
2010-02-13 | s4-socket: use TYPESAFE_QSORT() in netif code | Andrew Tridgell | 1 | -1/+2 | |
2010-02-11 | ldb_match - Ignore ":dn" part of extended matches for now | Matthias Dieter Wallnöfer | 1 | -2/+5 | |
It's not fully clear what this ":dn" part means for us. What we know is that older AD implementations (Windows Server 2000, 2003) need it to have extended matches working in the expected way. To be able to interoperate with s3's winbind and other tools I and gd decided to transform this into a warning until we know what to do. This should fix bug #6511. | |||||
2010-02-12 | s4-pyldb: null terminate string ldb message elements from python | Andrew Tridgell | 1 | -4/+4 | |
We need to eventually get rid of ldb_msg_find_attr_as_string() (or add a mem_ctx to it), but meanwhile we have too many places that break if we don't add a nul to the end of ldb msg strings from python. | |||||
2010-02-10 | util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1) | Andrew Tridgell | 1 | -59/+111 | |
This changes the meaning of the ->prev pointer in our doubly linked lists to point at the end of the list from the front of the list. That allows us to implement DLIST_ADD_END() and related functions in O(1) time, which can be a huge saving in many places in Samba. This also means that the 'type' argument to various DLIST_*() macros is no longer needed, but I have left it in for now to keep the patchset small, which will make it easier to revert if any problems are found. In the future we should remove the 'type' arguments. (jra. Move the one use of DLIST_TAIL over to the new macros). | |||||
2010-02-10 | s4-ldb: update ldb_tdb to use new DLIST_ macros | Andrew Tridgell | 1 | -15/+3 | |
(cherry picked from commit 6ede911654566a7e21ded70dacac68df3b6a1bca) | |||||
2010-02-10 | Temporary changes to dlinklist to keep the implementation static whilst | Jeremy Allison | 1 | -0/+16 | |
uses of (list)->prev are moved over to DLIST_PREV. This will be replaced when the final (new) version of the dlinklist.h header is added. Jeremy. | |||||
2010-02-09 | s4:Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 3 | -12/+0 | |
This was needed only by Python 2.3 which we no longer support. | |||||
2010-02-07 | s4-registry: fixed byte order assumptions | Andrew Tridgell | 4 | -7/+9 | |
the registry tests were broken on big-endian systems | |||||
2010-02-02 | Change uint_t to unsigned int in source4 | Matt Kraai | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-01 | s4/ldif: Handle Schema:prefixMap blobs in W2K3 and W2K8 | Kamen Mazdrashki | 1 | -6/+16 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-01 | s4/ldif: Better control on ldif_write_NDR() errors processing | Kamen Mazdrashki | 1 | -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-31 | s4:ldb quiet down rootdse control registration | Simo Sorce | 1 | -1/+1 | |
2010-01-30 | s4:ldb Fix check made conditional by mistake | Simo Sorce | 1 | -7/+11 | |
2010-01-30 | s4:ldb add support for permissive modify control | Simo Sorce | 1 | -24/+96 | |
2010-01-29 | s4/ldap: Fix nested searches SEGFAULT bug | Kamen Mazdrashki | 1 | -0/+11 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-01-28 | s4-ldbtest: fixed python import | Andrew Tridgell | 1 | -2/+2 | |
2010-01-28 | s4-drs: implementation of some delete test cases | Eduardo Lima | 1 | -0/+200 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-21 | s4: Fix a few warnings. | Jelmer Vernooij | 2 | -0/+3 | |
2010-01-21 | Add a comment to tdb_wrap to explain why it should be used instead of ↵ | Matthieu Patou | 1 | -0/+7 | |
directly using tdb | |||||
2010-01-20 | Fix unintentional free of the last value when adding a new value to a key. | Wilco Baan Hofman | 1 | -4/+8 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-01-17 | ldap: Fix test failure that seemed to go unreported previously. | Jelmer Vernooij | 1 | -2/+1 | |
2010-01-17 | ldap.py: Remove unused imports. | Jelmer Vernooij | 1 | -18/+4 | |
2010-01-16 | Import testtools as well, required for subunit. | Jelmer Vernooij | 4 | -8/+4 | |
2010-01-16 | s4-ldb: cope with bad ptr alignment in ldb_index.c | Andrew Tridgell | 1 | -3/+3 | |
We can't assume that a rec_ptr will come back from a tdb traverse with alignment sufficient for a pointer. | |||||
2010-01-13 | s4:ldb/tests: do a "schemaUpdateNow" after creating a new attribute in ↵ | Stefan Metzmacher | 1 | -0/+10 | |
ldap_schema.py It seems that windows doesn't need that. And we should think about a check for reloading the schema at the start of each "write" operation. metze | |||||
2010-01-13 | s4:ldb_msg: first try to decode integers as signed and then fallback to unsigned | Stefan Metzmacher | 1 | -0/+18 | |
LDAP only knowns about signed integers, so let ldb_msg_find_attr_as_uint() and ldb_msg_find_attr_as_uint64() cope with it. metze | |||||
2010-01-13 | s4:ldb: be more strict in parsing ldb time strings | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2010-01-10 | s4-ldb: display security descriptors with correct SDL for known SIDs | Andrew Tridgell | 2 | -1/+7 | |
This makes it much easier to compare SDs | |||||
2010-01-09 | s4-messaging: remove only usage of debug_ctx() | Andrew Tridgell | 1 | -2/+4 | |
2010-01-09 | s4-messaging: fixed a memory leak in messaging_path() | Andrew Tridgell | 1 | -2/+9 | |
It is a bit convoluted to fix, as cluster_id_string() may return a const string. | |||||
2010-01-09 | s4-ldb: validate the type of the ldb argument to ldb_dn_new() | Andrew Tridgell | 1 | -1/+7 | |
It has been a common bug to get the first two arguments the wrong way around | |||||
2010-01-08 | s4-acl: fixed acl.py test to use correct ldif | Andrew Tridgell | 1 | -1/+2 | |
same problem as sec_descriptor.py | |||||
2010-01-08 | s4-secdesc: fixed the sec_descriptor.py test | Andrew Tridgell | 1 | -42/+74 | |
The test was using a "changetype: add" to try and add a member to a group, where it should use a "changetype: modify" with a "add: member" Also fixed the recovery when the test fails part way through (delete the test users at the start as well as the end) Nadya, please check! | |||||
2010-01-08 | s4-ldb: improve error handling in indexing code | Andrew Tridgell | 2 | -5/+34 | |
When we get an indexing failure we want a clear error message |