summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-09-24ldb:ldb_match.c - fix counter variable typeMatthias Dieter Wallnöfer1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24ldb:ldb_msg_add_linearized_dn - handle NULL DNsMatthias Dieter Wallnöfer1-2/+8
Don't let the routine crash Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-23s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pullingStefan Metzmacher1-0/+2
The dcerpc server also uses it, so it was surprising that the IRPC server side doesn't used it. The reason to have this is that we want to handle error cases and returns like NT_STATUS_NOT_SUPPORTED sane, without crashing while marshalling the response. metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-22ldb: Use waf as default build system.Jelmer Vernooij2-18/+19
2010-09-22ldb: Depend directly on replace, fixes the build on systems withJelmer Vernooij1-0/+3
tdb and tevent installed in the system.
2010-09-22s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij1-3/+34
2010-09-21s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2-118/+0
2010-09-21pymessaging: Remove unused older python irpc bindings.Jelmer Vernooij1-349/+3
2010-09-19Fix regf.idl, subkey and rootkey types were switched.wilco@baanhofman.nl1-2/+2
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Fix file corruption (non-updated header) on new allocation.wilco@baanhofman.nl1-8/+17
Also fixes debug messages to use hex offsets. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Fix crash when no subkeys exist. Fix writing outside of buffer error by regf ↵wilco@baanhofman.nl1-2/+13
backend. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Add python bindings for open_hive function to be able to load REGF files.wilco@baanhofman.nl1-4/+43
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-16s4-irpc: Don't install endtime-timer in case timeout is INFINITE for the callKamen Mazdrashki1-3/+6
2010-09-16s4-irpc: Add value for "infinite" timeout for IRPC callsKamen Mazdrashki1-1/+3
2010-09-15s4: fixed some printf format errorsAndrew Tridgell2-2/+2
2010-09-15s4-messaging: add support for no_reply in irpc messagesAndrew Tridgell2-0/+8
It can be useful for a irpc message to be one-way, where the client sends a messages and the server does not reply. This will be used for things like a triger message from an auth context to the drepl server to tell it to try a REPL_SECRET on a user in a RODC. Previously we've used raw messaging for messages that have no reply, but that doesn't allow us to use messages described by IDL Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-13s4:SID handling - always encode the SID using "ldap_encode_ndr_dom_sid" for ↵Matthias Dieter Wallnöfer1-2/+5
LDAP filters This makes also lookups through special backends as "samba3sam" work.
2010-09-11ldb:tools/cmdline.c - reorganise importsMatthias Dieter Wallnöfer1-6/+2
2010-09-11ldb:tools/cmdline.c - make a counter unsigned where appropriateMatthias Dieter Wallnöfer1-1/+1
2010-09-11s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP ↵Matthias Dieter Wallnöfer3-3/+3
results
2010-09-10s4:lib/policy/gp_filesys.c - remove dead codeMatthias Dieter Wallnöfer1-2/+0
Found out by Solaris cc
2010-09-09pyldb: expose PyLdbDn_FromDn()Andrew Tridgell2-18/+29
This is needed by the dsdb python interface Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-08popt_common: Add missing dependency on libsamba-hostconfig.Jelmer Vernooij1-3/+2
2010-09-07s4-packet: make packet_recv_disable() a lot more efficientAndrew Tridgell1-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-05python-ldb: allow ldb_rename to take optional control(s)Matthieu Patou1-4/+50
2010-09-04ldb: Add missing aliases for ldb_ildap.Jelmer Vernooij1-0/+1
2010-09-04s4:lib/messaging: implement irpc_bh_set_timeoutStefan Metzmacher1-1/+19
metze
2010-09-03s4:lib/messaging: make irpc_request private and remove unused codeStefan Metzmacher2-190/+14
metze
2010-09-03s4:lib/messaging/tests: make use of irpc_binding_handle()Stefan Metzmacher1-22/+49
metze
2010-09-03s4:lib/messaging: use irpc_binding_handle() for python bindingsStefan Metzmacher1-13/+57
metze
2010-09-03s4:lib/messaging: add irpc_binding_handle_by_name() helper functionStefan Metzmacher2-0/+36
metze
2010-09-03s4:lib/messaging: add irpc dcerpc_binding_handle backendStefan Metzmacher3-1/+289
metze
2010-09-03s4:lib/messaging: move messaging prototypes from irpc.h to messaging.hStefan Metzmacher2-28/+25
metze
2010-09-03s4:lib/messaging/tests: fix some compiler warningsStefan Metzmacher1-2/+2
metze
2010-09-03pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij1-1/+1
2010-09-01s4/ldb: fix standalone buildBjörn Jacke1-2/+6
2010-08-31s4/ldb: use monotonic clock for time deltas in ldbtestBjörn Jacke1-4/+4
2010-08-30s4:lib/messaging: add some const to messaging_send()Stefan Metzmacher2-2/+2
metze
2010-08-23s4-pyregistry: use s4_event_context_init()Andrew Tridgell1-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23s4-event: event_context_find() should use s4_event_context_init()Andrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23s4:security Change struct security_token->sids from struct dom_sid * to ↵Andrew Bartlett1-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-22Avoid use of Samba DTD, which requires net access.Jelmer Vernooij4-4/+4
2010-08-22pyldb: do type checking on the list form of ldb addAndrew Tridgell1-0/+6
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-20s4-ldb: added support for rodc_control in ldbAndrew Tridgell1-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-18s4:security Remove use of user_sid and group_sid from struct security_tokenAndrew Bartlett1-1/+1
This makes the structure more like Samba3's NT_USER_TOKEN
2010-08-17s4-ldb: ensure element flags are zero in ldb search returnAndrew Tridgell1-0/+2
the distinguishedName element was getting an uninitialised flags value
2010-08-17s4-ldbwrap: ensure session_info in ldb opaque remains validAndrew Tridgell1-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-17s4-ldb: added LDB_FLAG_INTERNAL_DISABLE_VALIDATIONAndrew Tridgell1-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-17s4-ldb: added LDB_FLAG_INTERNAL_MASKAndrew Tridgell2-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-17s4-ldb: use LDB_FLAG_MOD_TYPE() to extract element type from messagesAndrew Tridgell2-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>