summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-07-30Added missing return. Not strictly neccessary, the following if ↵Jeremy Allison1-0/+1
(!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) clause will catch this and use tevent_req_nterror(req, status); to set the status as NT_STATUS_OK, but it looks strange to do it that way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jul 30 01:34:24 CEST 2011 on sn-devel-104
2011-07-29Secod part of bugfix for bug #8335 - file copy aborts with ↵Jeremy Allison1-3/+24
smb2_validate_message_id: bad message_id Modify the credit granting algorithm to closer to what I believe Windows does. Split up max_credits into 1/16ths, and then scale the requested credits by how many 16ths have been currently granted. Less than 1/16th == grant all requested (100%), scale down as more have been granted. Never ask for less than 1 if the client asked for at least 1. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jul 29 20:37:42 CEST 2011 on sn-devel-104
2011-07-29First part of bugfix for bug #8335 - file copy aborts with ↵Jeremy Allison1-1/+1
smb2_validate_message_id: bad message_id Set default max credits to 8192 now this has been documented in the SMB2 spec.
2011-07-29s3: Add a fallback for missing open&x support in OS/X LionVolker Lendecke1-19/+68
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 29 17:55:20 CEST 2011 on sn-devel-104
2011-07-29s3: Make map_open_params_to_ntcreate() available in lib/Volker Lendecke4-154/+155
2011-07-29s3: Make is_executable() available in lib/Volker Lendecke4-18/+18
2011-07-29s3: We only need base_name in map_open_params_to_ntcreateVolker Lendecke4-9/+12
2011-07-29s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam50-53/+54
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
2011-07-29s3-waf: replace the dbwrap_util library by a dbwrap library that contains ↵Michael Adam1-5/+4
the dbwrap core
2011-07-29s3:dbwrap: move db_is_local() from dbwrap.c to dbwrap_open.cMichael Adam4-34/+33
2011-07-29s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam33-78/+208
Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes.
2011-07-29s3:g_lock: explicitly include dbwrap.hMichael Adam1-0/+1
2011-07-29s3:modules:nfs4_acls: fix the include of dbwrap.h to not include "include/"Michael Adam1-1/+1
2011-07-29s3:dbwrap: explicitly include dbwrap.h in dbwrap_ctdb.cMichael Adam1-0/+1
This used to come in via g_lock.h Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-29s3-selftest Add tests for 'map to guest = bad user'Andrew Bartlett1-1/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29selftest: explain how the message command test worksAndrew Bartlett1-0/+1
2011-07-28s3-printing: Add forward declaration for dcerpc_binding_handle.Andreas Schneider1-0/+2
This fixes a build warning. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 20:07:37 CEST 2011 on sn-devel-104
2011-07-28s3: Priorize the async echo responder over the clientVolker Lendecke1-4/+15
Without this, an active client connection can starve the echo responder. This leads to apparently "lost" SMBs. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 28 18:53:38 CEST 2011 on sn-devel-104
2011-07-28s3: Remove unused smbd_echo_reader()Volker Lendecke1-97/+0
2011-07-28s3: Use smbd_echo_read_send in the async echo handlerVolker Lendecke1-6/+68
2011-07-28s3: Add smbd_echo_read_send/recvVolker Lendecke1-0/+155
Read a SMB packet in the echo responder, giving the parent one second to step in
2011-07-28s3-rpc_server: Use talloc for pipe_rpc_fnsSimo Sorce3-22/+7
Everything uses talloc in the rpc server nowadays, remove this ancient use of malloc. This also allows us to remove the free fucntion and let talloc handle it properly. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Jul 28 17:41:08 CEST 2011 on sn-devel-104
2011-07-28s3-rpc_server: remove useless codeSimo Sorce1-3/+1
We do not reuse pies_struct so there is no reason to SERO_STRUCT() it when we are freeing it as we are done using it anyways.
2011-07-28s3-rpc_server: remove unnecessary talloc_freeSimo Sorce1-2/+0
The auth_ctx is a child of pipes_struct, and this function is a used only as a destructor on pipes_struct. So it is not really necessary to free this struct in the destructor as it will be freed soon enough anyway.
2011-07-28s3-rpc_server: Remove dead codeSimo Sorce1-16/+0
srv_str and cli_str are not used anymore.
2011-07-28s3-spoolss: Use existing handle in printer_driver_files_in_use().Andreas Schneider3-17/+4
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 16:20:11 CEST 2011 on sn-devel-104
2011-07-28s3-spoolss: Use existing handle in printer_driver_in_use().Andreas Schneider3-20/+5
2011-07-28s3: In the async echo test, write 65kVolker Lendecke1-1/+1
This leads to the writev from echo responder child to parent to only deliver a partial blob and thus excercises the retry code. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 28 15:07:40 CEST 2011 on sn-devel-104
2011-07-28s3:modules:nfs4_acls: improve fix for bug #8330Michael Adam1-4/+2
simplify the check insmbacl4_find_equal_special() Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Jul 28 13:20:38 CEST 2011 on sn-devel-104
2011-07-28s3:torture: use lp_load_global() in pdbtest - this does not need shares nor IPC$Michael Adam1-1/+1
2011-07-28s3:winbindd: use lp_load_global() - winbindd does not need shares or IPC$Michael Adam1-1/+1
2011-07-28s3:smbstatus: use lp_load_global() - smbstatus does not need to load shares!Michael Adam1-1/+1
2011-07-28s3:split_tokens: use lp_load_global(), fixing the call to lp_load()Michael Adam1-1/+1
this does not need share and it dos not need to save defaults
2011-07-28s3:split_tokens: fix a nonempty blank lineMichael Adam1-1/+1
2011-07-28s3: use lp_load_global() in smbw_sample -- whatever this is ... :-)Michael Adam1-1/+1
2011-07-28s3:smbtree: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbpasswd: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbfilter: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbcquotas: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the sharesMichael Adam1-1/+1
2011-07-28s3:smbcacls: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:pdbedit: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:ntlm_auth: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:nmblookup: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:net: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:eventlogadm: use lp_load_global()Michael Adam1-2/+2
2011-07-28s3:dbwrap_torture: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:dbwrap_tool: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbtorture: use the lp_load_global() wrapper of lp_load()Michael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the strstr testMichael Adam1-1/+1