Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-03-19 | add a versiontest program to print samba_version_string(). | Michael Adam | 2 | -0/+30 | |
This is to allow for testing samba_version_string() without the need to compile any of the larger binaries like smbd or net... Michael | |||||
2009-03-19 | version: fix handling of SAMBA_VERSION_VENDOR_PATCH. | Michael Adam | 1 | -1/+2 | |
We need a string version of this, or else version.c does not compile. Michael | |||||
2009-03-19 | s3: Fix a free of an uninitialized variable in winbind_get_sid_aliases | Dan Sledz | 1 | -1/+0 | |
2009-03-19 | s3:libads: use libcli/cldap code | Stefan Metzmacher | 1 | -229/+67 | |
metze | |||||
2009-03-19 | s3:build: compile lib/tsocket and libcli/cldap | Stefan Metzmacher | 1 | -1/+13 | |
metze | |||||
2009-03-19 | move source4/libcli/cldap => libcli/cldap | Stefan Metzmacher | 5 | -13/+15 | |
metze | |||||
2009-03-19 | s4:cldap: rewrite the cldap library based on tsocket | Stefan Metzmacher | 12 | -606/+1002 | |
metze | |||||
2009-03-19 | lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystem | Stefan Metzmacher | 1 | -1/+8 | |
metze | |||||
2009-03-19 | lib/tsocket: add tsocket_guide.txt section with specific details about bsd ↵ | Stefan Metzmacher | 1 | -0/+79 | |
style sockets metze | |||||
2009-03-19 | lib/tsocket: add a fast path to tsocket_writev_send/recv() | Stefan Metzmacher | 1 | -0/+10 | |
This is similar to the tsocket_sendto_send/recv() fast path. metze | |||||
2009-03-19 | lib/tsocket: add a fast path to tsocket_sendto_send/recv() | Stefan Metzmacher | 1 | -0/+10 | |
By first trying to send data without waiting for the socket to become writeable we gain about 10-20% performance in the LDAP-BENCH-CLDAP test. metze | |||||
2009-03-19 | lib/tsocket: add tsocket_guide.txt section about the async _send/recv() ↵ | Stefan Metzmacher | 1 | -0/+142 | |
helper functions metze | |||||
2009-03-19 | lib/tsocket: add tsocket_readv_send/recv() | Stefan Metzmacher | 3 | -1/+235 | |
metze | |||||
2009-03-19 | lib/tsocket: add tsocket_writev_queue_send/recv() | Stefan Metzmacher | 2 | -0/+126 | |
metze | |||||
2009-03-19 | lib/tsocket: add tsocket_writev_send/recv() | Stefan Metzmacher | 3 | -1/+195 | |
metze | |||||
2009-03-19 | lib/tsocket: add tsocket_connect_send/recv() | Stefan Metzmacher | 3 | -1/+129 | |
metze | |||||
2009-03-19 | lib/tsocket: add tsocket_sendto_queue_send/recv() | Stefan Metzmacher | 2 | -0/+133 | |
metze | |||||
2009-03-19 | lib/tsocket: add tsocket_sendto_send/recv() | Stefan Metzmacher | 3 | -1/+145 | |
metze | |||||
2009-03-19 | lib/tsocket: add tsocket_recvfrom_send/recv() | Stefan Metzmacher | 3 | -2/+178 | |
metze | |||||
2009-03-19 | lib/tsocket: add an implementation for bsd style sockets. | Stefan Metzmacher | 3 | -1/+1169 | |
metze | |||||
2009-03-19 | lib/tsocket: add a tsocket_guide.txt with a description of the design | Stefan Metzmacher | 1 | -0/+282 | |
metze | |||||
2009-03-19 | lib/tsocket: add some useful helper functions | Stefan Metzmacher | 3 | -1/+183 | |
metze | |||||
2009-03-19 | lib/tsocket: add generic socket abstraction layer | Stefan Metzmacher | 6 | -0/+521 | |
This will replace source4/lib/socket/. metze | |||||
2009-03-19 | fix build on old Heimdal based systems | Björn Jacke | 1 | -5/+3 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-03-19 | tevent: fix the nesting logic | Stefan Metzmacher | 1 | -7/+7 | |
Only tevent_loop_once and tevent_loop_until() should care about the nesting level. This fixes the samba3 printing code where we use tevent_loop_wait() and don't allow nested events. We still call the nesting hook for all levels, we need to decide if we really want this... metze | |||||
2009-03-19 | s3:libsmb: always create bytes array in cli_trans code | Stefan Metzmacher | 1 | -5/+14 | |
Otherwise we return NO_MEMORY without a reason for fragmented trans requests, as talloc_append_blob() returns buf if we append a 0 length blob. When we pass buf = NULL we'll get back NULL and then assume NO_MEMORY... metze | |||||
2009-03-19 | s3:libsmb: fix smb signing for fragmented trans/trans2/nttrans requests | Stefan Metzmacher | 1 | -23/+7 | |
Before we send the secondary requests we need to remove the old mid=>seqnum mapping and reset cli->mid and make the new mid=>seqnum mapping "persistent". The bug we had in cli_send_trans was this: The first cli_send_smb() incremented cli->mid and the secondary requests used the incremented mid, but as cli->outbuf still had the correct mid, we send the correct mid to the server. The real problem was that the cli_send_smb() function stored the seqnum under the wrong mid. cli_send_nttrans() was totally broken and now follows the same logic as cli_send_trans(). The good thing is that in practice the problem is unlikely to happen, because max_xmit is large enough to avoid secondary requests. metze | |||||
2009-03-19 | s3:lib/util_sock: use sys_recv() instead of sys_read() on sockets | Stefan Metzmacher | 1 | -2/+2 | |
This ways the pcap support in socket wrapper sees the received data. metze | |||||
2009-03-19 | fix some typos | Björn Jacke | 1 | -3/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-03-19 | flush after showing the prompt in smbclient | Andrew Tridgell | 1 | -0/+1 | |
2009-03-18 | Modify simple POSIX open test to use filenames containing a ':' | Jeremy Allison | 1 | -2/+2 | |
character. Should stop regressions of bug #6196. Jeremy. | |||||
2009-03-18 | Allow DFS client paths to work when POSIX pathnames have been | Jeremy Allison | 1 | -2/+12 | |
selected (we need to path in pathname /that/look/like/this). Jeremy. | |||||
2009-03-18 | Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba | Jeremy Allison | 2 | -1/+79 | |
2009-03-18 | Fix bug #6196 - Unable to serve files with colons to Linux CIFS/VFS client | Jeremy Allison | 1 | -2/+7 | |
Looks like the pathname parsing for POSIX paths got broken when the code for doing Windows streams parsing got added. Jeremy. | |||||
2009-03-19 | use the tevent nesting code to avoid the uid problem in the VFS | Andrew Tridgell | 1 | -0/+66 | |
backend The vfs_unixuid module changes the uid of the process when executing operations on behalf of the user. Within the VFS backend we may rely on semi-async calls, such as winbind calls, which will call the event loop again. To cope with this we need to ensure that while inside those calls we revert the uid to root, then revert back to the connected user when we have finished with the semi-async calls. | |||||
2009-03-19 | fixed a logic bug in the tevent nesting code | Andrew Tridgell | 1 | -1/+13 | |
The event nesting code never triggered as nesting.level was never greater than 1. The main event loop needs to increase the nesting level by 1. I also added a paranoia check to the nesting setup call. The API as currently written cannot support multiple nesting hooks, so we need to abort if multiple hooks are tried. | |||||
2009-03-18 | s3 onefs: Correctly error out when the read returns EOF | Tim Prouty | 1 | -5/+9 | |
Also add some more debugging. | |||||
2009-03-18 | Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵ | Jeremy Allison | 2 | -19/+206 | |
correctly. This is a really nasty one to fix as in order to successfully update the passdb.tdb we must do the equivalent of a tdbbackup to move to the new hash values before we do the upgrade. Jeremy. | |||||
2009-03-18 | s3: remove POLICY_HND. | Günther Deschner | 43 | -376/+360 | |
Guenther | |||||
2009-03-18 | s3-rpc_parse: remove some unused parsing code. | Günther Deschner | 2 | -351/+0 | |
Guenther | |||||
2009-03-18 | s3-spoolss: fix _spoolss_GetPrinterData printerserver handle query error code. | Günther Deschner | 1 | -1/+1 | |
When _spoolss_GetPrinterData receives a query on a printserver handle for a value that we have not stored or do not provide, we need to return WERR_INVALID_PARAM, not WERR_BADFILE. Tested with w2k and w2k3 servers. Found by torture test. Guenther | |||||
2009-03-18 | s3-spoolss: fix _spoolss_EnumPrinterDataEx error path. | Günther Deschner | 1 | -0/+4 | |
When a windows clients queries the "" key, we need to make sure to return with the appropriate error (WERR_INVALID_PARAM in that case), and not fall through to the buffer size handling macros. Found by torture test. Guenther | |||||
2009-03-18 | s3-rpc_parse: remove unused BUFFER5 and UNISTR3. | Günther Deschner | 5 | -183/+0 | |
Guenther | |||||
2009-03-18 | s3-rpc_client: remove unused CLI_DO_RPC_WERR macro. | Günther Deschner | 1 | -30/+0 | |
Guenther | |||||
2009-03-18 | s4 libcli: Add back Longhorn beta dialect as a constant | Zach Loafman | 2 | -4/+4 | |
Also tweak how the dialect array and count is initialized. | |||||
2009-03-18 | s3-smbcontrol: use correct PRINTER_NOTIFY flags. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2009-03-18 | spoolss: add my copyright. | Günther Deschner | 4 | -1/+4 | |
Guenther | |||||
2009-03-18 | s3-spoolss: remove include/rpc_spoolss.h. | Günther Deschner | 2 | -168/+0 | |
Guenther | |||||
2009-03-18 | s3-spoolss: remove rpc_server/srv_spoolss.c alltogether. | Günther Deschner | 4 | -601/+5 | |
Guenther | |||||
2009-03-18 | s3-spoolss: remove rpc_parse/parse_spoolss.c alltogether. | Günther Deschner | 3 | -33/+1 | |
Good-Bye, last hand-marshalled rpc functions, rest in peace. Guenther |