summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-20s3-net: Fix Coverity #886 (FORWARD_NULL).Günther Deschner1-1/+1
Guenther
2009-03-20s3-samr: try to to fix password_expired flag handling.Günther Deschner3-52/+161
Guenther
2009-03-20s4:build: include ../libcli/cldap/config.mkStefan Metzmacher1-0/+1
This fixes commit 84a140f18722518eb0f40737085dd3b3958a3a02, sorry! metze
2009-03-20Fix crash in async_smb.cBo Yang1-3/+6
2009-03-20s4:fullschema Use server-side sort to make the output deterministicAndrew Bartlett1-2/+4
2009-03-20s4:ldb Allow paged_searches to be mixed with other controlsAndrew Bartlett1-3/+3
I want to mix this with the server-side sort in particular. Andrew Bartlett
2009-03-20s4: Remove autogenerated attributes from minschema and fullschema outputAndrew Bartlett2-16/+0
These attributes will be generated by Samba on import, and do not need to be in the schema file. Andrew Bartlett
2009-03-20Add minschema like tool to extract and dump the full schema from ADAndrew Bartlett1-0/+191
2009-03-20s4:minschma Fix aggregate schema generation in minschemaAndrew Bartlett1-24/+23
The conversion from EJS to python I did with Jelmer this morning was not quite complete, due mostly to the difference between print in EJS and python (python implies a newline). Andrew Bartlett
2009-03-20s4:ldb Ensure to pass down options to LDB from pythonAndrew Bartlett1-3/+3
This is needed for things such as to load modules, like the paged_searches module. Andrew Bartlett
2009-03-20s4:ldb Fix the paged_searches moduleAndrew Bartlett1-58/+51
This simplifies the code, removes presumptions about being the only control in the reply, and allows it to function against Windows 2008. For searches which did not require a paged result, the module was simply returning a failure when the compleated search did not include a paged result control. Andrew Bartlett
2009-03-20Merge branch 'master' of git://git.samba.org/samba into minschemaJelmer Vernooij312-16985/+17712
2009-03-20Fix up minschema after the conversion from JavaScript.Jelmer Vernooij1-88/+77
Pair programmed over the phone with Andrew :-)
2009-03-20pyldb: Improve exception message when a list is expected.Jelmer Vernooij1-8/+9
2009-03-19add a versiontest program to print samba_version_string().Michael Adam2-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-19version: fix handling of SAMBA_VERSION_VENDOR_PATCH.Michael Adam1-1/+2
We need a string version of this, or else version.c does not compile. Michael
2009-03-19s3: Fix a free of an uninitialized variable in winbind_get_sid_aliasesDan Sledz1-1/+0
2009-03-19s3:libads: use libcli/cldap codeStefan Metzmacher1-229/+67
metze
2009-03-19s3:build: compile lib/tsocket and libcli/cldapStefan Metzmacher1-1/+13
metze
2009-03-19move source4/libcli/cldap => libcli/cldapStefan Metzmacher5-13/+15
metze
2009-03-19s4:cldap: rewrite the cldap library based on tsocketStefan Metzmacher12-606/+1002
metze
2009-03-19lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystemStefan Metzmacher1-1/+8
metze
2009-03-19lib/tsocket: add tsocket_guide.txt section with specific details about bsd ↵Stefan Metzmacher1-0/+79
style sockets metze
2009-03-19lib/tsocket: add a fast path to tsocket_writev_send/recv()Stefan Metzmacher1-0/+10
This is similar to the tsocket_sendto_send/recv() fast path. metze
2009-03-19lib/tsocket: add a fast path to tsocket_sendto_send/recv()Stefan Metzmacher1-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-19lib/tsocket: add tsocket_guide.txt section about the async _send/recv() ↵Stefan Metzmacher1-0/+142
helper functions metze
2009-03-19lib/tsocket: add tsocket_readv_send/recv()Stefan Metzmacher3-1/+235
metze
2009-03-19lib/tsocket: add tsocket_writev_queue_send/recv()Stefan Metzmacher2-0/+126
metze
2009-03-19lib/tsocket: add tsocket_writev_send/recv()Stefan Metzmacher3-1/+195
metze
2009-03-19lib/tsocket: add tsocket_connect_send/recv()Stefan Metzmacher3-1/+129
metze
2009-03-19lib/tsocket: add tsocket_sendto_queue_send/recv()Stefan Metzmacher2-0/+133
metze
2009-03-19lib/tsocket: add tsocket_sendto_send/recv()Stefan Metzmacher3-1/+145
metze
2009-03-19lib/tsocket: add tsocket_recvfrom_send/recv()Stefan Metzmacher3-2/+178
metze
2009-03-19lib/tsocket: add an implementation for bsd style sockets.Stefan Metzmacher3-1/+1169
metze
2009-03-19lib/tsocket: add a tsocket_guide.txt with a description of the designStefan Metzmacher1-0/+282
metze
2009-03-19lib/tsocket: add some useful helper functionsStefan Metzmacher3-1/+183
metze
2009-03-19lib/tsocket: add generic socket abstraction layerStefan Metzmacher6-0/+521
This will replace source4/lib/socket/. metze
2009-03-19fix build on old Heimdal based systemsBjörn Jacke1-5/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2009-03-19tevent: fix the nesting logicStefan Metzmacher1-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-19s3:libsmb: always create bytes array in cli_trans codeStefan Metzmacher1-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-19s3:libsmb: fix smb signing for fragmented trans/trans2/nttrans requestsStefan Metzmacher1-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-19s3:lib/util_sock: use sys_recv() instead of sys_read() on socketsStefan Metzmacher1-2/+2
This ways the pcap support in socket wrapper sees the received data. metze
2009-03-19fix some typosBjörn Jacke1-3/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-18Modify simple POSIX open test to use filenames containing a ':'Jeremy Allison1-2/+2
character. Should stop regressions of bug #6196. Jeremy.
2009-03-18Allow DFS client paths to work when POSIX pathnames have beenJeremy Allison1-2/+12
selected (we need to path in pathname /that/look/like/this). Jeremy.
2009-03-18Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2-1/+79
2009-03-18Fix bug #6196 - Unable to serve files with colons to Linux CIFS/VFS clientJeremy Allison1-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-19use the tevent nesting code to avoid the uid problem in the VFSAndrew Tridgell1-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-19fixed a logic bug in the tevent nesting codeAndrew Tridgell1-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-18s3 onefs: Correctly error out when the read returns EOFTim Prouty1-5/+9
Also add some more debugging.