summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-01-03Remove unused argument "vuid" from make_internal_rpc_pipe_pVolker Lendecke1-4/+2
2009-01-03tevent: raise version to 0.9.1Stefan Metzmacher1-3/+1
This 0.9.1 isn't compatible with 0.9.0, but it makes only sense to raise the major version after we have reached 1.0.0. metze
2009-01-02Replace some SMB_ASSERTs with NT_STATUS_INTERNAL_ERRORVolker Lendecke1-7/+28
2009-01-02Optimize for the common case that packet.c received exactly one full packetVolker Lendecke1-8/+14
2009-01-02packet.h API: The callback is now responsible to talloc_free() "buf"Volker Lendecke3-37/+50
2009-01-02Remove cli_cm_set_dest_ss() - removes the global dest_ssJeremy Allison2-20/+13
from libsmb/clidfs.c. Keep the '-I<address>' option in smbclient working. The intent is to remove all globals from libsmb/clidfs.c. Jeremy.
2009-01-02Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison8-38/+55
2009-01-02Fix warnings in make test code.Jeremy Allison3-9/+34
Jeremy.
2009-01-02Alternative fix for 45db33e73 and 0d443ae7931Volker Lendecke1-1/+2
Simo is right, we need to ask passdb first. At least this fixes a nasty to find NT_STATUS_ACCESS_DENIED problem in the build farm for the test run I just did on host "opi". Michael, can you re-check if this also fixes the error you found, leading to the two fixes? Thanks, Volker
2009-01-02Revert "s:Fix uid_to_sid mapping when the idmap cache is empty."Volker Lendecke1-7/+8
This reverts commit 9a9b64dbdfce4414ada22d4f882c8c757b5813e1.
2009-01-02Revert "s3:idmap: Remove passd check from idmap_backends_unixid_to_sid()."Volker Lendecke1-0/+9
This reverts commit 45db33e73262d8e195a46fb96405dfb3dc43d6bc.
2009-01-02Happy New Year!Stefan Metzmacher1-1/+1
metze
2009-01-01Fix bug 5913.Volker Lendecke1-1/+1
Never seen this to be a problem, but it doesn't hurt either :-)
2009-01-01Remove a global variableVolker Lendecke1-13/+20
2009-01-01fix some nonempty blank linesVolker Lendecke1-5/+5
2009-01-01Remove two pointless globalsVolker Lendecke2-13/+12
2009-01-01The Tru64 shell doesn't like (*) in a case statementVolker Lendecke1-2/+2
2008-12-31s3: Fix caller of print_fsp_openTim Prouty1-3/+3
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison14-50/+164
Jeremy.
2008-12-31Fix more asprintf and "ignoring return code" warnings from gcc 4.3.Jeremy Allison5-58/+103
Jeremy.
2008-12-31Replace a static variable and alarm() calls by using sys_select()Volker Lendecke1-23/+24
Günther, please check!
2008-12-31Fix some nonempty blank linesVolker Lendecke1-5/+5
2008-12-31Make a CONST_DISCARD unnecessary by applying some constVolker Lendecke1-3/+2
Derrell, please check!
2008-12-31Replace "goto again" by "return NT_STATUS_RETRY" in receive_message_or_smbVolker Lendecke1-11/+13
This gives lower-level routines the chance to indicate a retry condition
2008-12-31Disable the use of splice(2)Volker Lendecke1-1/+1
On a debian lenny installation with a kernel that calls itself 2.6.28, I could repeatably block smbd using splice. According to the output of netstat, the recvq of the TCP connection was full and at the same time according to strace smbd was stuck in a splice syscall trying to read from that TCP connection. We can not protect ourselves from this condition, as nobody will ever notify us that something is broken. So sadly we can't use splice yet at all. Maybe in 2.6.29...
2008-12-31Try to fix recvfile using splice on LinuxVolker Lendecke1-21/+36
According to the splice(2) manpage, one of the file descriptors *must* be a pipe. With this patch I could successfully run splice(2) on a debian lenny installation. Jeremy, please check!
2008-12-31Fix a "nested extern" warningVolker Lendecke1-1/+1
2008-12-31Rename parent_dirname_talloc() to parent_dirname()Volker Lendecke12-34/+17
2008-12-31Remove unused function parent_dirnameVolker Lendecke2-14/+0
2008-12-31Use parent_dirname_talloc instead of parent_dirname in smb_unix_mknodVolker Lendecke1-3/+7
2008-12-31Use parent_dirname_talloc instead of parent_dirname in copy_internalsVolker Lendecke1-2/+6
2008-12-31Use parent_dirname_talloc instead of parent_dirname in vfswrap_mkdirVolker Lendecke1-1/+6
2008-12-31Make use of TALLOC_MEMDUP in parent_dirname_talloc()Volker Lendecke1-2/+1
2008-12-31Remove unused function get_numlist()Volker Lendecke2-52/+0
2008-12-31recvfile can't be used for printing so farVolker Lendecke1-0/+4
2008-12-31s3:winbindd: we don't need to call messaging_reinit() twiceStefan Metzmacher1-7/+0
reinit_after_fork() already calls messaging_reinit() metze
2008-12-31Enable individual smbtorture_s3 subtests in make testVolker Lendecke1-0/+4
2008-12-31Fix an ancient uninitialized variable readVolker Lendecke4-8/+10
The callers of open_file_ntcreate expect *psbuf to be filled correctly
2008-12-30s3 build: Revert previous patch to fix the buildTim Prouty1-3/+101
888524623d179ceb4d540f5ac0f3b013d3ce5735 broke the build. I'm reverting it for the short term, while I work on a better fix.
2008-12-30Fix more "ignore return value" warnings from gcc 4.3.Jeremy Allison4-15/+31
Jeremy
2008-12-30s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4Tim Prouty1-2/+0
2008-12-30s3 build: Remove redundant #defines that are in idl generated headersTim Prouty1-101/+3
This fixes a series of samba3 build warnings in the merged build: 'error: "X" redefined', where X is one of the redundant #defines
2008-12-30s3 build: Fix warningTim Prouty1-0/+2
2008-12-30s3:cluster: register the client connection via CTDB_CONTROL_TCP_ADDStefan Metzmacher4-13/+27
This means we correctly pass IPv6 addresses too. (CTDB_CONTROL_TCP_CLIENT was IPv4 only) metze
2008-12-30Fix a memory leak in cups_pull_comment_locationVolker Lendecke1-0/+4
We allocated "request" with ippNew, so we also should ippDelete it.
2008-12-30Fix a spinning smbd when printingVolker Lendecke1-1/+1
Without this, we end up adding more than one timed event. In the event handler print_notify_event_send_messages() only one event will be deleted, all others will fire indefinitely.
2008-12-30Print the vuid in BENCH-SESSSETUPVolker Lendecke1-0/+2
2008-12-30Second part of the bugfix for #5933Volker Lendecke1-7/+13
Incrementing the next vuid did not correctly overflow Now we survive BENCH-SESSSETUP with -o 100000. Takes a while though :-) Thanks a lot to Ofer Tal <otsmb@shmoop.org> for reporting #5933
2008-12-30First part of bugfix for #5933Volker Lendecke1-3/+0
Ofer Tal <otsmb@shmoop.org> fully correctly noted that we're incrementing num_validated_vuids twice per session setup, but decrement it only once. Looking at sesssetup.c we always call register_initial_vuid() before register_existing_vuid(), so there's no point in incrementing it in register_existing_vuid(). Jeremy, please check!
2008-12-30Move a comment to its placeVolker Lendecke1-5/+5