summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-acl-test: use symbolic names for groupTypeAndrew Tridgell2011-08-091-11/+16
| | | | clearer than magic numbers
* s4-pysamba: fixed double conversion of int32Andrew Tridgell2011-08-091-1/+1
| | | | if the number is already negative, we shouldn't convert it
* s4-dsdb: make extended_dn_in a bit more efficientAndrew Tridgell2011-08-091-9/+17
| | | | checking filter elements in the right order makes it a little faster
* s4-samdb: support relative paths in SamDB() connectAndrew Tridgell2011-08-091-1/+2
| | | | | don't add the private path unless the database doesn't exist with the supplied path
* s4-dsdb: use dn_format shortcut to find DN formatAndrew Tridgell2011-08-092-4/+4
| | | | this saves some string comparisons
* pysamdb: move normalise_int32() to common moduleAndrew Tridgell2011-08-092-7/+7
| | | | this will be needed in quite a few places
* s3-rpc_server: Fix sending of packets over named pipe proxy.Andreas Schneider2011-08-091-22/+27
| | | | | | | | | | We need for named pipes we need to send each fragment on its own to be a message. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Aug 9 11:55:18 CEST 2011 on sn-devel-104
* s3-smbd: Pass tevent context to smbd_server_connection_loop_once().Andreas Schneider2011-08-093-16/+17
| | | | Signed-off-by: Simo Sorce <idra@samba.org>
* s3-rpc_server: Free the children of p->mem_ctx.Andreas Schneider2011-08-091-1/+5
| | | | | | | Free the children of p->mem_ctx after processing a complete incoming and outgoing request. Signed-off-by: Simo Sorce <idra@samba.org>
* s3:lib/events: Fix a bug in run_poll_events().Stefan Metzmacher2011-08-091-0/+4
| | | | | | | | | | | | | | Ignore fd events without EVENT_FD_READ or EVENT_FD_WRITE also in run_events_poll(). They are ignore when building the array for the syscall in event_add_to_poll_args(), so we need to ignore them run_events_poll() too. metze Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 10:11:54 CEST 2011 on sn-devel-104
* talloc: prepare for 2.0.6 releaseAndrew Tridgell2011-08-092-1/+63
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Aug 9 04:03:49 CEST 2011 on sn-devel-104
* talloc: ensure the sibling linked list remains valid during a freeAndrew Tridgell2011-08-091-15/+3
| | | | | | | | | | | | This ensures that the sibling list of a pointer doesn't become invalid during a free operation. It is an alternative fix to the fix in 6f51a1f45bf4de062cce7a562477e8140630a53d, and avoids the problem of trying to calculate the parent pointer early This should fix the subtle spoolss talloc bug that Simo found Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Aug 9 01:53:17 CEST 2011 on sn-devel-104
* s3:selftest: run the net rpc registry test under "s3dc" instead "s3dc:local".Michael Adam2011-08-081-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Aug 8 19:18:41 CEST 2011 on sn-devel-104
* s3-net: Fixed a small typo in net conf function tableVicentiu Ciorbaru2011-08-081-1/+1
| | | | | | | The description of the function net conf delincludes had a wrong usage message: "net conf setincludes" instead of "net conf delincludes". Signed-off-by: Michael Adam <obnox@samba.org>
* s4:pyglue: PyArg_ParseTuple("I") requires an 'unsigned int' argumentStefan Metzmacher2011-08-081-1/+5
| | | | | | | | | If we pass variable references we don't get implicit casting! metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Aug 8 18:01:19 CEST 2011 on sn-devel-104
* s4:py_net: PyArg_ParseTuple("i") requires an 'int' argumentStefan Metzmacher2011-08-081-1/+4
| | | | | | If we pass variable references we don't get implicit casting! metze
* s4:pyregistry: PyArg_ParseTuple("z#") requires an 'int' argument instead of ↵Stefan Metzmacher2011-08-081-1/+4
| | | | | | | | 'size_t' If we pass variables by reference we don't get implicit type casting. metze
* s4:pycredentials: PyArg_ParseTuple("i") requires an 'int' argument.Stefan Metzmacher2011-08-081-6/+30
| | | | | | If we pass variable references we don't get implicit casting! metze
* pidl:Samba4/Python: PyArg_ParseTuple with "s#" returns 'int' instead of 'size_t'Stefan Metzmacher2011-08-081-2/+7
| | | | | | If we pass variable references we don't get implicit casting! metze
* pyldb: fix uninitialized memory bug in PyArg_ParseTuple() argumentStefan Metzmacher2011-08-081-1/+1
| | | | | | | | "s#", &str, &len) required 'len' as 'int' not as 'Py_ssize_t'. With Py_ssize_t the 2nd half of a 64bit Py_ssize_t, will be uninitialized as 'int' is only 32bit. metze
* s3-net: Fixed typo in net confVicentiu Ciorbaru2011-08-081-1/+1
| | | | | | | | | There was a missing ']' in net conf addshare usage message. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Aug 8 16:44:08 CEST 2011 on sn-devel-104
* s3:smbconf let drop leave the smbconf key in place to match a virgin ↵Gregor Beck2011-08-081-1/+1
| | | | | | registry.tdb Signed-off-by: Michael Adam <obnox@samba.org>
* s3:registry avoid updating keys which are going to be deleted inGregor Beck2011-08-086-30/+47
| | | | | | | | | reg_deletekey_recursive this changes the complexity from O(n^2) to O(n) and reduces the time of a 'net conf drop' with 10000 shares from 6min to 1.5s Signed-off-by: Michael Adam <obnox@samba.org>
* build: Make credentials a public library for OpenChange to useAndrew Bartlett2011-08-081-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Aug 8 14:53:53 CEST 2011 on sn-devel-104
* build: rename rpcommon to dcerpc-binding an make a public libraryAndrew Bartlett2011-08-083-42/+42
| | | | | | OpenChange needs this library. Andrew Bartlett
* build: provide tevent-util as a public libraryAndrew Bartlett2011-08-0817-20/+21
| | | | | | | This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett
* s3-waf: Fix build on FreeBSD when sunacl.h is foundAndrew Bartlett2011-08-081-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Aug 8 04:34:35 CEST 2011 on sn-devel-104
* s3:smb2_server: make sure we grant credits on async read/write operations ↵Stefan Metzmacher2011-08-071-6/+15
| | | | | | | | | | | | | (bug #8357) Currently we skip, the "gone async" interim response on read and write, this caused the aio code path to grant 0 credits to the client in the read/write responses. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Aug 7 22:23:57 CEST 2011 on sn-devel-104
* sd_utils: Fix some formatting, add module docstring.Jelmer Vernooij2011-08-071-3/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 7 21:07:04 CEST 2011 on sn-devel-104
* pyldb: Generate ABI file.Jelmer Vernooij2011-08-072-2/+6
|
* pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij2011-08-078-148/+151
|
* s3:web/swat: use strtoll() instead of atoi/atol/atollStefan Metzmacher2011-08-061-6/+19
| | | | | | | | | | This is more portable, as we have a strtoll replacement in lib/replace. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Aug 6 11:55:45 CEST 2011 on sn-devel-104
* s4:netcmd/gpo.py: we don't need to set autogenerated attributesStefan Metzmacher2011-08-061-21/+11
| | | | metze
* idl: We don't need a context for FRSRPC_COMM_PKT_CHUNK_CO_EXTENTION_2 and ↵Matthieu Patou2011-08-061-2/+2
| | | | | | | avoid colision on bop attribute Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Aug 6 00:50:47 CEST 2011 on sn-devel-104
* pidl: for wireshark use only the major of the versionMatthieu Patou2011-08-061-3/+2
|
* pidl: For wireshark check also LIBNDR_FLAG_NOALIGN for not aligningMatthieu Patou2011-08-061-1/+1
|
* pidl: handle union when the switch variable is outside of the union for ↵Matthieu Patou2011-08-061-19/+96
| | | | wireshark dissector
* pidl: add subcontext handling for wiresharkMatthieu Patou2011-08-061-3/+10
|
* pidl: If STR_NULLTERM we concider it's a string as wellMatthieu Patou2011-08-061-0/+3
|
* pidl: handle hyper attribute for wiresharkMatthieu Patou2011-08-061-0/+1
|
* pidl: handle datablob for wireshark generatorMatthieu Patou2011-08-061-0/+4
|
* pidl: rpc version is a 32 bitMatthieu Patou2011-08-061-1/+1
|
* pidl: generate code for dissecting null terminated stringsMatthieu Patou2011-08-061-0/+6
|
* pidl: don't expect to have quote when creating import headersMatthieu Patou2011-08-061-1/+1
| | | | | | Currently the $_ didn't contains the quote anymore, in order to avoid any further regression the cleanup of quote is done before so that if $_ still have quotes we clean them in anycase.
* s4-scripting: allow to specify the number max of iteration around getNcChangesMatthieu Patou2011-08-061-1/+4
|
* s3:rpc_transport_tstream: only use tstream_cli_np_use_trans() for sync requestsStefan Metzmacher2011-08-051-0/+6
| | | | | | | | | | Currently the caller doesn't cope with multiple async requests anyway, so this is just protection for the future. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 5 22:31:12 CEST 2011 on sn-devel-104
* s3: Make srv_enc_ctx staticVolker Lendecke2011-08-052-2/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 5 18:29:24 CEST 2011 on sn-devel-104
* s3: Fix a debug messageVolker Lendecke2011-08-051-1/+1
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-08-052-6/+6
|
* s3: Fix "ISO C90 forbids mixed declarations and code"Volker Lendecke2011-08-051-7/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 5 16:58:37 CEST 2011 on sn-devel-104