summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * r23068: Fix some uninitialized variables in the solarisacl moduleVolker Lendecke2007-05-221-6/+6
| |
| * r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke2007-05-2125-399/+538
| | | | | | | | | | | | | | | | | | | | | | doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker
| * r23054: Move the check for the lookup_domain of S-1-22-{1,2} before the Gerald Carter2007-05-211-18/+17
| | | | | | | | | | | | check for IS_DC. Otherwise we will for example fail to lookup a sid of S-1-22-1-780 because it has no valid struct winbindd_domain* in the list. Thanks to Simo for the catch.
| * r23051: sid_to_[ug]id fixes for smbdSimo Sorce2007-05-211-12/+26
| |
| * r23048: Simo is correct in that winbind_lookup{sid,name}_async() needsGerald Carter2007-05-213-2/+29
| | | | | | | | | | | | | | | | | | to be able to handle SIDs in the S-1-22-{1,2} domain in order for winbindd_sid_to_uid(), et. al. to succeed. For 3.0.25a, we will short circuit in the sid_to_uid() family of functions so that smbd is ok. For 3.0.26, we need to allow winbindd to handle all types of SIDs.
| * r23046: Few missing merges from cleaning out the Centeris winbindd tree.Gerald Carter2007-05-214-1/+21
| | | | | | | | Nothing of major interest. Will fix a few problems with one way trusts.
| * r23041: Remainder of fix for 4630: fix special case of unix_to_nt_time() forJim McDonough2007-05-211-2/+10
| | | | | | | | TIME_T_MAX, and also display of it in http_timestring()
| * r23040: Activate the winbindd cache validation code in the Michael Adam2007-05-211-2/+0
| | | | | | | | | | | | | | | | | | | | winbindd main function. I have tested and somewhat extended the code, and it seems to do a good job. I have possibly not caught all error conditions though. Michael
| * r23039: merge from SAMBA_3_0_26:Stefan Metzmacher2007-05-211-2/+1
| | | | | | | | | | | | | | use a helper function to construct the TDB_DATA key as strlen_m() is totally wrong here anyway metze
| * r23025: Some logic simplificationsVolker Lendecke2007-05-201-29/+27
| |
| * r23024: Ok, neither the duplicates_allowed nor the timeout argument toVolker Lendecke2007-05-201-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-05-202-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-05-201-37/+47
| |
| * r23016: Remove extra & - thanks to Volker for spotting this.Jeremy Allison2007-05-191-1/+1
| | | | | | | | Jeremy.
| * r23015: Make message_(de)register static to messages.cVolker Lendecke2007-05-199-71/+130
| |
| * r23014: For all branches, ensure that if we're blocked on a POSIXJeremy Allison2007-05-195-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-05-191-5/+30
| | | | | | | | Bug #3181.
| * r23009: Both contains a strchr_m(server,'/') few lines after replacing all / ↵James Peach2007-05-192-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-05-191-0/+4
| | | | | | | | | | packet size. Jeremy.
| * r23006: Arg. Fix stupid typo in 64-bit path.Jeremy Allison2007-05-181-1/+1
| | | | | | | | Jeremy.
| * r23005: If we're running on a system where time_t is 8 bytesJeremy Allison2007-05-184-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-05-181-1/+1
| |
| * r22998: merge from SAMBA_4_0:Stefan Metzmacher2007-05-181-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-05-181-1/+2
| | | | | | | | boxes like this. Thanks, Don!
| * r22982: Do not prompt for password on sec=none for mount.cifs (and allow guestSteve French2007-05-171-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-05-171-68/+25
| | | | | | | | | | | | frees that valgrind noticed
| * r22978: Don't use current_user to prep the security ctx in change_to_user Gerald Carter2007-05-171-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-05-171-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-05-171-2/+2
| |
| * r22975: BUG 4616: Don't return a dns or forest name when replying to the Gerald Carter2007-05-171-7/+7
| | | | | | | | DsDGetPrimaryRoleInfo() and configured for security = domain.
| * r22974: enable relro with PIE if available, this gives extra protection to ↵Simo Sorce2007-05-171-0/+23
| | | | | | | | the ELF segment
| * r22973: Apparently, 3.0.25 broke smb4k badly ;-)Alexander Bokovoy2007-05-171-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-05-161-6/+0
| | | | | | | | | | (slightly truncated by me). Will be in 3.0.25a. Jeremy.
| * r22955: Disable dependency tracking by default.James Peach2007-05-161-0/+6
| |
| * r22954: More messaging_registerVolker Lendecke2007-05-165-27/+32
| |
| * r22953: Well, this apparently has never been tested. But *this* code never saw aVolker Lendecke2007-05-161-6/+5
| | | | | | | | release yet .... ;-))
| * r22950: Fix the issue Volker reported here :Jeremy Allison2007-05-162-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-05-163-60/+102
| |
| * r22942: Some message_register -> messaging_register conversionsVolker Lendecke2007-05-163-42/+75
| |
| * r22934: Change smbcontrol to use messaging_register instead of message_registerVolker Lendecke2007-05-163-25/+87
| |
| * r22932: Use the same symbol in sizeof and cast for talloc.Michael Adam2007-05-161-1/+1
| |
| * r22931: Fix logic in detection of the need to replace dlopen and friends.Michael Adam2007-05-161-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-05-161-1/+2
| | | | | | | | Jeremy, please check this and merge if appropriate.
| * r22929: Attempt to fix some build farm failures: On port 139 the firstVolker Lendecke2007-05-162-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-05-161-8/+8
| | | | | | | | Guenther
| * r22926: Don't use <=0, use < 0 to allow keepalives to propagate up.Jeremy Allison2007-05-161-1/+1
| | | | | | | | Jeremy.
| * r22925: Sync read_and_X with 3.0.26 code (use setup_readX_header()).Jeremy Allison2007-05-161-6/+1
| | | | | | | | Jeremy.
| * r22924: Fix the build by correctly processing readXJeremy Allison2007-05-161-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-05-161-1/+1
| | | | | | | | Jeremy.
| * r22922: Move "normal_read:" label out of ifdef guard. Fix the build.Jeremy Allison2007-05-161-2/+2
| | | | | | | | Jeremy.