summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-09s3-rpc_server: Fix sending of packets over named pipe proxy.Andreas Schneider1-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
2011-08-09s3-smbd: Pass tevent context to smbd_server_connection_loop_once().Andreas Schneider3-16/+17
Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-09s3-rpc_server: Free the children of p->mem_ctx.Andreas Schneider1-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>
2011-08-09s3:lib/events: Fix a bug in run_poll_events().Stefan Metzmacher1-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
2011-08-09talloc: prepare for 2.0.6 releaseAndrew Tridgell2-1/+63
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Aug 9 04:03:49 CEST 2011 on sn-devel-104
2011-08-09talloc: ensure the sibling linked list remains valid during a freeAndrew Tridgell1-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
2011-08-08s3:selftest: run the net rpc registry test under "s3dc" instead "s3dc:local".Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Aug 8 19:18:41 CEST 2011 on sn-devel-104
2011-08-08s3-net: Fixed a small typo in net conf function tableVicentiu Ciorbaru1-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>
2011-08-08s4:pyglue: PyArg_ParseTuple("I") requires an 'unsigned int' argumentStefan Metzmacher1-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
2011-08-08s4:py_net: PyArg_ParseTuple("i") requires an 'int' argumentStefan Metzmacher1-1/+4
If we pass variable references we don't get implicit casting! metze
2011-08-08s4:pyregistry: PyArg_ParseTuple("z#") requires an 'int' argument instead of ↵Stefan Metzmacher1-1/+4
'size_t' If we pass variables by reference we don't get implicit type casting. metze
2011-08-08s4:pycredentials: PyArg_ParseTuple("i") requires an 'int' argument.Stefan Metzmacher1-6/+30
If we pass variable references we don't get implicit casting! metze
2011-08-08pidl:Samba4/Python: PyArg_ParseTuple with "s#" returns 'int' instead of 'size_t'Stefan Metzmacher1-2/+7
If we pass variable references we don't get implicit casting! metze
2011-08-08pyldb: fix uninitialized memory bug in PyArg_ParseTuple() argumentStefan Metzmacher1-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
2011-08-08s3-net: Fixed typo in net confVicentiu Ciorbaru1-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
2011-08-08s3:smbconf let drop leave the smbconf key in place to match a virgin ↵Gregor Beck1-1/+1
registry.tdb Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-08s3:registry avoid updating keys which are going to be deleted inGregor Beck6-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>
2011-08-08build: Make credentials a public library for OpenChange to useAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Aug 8 14:53:53 CEST 2011 on sn-devel-104
2011-08-08build: rename rpcommon to dcerpc-binding an make a public libraryAndrew Bartlett3-42/+42
OpenChange needs this library. Andrew Bartlett
2011-08-08build: provide tevent-util as a public libraryAndrew Bartlett17-20/+21
This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett
2011-08-08s3-waf: Fix build on FreeBSD when sunacl.h is foundAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Aug 8 04:34:35 CEST 2011 on sn-devel-104
2011-08-07s3:smb2_server: make sure we grant credits on async read/write operations ↵Stefan Metzmacher1-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
2011-08-07sd_utils: Fix some formatting, add module docstring.Jelmer Vernooij1-3/+5
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 7 21:07:04 CEST 2011 on sn-devel-104
2011-08-07pyldb: Generate ABI file.Jelmer Vernooij2-2/+6
2011-08-07pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij8-148/+151
2011-08-06s3:web/swat: use strtoll() instead of atoi/atol/atollStefan Metzmacher1-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
2011-08-06s4:netcmd/gpo.py: we don't need to set autogenerated attributesStefan Metzmacher1-21/+11
metze
2011-08-06idl: We don't need a context for FRSRPC_COMM_PKT_CHUNK_CO_EXTENTION_2 and ↵Matthieu Patou1-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
2011-08-06pidl: for wireshark use only the major of the versionMatthieu Patou1-3/+2
2011-08-06pidl: For wireshark check also LIBNDR_FLAG_NOALIGN for not aligningMatthieu Patou1-1/+1
2011-08-06pidl: handle union when the switch variable is outside of the union for ↵Matthieu Patou1-19/+96
wireshark dissector
2011-08-06pidl: add subcontext handling for wiresharkMatthieu Patou1-3/+10
2011-08-06pidl: If STR_NULLTERM we concider it's a string as wellMatthieu Patou1-0/+3
2011-08-06pidl: handle hyper attribute for wiresharkMatthieu Patou1-0/+1
2011-08-06pidl: handle datablob for wireshark generatorMatthieu Patou1-0/+4
2011-08-06pidl: rpc version is a 32 bitMatthieu Patou1-1/+1
2011-08-06pidl: generate code for dissecting null terminated stringsMatthieu Patou1-0/+6
2011-08-06pidl: don't expect to have quote when creating import headersMatthieu Patou1-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.
2011-08-06s4-scripting: allow to specify the number max of iteration around getNcChangesMatthieu Patou1-1/+4
2011-08-05s3:rpc_transport_tstream: only use tstream_cli_np_use_trans() for sync requestsStefan Metzmacher1-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
2011-08-05s3: Make srv_enc_ctx staticVolker Lendecke2-2/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 5 18:29:24 CEST 2011 on sn-devel-104
2011-08-05s3: Fix a debug messageVolker Lendecke1-1/+1
2011-08-05s3: Fix some nonempty blank linesVolker Lendecke2-6/+6
2011-08-05s3: Fix "ISO C90 forbids mixed declarations and code"Volker Lendecke1-7/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 5 16:58:37 CEST 2011 on sn-devel-104
2011-08-05s3: Fix some nonempty blank linesVolker Lendecke1-25/+25
2011-08-05s3-docs: document --user-sidinfo wbinfo option.Günther Deschner1-0/+8
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Aug 5 14:06:09 CEST 2011 on sn-devel-104
2011-08-05s3: make linking of pthreadpooltest work on more platformsBjörn Jacke1-1/+1
Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Fri Aug 5 12:48:55 CEST 2011 on sn-devel-104
2011-08-05s3/ldap: delay the ldap search alarm termination a bitBjörn Jacke1-2/+13
do the alarm termination of the the ldap search a bit delayed so the LDAP server has a chance to tell us that the time limit was reached and the search was abandoned. If the search is terminated this way we also get the correct LDAP return code in the logs. If alarm() stops the search the ldap search routine will report that the LDAP server is down which would trigger us to rebind to the server needlessly which we also want to avoid.
2011-08-04s3-nmbd: fix talloc/malloc mismatch in create_listen_pollfds().Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Aug 4 19:06:39 CEST 2011 on sn-devel-104
2011-08-04s3/swat: use strlcat instead of strncat to fix build on old Linux distrosBjörn Jacke1-1/+1
SLES 9's glibc for example had weird macros where the use of strncat resulted in the use of strcat which we don't allow. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Thu Aug 4 17:50:24 CEST 2011 on sn-devel-104