summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* r23024: Ok, neither the duplicates_allowed nor the timeout argument toVolker Lendecke2007-10-101-112/+12
| | | | | | | | | | | | | | message_send_pid is used anymore. Two users of duplicates_allowed: winbind and the printer notify system. I don't thing this really changes semantics: duplicates_allowed is hell racy anyway, we can't guarantee that we don't send the same message in sequence twice, and I think the only thing we can harm with the print notify is performance. For winbind I talked to Günther, and he did not seem too worried. Volker
* r23023: Get rid of the only caller of message_send_pid_with_timeout(). This ↵Volker Lendecke2007-10-102-15/+13
| | | | | | | | | | | | | | | | | | | | | replaces the timeouts on the individual message send calls with an overall timeout on all the calls. The timeout in message_send_pid_with_timeout() did not make much sense IMO anyway, because the tdb_fetch() for the messages_pending_for_pid was blocking in a readlock anyway, we "just" did the timeout for the write lock. This new code goes through the full wait for the write lock once and then breaks out of sending the notifies instead of running into the timeout per target. Jerry, please check this! Thanks, Volker
* r23022: ReformattingVolker Lendecke2007-10-101-37/+47
|
* r23016: Remove extra & - thanks to Volker for spotting this.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23015: Make message_(de)register static to messages.cVolker Lendecke2007-10-109-71/+130
|
* r23014: For all branches, ensure that if we're blocked on a POSIXJeremy Allison2007-10-105-15/+62
| | | | | | | | lock we know nothing about that we retry the lock every 10 seconds instead of waiting for the standard select timeout. This is how we used to (and are supposed to) work. Jeremy.
* r23010: Make the output of "smbcontrol --help" match that of "smbcontrol help".James Peach2007-10-101-5/+30
| | | | Bug #3181.
* r23009: Both contains a strchr_m(server,'/') few lines after replacing all / ↵James Peach2007-10-102-10/+4
| | | | | | | | with \. This patch removes this dead code. Patch from Pascal Terjan <pterjan@mandriva.com> for bug #2313.
* r23007: Ensure we don't allow large read over the possibleJeremy Allison2007-10-101-0/+4
| | | | | packet size. Jeremy.
* r23006: Arg. Fix stupid typo in 64-bit path.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23005: If we're running on a system where time_t is 8 bytesJeremy Allison2007-10-104-18/+57
| | | | | | | | we have to take care to preserve the "special" values for Windows of 0x80000000 and 0x7FFFFFFF when casting between time_t and uint32. Add conversion functions (and use them). Jeremy.
* r23001: - Fix but #4634. Type of the size parameter to getpeername was wrong.Derrell Lipman2007-10-101-1/+1
|
* r22998: merge from SAMBA_4_0:Stefan Metzmacher2007-10-101-1/+1
| | | | | | only if the output of which has a leading '/' the output is useful... metze
* r22994: Fix HP/UX compiler flags by Don McCall. Lets see how the other HP/UXVolker Lendecke2007-10-101-1/+2
| | | | boxes like this. Thanks, Don!
* r22982: Do not prompt for password on sec=none for mount.cifs (and allow guestSteve French2007-10-101-2/+5
| | | | option to pass to kernel code so it can know when to retry)
* r22979: Revert previous checkin (which had some debug junk) and fix misc ↵Steve French2007-10-101-68/+25
| | | | | | frees that valgrind noticed
* r22978: Don't use current_user to prep the security ctx in change_to_userGerald Carter2007-10-101-7/+15
| | | | | | since any SID/uid/gid translation calls will reset the struct when popping the security ctx. This should fix the standalone server configuration issues reported by David Rankin (thanks for the logs).
* r22977: Trim noise by removing redundant WARNING log message thatGerald Carter2007-10-101-4/+0
| | | | | would flood at log level 2. We know when we're using the legacy mapping code anyways since it will log an informative msg.
* r22976: whoops typoSimo Sorce2007-10-101-2/+2
|
* r22975: BUG 4616: Don't return a dns or forest name when replying to theGerald Carter2007-10-101-7/+7
| | | | DsDGetPrimaryRoleInfo() and configured for security = domain.
* r22974: enable relro with PIE if available, this gives extra protection to ↵Simo Sorce2007-10-101-0/+23
| | | | the ELF segment
* r22973: Apparently, 3.0.25 broke smb4k badly ;-)Alexander Bokovoy2007-10-101-2/+6
| | | | | | | | smb4k uses 'net rap server domain' to list servers in domain. Previously we just ignored all arguments in net_rap_server() but now we don't as 'net rap server name' has added an explicit check on arguments. Allow 'net rap server domain' to aid smb4k. Any other arguments will cause help message.
* r22956: Fix security=server (bug #4622). Volker's patchJeremy Allison2007-10-101-6/+0
| | | | | (slightly truncated by me). Will be in 3.0.25a. Jeremy.
* r22955: Disable dependency tracking by default.James Peach2007-10-101-0/+6
|
* r22954: More messaging_registerVolker Lendecke2007-10-105-27/+32
|
* r22953: Well, this apparently has never been tested. But *this* code never saw aVolker Lendecke2007-10-101-6/+5
| | | | release yet .... ;-))
* r22950: Fix the issue Volker reported here :Jeremy Allison2007-10-102-28/+2
| | | | | | | | | | | | | | | | | | | | "Attempt to fix some build farm failures: On port 139 the first successful packet gives len==0 from the server, so the = in if (len <= 0) { in line 136 of clientgen.c throws a failure." The irritating thing is that I already had it correct in SAMBA_3_0_26 and forgot to merge the change across. len == 0 is a valid return - I messed that up when converting client_receive_smb() to return a length rather than a BOOL. Doh ! Jeremy.
* r22943: More message_register -> messaging_registerVolker Lendecke2007-10-103-60/+102
|
* r22942: Some message_register -> messaging_register conversionsVolker Lendecke2007-10-103-42/+75
|
* r22934: Change smbcontrol to use messaging_register instead of message_registerVolker Lendecke2007-10-103-25/+87
|
* r22932: Use the same symbol in sizeof and cast for talloc.Michael Adam2007-10-101-1/+1
|
* r22931: Fix logic in detection of the need to replace dlopen and friends.Michael Adam2007-10-101-6/+7
| | | | | | | Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen was found in libdl but header dlfcn.h was not appropriate. Michael
* r22930: Next attempt to get the build farm in line.Volker Lendecke2007-10-101-1/+2
| | | | Jeremy, please check this and merge if appropriate.
* r22929: Attempt to fix some build farm failures: On port 139 the firstVolker Lendecke2007-10-102-1/+27
| | | | | | | | | | | | | successful packet gives len==0 from the server, so the = in if (len <= 0) { in line 136 of clientgen.c throws a failure. Jeremy, please fix this properly, I'm not merging this to 3_0_26 so that you can filter it when you merge. Volker
* r22928: Use better success error code.Günther Deschner2007-10-101-8/+8
| | | | Guenther
* r22926: Don't use <=0, use < 0 to allow keepalives to propagate up.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22925: Sync read_and_X with 3.0.26 code (use setup_readX_header()).Jeremy Allison2007-10-101-6/+1
| | | | Jeremy.
* r22924: Fix the build by correctly processing readXJeremy Allison2007-10-101-21/+25
| | | | | errors in the direct read case. Jeremy.
* r22923: Fix runaway smbd now receive_smb_raw() returns a ssize_t not a BOOL.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22922: Move "normal_read:" label out of ifdef guard. Fix the build.Jeremy Allison2007-10-101-2/+2
| | | | Jeremy.
* r22920: Add in the UNIX capability for 24-bit readX, as discussedJeremy Allison2007-10-1010-96/+297
| | | | | | with the Apple guys and Linux kernel guys. Still looking at how to do writeX as there's no recvfile(). Jeremy.
* r22919: Fix build on Tru64.Michael Adam2007-10-101-1/+1
|
* r22918: Attempt to fix the build of the tru64acl module.Michael Adam2007-10-101-6/+6
| | | | | | | Where the heck did that smb_acl_permset_t come from? I can't remember... Michael
* r22914: - Fixes bug 4599. A missing <code>if</code> statement forced ↵Derrell Lipman2007-10-101-4/+8
| | | | | | | | | | | | subseqeuent attempts to set attributes to fail. - I also noticed that missing attributes were setting an invalid return string by getxattr(), e.g. if there was not group, the return string had "GROUP:;" instead of excluding the GROUP attribute entirely as it should. The big problem with the way it was, is that the string could not then be passed to setxattr() and parsed.
* r22911: Pass a messaging_context to message_send_allVolker Lendecke2007-10-108-12/+21
|
* r22910: Make message_send_pid static to messages.cVolker Lendecke2007-10-103-35/+38
|
* r22908: All callers of message_init now also call messaging_init. Unify those.Volker Lendecke2007-10-108-28/+16
|
* r22907: Fix the build with --enable-profiling-dataVolker Lendecke2007-10-101-1/+2
|
* r22906: Some more message_send_pidVolker Lendecke2007-10-102-47/+73
|
* r22905: cli_send_mailslot had a message_send_pid insideVolker Lendecke2007-10-102-10/+16
|