summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not include the closing doublequote in .reg files.Wilco Baan Hofman2010-10-031-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix hex():00,00,00 bugs and strtol dword bugs, these values are explicitly hex.Wilco Baan Hofman2010-10-031-7/+37
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Make sure we write the value stored in value, not line (doublequoted).Wilco Baan Hofman2010-10-031-4/+4
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Make sure that regf only writes to disk every five seconds or when flushed ↵Wilco Baan Hofman2010-10-031-9/+51
| | | | | | | | or destroyed Brings speed up on a large .reg import from 17.5s to 0.95s, over 18 times faster Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix .reg file format parsing.Wilco Baan Hofman2010-10-031-39/+124
| | | | | | | | * multiline data * doublequoted value name * handle windows format CRLF Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix registry parsing of strings to also support the windows method.Wilco Baan Hofman2010-10-031-1/+33
| | | | | | Specifically: dword:00000000, hex:00,00,00,00, hex(0..B):00,00,00,00 Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4-ldif: get rid of the ndr_pull_error message on startupAndrew Tridgell2010-10-021-10/+15
| | | | detect if the prefixmap blob is text or binary using the first 4 bytes
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-015-166/+1
| | | | Guenther
* samba: share select wrappers.Günther Deschner2010-10-011-45/+0
| | | | Guenther
* ldb-dn: don't crash on NULL in ldb_binary_encode_string()Andrew Tridgell2010-09-281-0/+3
| | | | Thanks to Nadya for finding this one!
* ldb-tdb: ignore failure to register control on rootdseAndrew Tridgell2010-09-281-4/+1
| | | | this is expected for non-sam LDBs
* ldb: Fix path to alternative buildtools.Jelmer Vernooij2010-09-281-1/+1
|
* ldb/tevent: Fix detection of waf paths.Jelmer Vernooij2010-09-282-2/+11
|
* ldb: Update autogen-waf.sh to no longer overwrite existing files.Jelmer Vernooij2010-09-282-2/+12
|
* ldb: Remove samba-specific targets from Makefile.Jelmer Vernooij2010-09-281-8/+0
|
* ldb: Bump version because of addition of ldb_req_location.Jelmer Vernooij2010-09-281-1/+1
|
* s4:lib/tls: add gnutls backend for tstreamStefan Metzmacher2010-09-283-3/+1298
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 28 02:29:42 UTC 2010 on sn-devel-104
* s4-ildap: two more places that need talloc_reparent()Andrew Tridgell2010-09-281-1/+1
| | | | | | | these contexts can have references Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Sep 28 00:04:03 UTC 2010 on sn-devel-104
* s4-ldb: Added ldb_request_replace_controlNadezhda Ivanova2010-09-272-0/+34
| | | | | | | | It is the same as ldb_request_add_control, except it will replace an existing control. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 19:00:38 UTC 2010 on sn-devel-104
* s4/irpc: Add function to add security token to the binding handleAnatoliy Atanasov2010-09-272-0/+12
|
* s4:irpc: optionaly pass the security_token via IRPC requests.Stefan Metzmacher2010-09-271-0/+3
| | | | metze
* Check in configure/Makefile for those projects that have waf as primary ↵Jelmer Vernooij2010-09-252-0/+71
| | | | build system.
* ldb: added request location trackingAndrew Tridgell2010-09-254-0/+39
| | | | | | this is used to help debug async ldb requests. The ldb request handle now contains a location string and the parent request pointer. This allows us to print a backtrace of ldb requests in the dsdb modules.
* ldb:ldb_match.c - fix counter variable typeMatthias Dieter Wallnöfer2010-09-241-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* ldb:ldb_msg_add_linearized_dn - handle NULL DNsMatthias Dieter Wallnöfer2010-09-241-2/+8
| | | | | | Don't let the routine crash Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pullingStefan Metzmacher2010-09-231-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>
* ldb: Use waf as default build system.Jelmer Vernooij2010-09-222-18/+19
|
* ldb: Depend directly on replace, fixes the build on systems withJelmer Vernooij2010-09-221-0/+3
| | | | tdb and tevent installed in the system.
* s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij2010-09-221-3/+34
|
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-212-118/+0
|
* pymessaging: Remove unused older python irpc bindings.Jelmer Vernooij2010-09-211-349/+3
|
* Fix regf.idl, subkey and rootkey types were switched.wilco@baanhofman.nl2010-09-191-2/+2
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix file corruption (non-updated header) on new allocation.wilco@baanhofman.nl2010-09-191-8/+17
| | | | | | Also fixes debug messages to use hex offsets. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix crash when no subkeys exist. Fix writing outside of buffer error by regf ↵wilco@baanhofman.nl2010-09-191-2/+13
| | | | | | backend. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add python bindings for open_hive function to be able to load REGF files.wilco@baanhofman.nl2010-09-191-4/+43
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4-irpc: Don't install endtime-timer in case timeout is INFINITE for the callKamen Mazdrashki2010-09-161-3/+6
|
* s4-irpc: Add value for "infinite" timeout for IRPC callsKamen Mazdrashki2010-09-161-1/+3
|
* s4: fixed some printf format errorsAndrew Tridgell2010-09-152-2/+2
|
* s4-messaging: add support for no_reply in irpc messagesAndrew Tridgell2010-09-152-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>
* s4:SID handling - always encode the SID using "ldap_encode_ndr_dom_sid" for ↵Matthias Dieter Wallnöfer2010-09-131-2/+5
| | | | | | LDAP filters This makes also lookups through special backends as "samba3sam" work.
* ldb:tools/cmdline.c - reorganise importsMatthias Dieter Wallnöfer2010-09-111-6/+2
|
* ldb:tools/cmdline.c - make a counter unsigned where appropriateMatthias Dieter Wallnöfer2010-09-111-1/+1
|
* s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP ↵Matthias Dieter Wallnöfer2010-09-113-3/+3
| | | | results
* s4:lib/policy/gp_filesys.c - remove dead codeMatthias Dieter Wallnöfer2010-09-101-2/+0
| | | | Found out by Solaris cc
* pyldb: expose PyLdbDn_FromDn()Andrew Tridgell2010-09-092-18/+29
| | | | | | This is needed by the dsdb python interface Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* popt_common: Add missing dependency on libsamba-hostconfig.Jelmer Vernooij2010-09-081-3/+2
|
* s4-packet: make packet_recv_disable() a lot more efficientAndrew Tridgell2010-09-071-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.
* python-ldb: allow ldb_rename to take optional control(s)Matthieu Patou2010-09-051-4/+50
|
* ldb: Add missing aliases for ldb_ildap.Jelmer Vernooij2010-09-041-0/+1
|
* s4:lib/messaging: implement irpc_bh_set_timeoutStefan Metzmacher2010-09-041-1/+19
| | | | metze