Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-07 | s4-packet: make packet_recv_disable() a lot more efficient | Andrew Tridgell | 1 | -2/+6 | |
this avoids doing an epoll system call when we want to prevent receipt of packets on a socket, unless there actually is a packet to receive. | |||||
2010-09-05 | python-ldb: allow ldb_rename to take optional control(s) | Matthieu Patou | 1 | -4/+50 | |
2010-09-04 | ldb: Add missing aliases for ldb_ildap. | Jelmer Vernooij | 1 | -0/+1 | |
2010-09-04 | s4:lib/messaging: implement irpc_bh_set_timeout | Stefan Metzmacher | 1 | -1/+19 | |
metze | |||||
2010-09-03 | s4:lib/messaging: make irpc_request private and remove unused code | Stefan Metzmacher | 2 | -190/+14 | |
metze | |||||
2010-09-03 | s4:lib/messaging/tests: make use of irpc_binding_handle() | Stefan Metzmacher | 1 | -22/+49 | |
metze | |||||
2010-09-03 | s4:lib/messaging: use irpc_binding_handle() for python bindings | Stefan Metzmacher | 1 | -13/+57 | |
metze | |||||
2010-09-03 | s4:lib/messaging: add irpc_binding_handle_by_name() helper function | Stefan Metzmacher | 2 | -0/+36 | |
metze | |||||
2010-09-03 | s4:lib/messaging: add irpc dcerpc_binding_handle backend | Stefan Metzmacher | 3 | -1/+289 | |
metze | |||||
2010-09-03 | s4:lib/messaging: move messaging prototypes from irpc.h to messaging.h | Stefan Metzmacher | 2 | -28/+25 | |
metze | |||||
2010-09-03 | s4:lib/messaging/tests: fix some compiler warnings | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-09-03 | pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection. | Jelmer Vernooij | 1 | -1/+1 | |
2010-09-01 | s4/ldb: fix standalone build | Björn Jacke | 1 | -2/+6 | |
2010-08-31 | s4/ldb: use monotonic clock for time deltas in ldbtest | Björn Jacke | 1 | -4/+4 | |
2010-08-30 | s4:lib/messaging: add some const to messaging_send() | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2010-08-23 | s4-pyregistry: use s4_event_context_init() | Andrew Tridgell | 1 | -2/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-23 | s4-event: event_context_find() should use s4_event_context_init() | Andrew Tridgell | 1 | -1/+1 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-23 | s4:security Change struct security_token->sids from struct dom_sid * to ↵ | Andrew Bartlett | 1 | -1/+1 | |
struct dom_sid This makes the structure much more like NT_USER_TOKEN in the source3/ code. (The remaining changes are that privilages still need to be merged) Andrew Bartlett | |||||
2010-08-22 | Avoid use of Samba DTD, which requires net access. | Jelmer Vernooij | 4 | -4/+4 | |
2010-08-22 | pyldb: do type checking on the list form of ldb add | Andrew Tridgell | 1 | -0/+6 | |
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-08-20 | s4-ldb: added support for rodc_control in ldb | Andrew Tridgell | 1 | -0/+27 | |
this allows you to specify the RODC join control in python ldb calls or on the command line Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-18 | s4:security Remove use of user_sid and group_sid from struct security_token | Andrew Bartlett | 1 | -1/+1 | |
This makes the structure more like Samba3's NT_USER_TOKEN | |||||
2010-08-17 | s4-ldb: ensure element flags are zero in ldb search return | Andrew Tridgell | 1 | -0/+2 | |
the distinguishedName element was getting an uninitialised flags value | |||||
2010-08-17 | s4-ldbwrap: ensure session_info in ldb opaque remains valid | Andrew Tridgell | 1 | -0/+15 | |
A DRS DsBind handle can be re-used in a later connection. This implies reuse of the session_info for the connection. If the first connection is shutdown then the session_info in the sam context on the 2nd connection must remain valid. | |||||
2010-08-17 | s4-ldb: added LDB_FLAG_INTERNAL_DISABLE_VALIDATION | Andrew Tridgell | 1 | -0/+6 | |
When this flag is set on an element in an add/modify request then the normal validate_ldb() call that checks the element against schema constraints is disabled Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: added LDB_FLAG_INTERNAL_MASK | Andrew Tridgell | 2 | -0/+31 | |
This ensures that internal bits for the element flags in add/modify requests are not set via the ldb API Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: use LDB_FLAG_MOD_TYPE() to extract element type from messages | Andrew Tridgell | 2 | -1/+6 | |
The flags field of message elements is part of a set of flags. We had LDB_FLAG_MOD_MASK for extracting the type, but it was only rarely being used (only 1 call used it correctly). This adds LDB_FLAG_MOD_MASK() to make it more obvious what is going on. This will allow us to use some of the other flags bits for internal markers on elements Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-dsdb: added support for LDB_CONTROL_RODC_DCPROMO_OID | Andrew Tridgell | 1 | -0/+6 | |
this control adds a unique msDS-SecondaryKrbTgtNumber attribute to a user object. There is some 'interesting' interaction with the rangeLower and rangeUpper attributes and this add. We don't implementat rangeLower/rangeUpper yet, but when we do we'll need an override for this control (or be careful about module ordering). Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: test the 'displayName=a,b' bug | Andrew Tridgell | 1 | -0/+6 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: fixed the ldb 'displayName=a,b' indexing bug | Andrew Tridgell | 1 | -2/+4 | |
the problem was the inconsistency between the key form of DNs between the itdb used for indexing and the on disk form Thanks to Matthieu Patou for finding this bug! Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: add some comments explaining the ltdb_index_idxptr() function | Andrew Tridgell | 1 | -0/+8 | |
this function copes with alignment sensitive CPUs Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-09 | s4-build: use @PACKAGE_VERSION@ in s4 pc.in files | Andrew Tridgell | 2 | -2/+2 | |
this gets replaced by vnum from the build rule | |||||
2010-08-05 | s4-dns: fix dnsp for old build | Andrew Tridgell | 1 | -1/+1 | |
2010-08-05 | s4-ldb: added ldif handler for the dnsRecord attribute | Andrew Tridgell | 3 | -2/+25 | |
2010-07-29 | s4-ldb: use TALLOC_CTX type instead of 'void' | Kamen Mazdrashki | 9 | -49/+49 | |
2010-07-19 | s4: Remove trailing whitespaces | Kamen Mazdrashki | 2 | -13/+13 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | ldb: Mark _DEPRECATED_ ldb_msg_diff() and ldb_msg_canonicalize() functions | Kamen Mazdrashki | 1 | -2/+28 | |
They are not quite safe to use (requires caller to steal resulting message in own context) and may lead to holding memory for too long. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-dsdb: use ldb_msg_normalize() in ldb_msg_difference() | Kamen Mazdrashki | 1 | -6/+8 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-test: Use ldb_msg_normalize() in sqlite3 backend | Kamen Mazdrashki | 1 | -4/+13 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-dsdb: use ldb_msg_normalize() in ldbadd-process_file() | Kamen Mazdrashki | 1 | -1/+9 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-dsdb: use ldb_msg_normalize() in source4/lib/ldb/common/ldb.c | Kamen Mazdrashki | 1 | -5/+7 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Add ldb_msg_normalize() to accept a memory context from client | Kamen Mazdrashki | 2 | -12/+46 | |
Previos implementation from ldb_msg_canonicalize() was moved into this function and now ldb_msg_canonicalize() is based on ldb_msg_normalize() Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add() | Kamen Mazdrashki | 1 | -4/+10 | |
Previous implementation was 'leaking' attribute name string, that is allocated by ldb_msg_add_empty() Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add_empty() | Kamen Mazdrashki | 1 | -22/+17 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Add separate function to add empty element into ldb_msg | Kamen Mazdrashki | 1 | -0/+30 | |
It just adds another element, nothing more. Caller is responsible to fill-in the added element and determine how to handle data allocation contexts. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Write more explanatory comment for ldb_msg_add() | Kamen Mazdrashki | 1 | -3/+8 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-pyldb: Use ldb_msg_difference() in py_ldb_msg_diff() | Kamen Mazdrashki | 1 | -2/+10 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-tools: use ldb_msg_difference() in ldbedit - modify_record() | Kamen Mazdrashki | 1 | -6/+10 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Implement ldb_msg_difference() function to accept a memory context ↵ | Kamen Mazdrashki | 2 | -23/+92 | |
from client Old implementation from ldb_msg_diff() was moved into this this function but with changed interface so that a memory context may be passed. ldb_msg_diff() function is now based on ldb_msg_difference(), which fixes a hidden leak - internal ldb_msg object (returned from ldb_msg_canonicalize) wasn't freed and stays attached to ldb_context for the connection lifetime. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 14 | -50/+50 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> |