summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2265: Volkers change to HEAD looks very good. Commit messageJeremy Allison2-5/+20
from HEAD follows : While torturing winbind a bit I found the following unfortunate behaviour: Sending multiple requests at a high rate for a slow operation exposed that no response comes back until the last request in the queue has been processed. This is an unfortunate result of serially going through all sockets> that have shown to be readable or writable. All client sockets become readable> at the same time, none of them is writable. We go through them, read the request, process the complete request. Before we enter the select system call the next time all requests have to have completed. This patch optimizes this by first looking at the sockets for writability. A write on a socket that came back from select does not block, so this additional loop might have a non-zero cost, but it can't prevent other operations from proceeding. After a possibly long-running winbindd_process() we directly start select() again. To avoid starvation the currently processed client is demoted to be the> last one in the list of clients. Jeremy. (This used to be commit bfdeb22c69d09eb73305b6034fa6d0ec67275789)
2007-10-10r2264: Fix for #1741. Define a struct nss_groupsbymem (thanks lukeh!) forTim Potter1-0/+22
HPUX 11 which doesn't have one of its own. (This used to be commit 3d275d1eee9644651dcbb61a342648e878fe3506)
2007-10-10r2263: When testing whether building shared libraries actually works, useTim Potter1-4/+5
$SHLD and $LDSHFLAGS instead of $CC, $CPPFLAGS and $CFLAGS as this is more likely to actually work. Bugzilla #1731. I'm checking this in to 3.0 so it can hit the build farm and flush out any problems with other architectures. With a bit of luck this should go in to Samba 3.0.8. (This used to be commit a754f29ef819e1cf7ea31c117e5ef1487cb5cb5e)
2007-10-10r2261: fix getdc mailslot checks; testing with Windows 98se, WinME, WinNT ↵Gerald Carter1-3/+3
4.0/200x/XP (This used to be commit 8ad147508ac653698ebacf9fd19fc5eb5863db28)
2007-10-10r2258: Attempt to fix Bug 1715. Not sure if all of ldapsam_compat works now, ↵Volker Lendecke1-0/+7
but this definitely fixes two segfaults. Volker (This used to be commit 270740189995c56c4d0341aeded364efffec86f2)
2007-10-10r2248: Merge of tridge's PRINTF_ATTRIBUTE fixes from samba4.Tim Potter2-2/+11
(This used to be commit 53bfb76608efa347d5fe154c5583a5e8e3d53740)
2007-10-10r2246: Some good fixes for HPUX from JBravo on #samba-technical:Tim Potter1-0/+39
- Fix linker options so that stuff actually builds (oops - part of this commit was accidentally made in -r2245) - Add some preprocessor magic to avoid warnings being printed for every single C file being compiled. This was due to a bug in the HPUX system header files. This should make the HPUX build farm machine build again. (This used to be commit 46b9d6dcb5bdd47ea82f904d8fac4efe8dc94c9f)
2007-10-10r2245: Typo fix from trunk.Tim Potter1-2/+2
(This used to be commit 93ddf001e3e079fd1d17096afd91eb93ae17474f)
2007-10-10r2239: Fixup formatting errors in TDB_LOG calls. Add printf attribute ↵Jim McDonough2-2/+5
support to tdb log functions. (This used to be commit 67c737118faaeae9bd723516ea60657046e135a8)
2007-10-10r2233: fixed 3 places where == is mistakenly used instead of = in bourneAndrew Tridgell1-3/+3
shell script statements in configure. (This used to be commit 8470968cc6884605cdf2587a2c7f9ecf7b46ded6)
2007-10-10r2231: Fix iconv.c to use the Samba-supplied uint8 type not the uint8_t ↵Paul Green1-4/+4
type, which does not exist on all platforms. (This used to be commit acc793ead7e61f1eb87864b676d26f5791367228)
2007-10-10r2224: Make nmbd more robust against bad netbios packets.Jeremy Allison3-7/+146
Jeremy. (This used to be commit dd9b17abd6b32c090840c1a0b797fd774711cb3a)
2007-10-10r2219: Remember to count bad_components only on pathname boundaries.Jeremy Allison1-2/+2
Jeremy. (This used to be commit ee8ac9e51a0aefd41df56de4d6deac522bdee4a3)
2007-10-10r2215: I think I'm really close now. The key is to count the number ofJeremy Allison1-22/+29
bad components once you've hit one, and keep track of how many there are (going up a level removes one - maybe it needs to be ./ in order to be removed, need to check). And remember to change the error code return depending on whether you're called from ff or chkpath. Jeremy. (This used to be commit beda1aee795971fa600af65caa749694bb0dfea5)
2007-10-10r2213: Optimisation. Passes masktest against W2K3.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 5dc3324c4f1ae10c96b6d385531369e0eeee4c40)
2007-10-10r2198: Correct fix for #1360. Need to use -Wl when passing flags to the linker.Tim Potter1-1/+1
(This used to be commit 274a1eda7863368a0d46aed6600c29ec5e30f406)
2007-10-10r2196: This error code change is incorrect. Still working on it...Jeremy Allison1-5/+0
Jeremy. (This used to be commit 3dbd822f5e4a241ac12fa6c75de93013f80f00f4)
2007-10-10r2194: Here is the efforts of much pain reproducing W2K3 pathnameJeremy Allison2-72/+87
parsing. :-(. One more check for CreateFile() needed. Jeremy. (This used to be commit 294e2021b34c806900ec65ecbf17d9038ac6229a)
2007-10-10r2191: ensure that we assign our pid to print jobs (and not our parent's ↵Gerald Carter1-17/+8
pid); ensures that spooling jobs from dead smbds are removed from the tdb (This used to be commit 9e42d016e1fee9ac999dadc383eb5db45ed79b00)
2007-10-10r2190: disable 'winbind enable local accounts' by default (had to be done ↵Gerald Carter1-1/+1
doctor) (This used to be commit 1f71295801c7af554fba293069e52666083d7bc5)
2007-10-10r2188: adding some initial checks for DragonFly (same as FreeBSD 4.1)Gerald Carter1-3/+4
(This used to be commit dd84bedaca9c8e802fc4cae5b73128c94f38c086)
2007-10-10r2177: use the correct counter when copying group rids from the user_info3 ↵Gerald Carter1-3/+3
struct; patch from Dimitri van der Spek <dwspek@aboveit.nl> (This used to be commit aa89806deb9d4c9cbd23ccdd41bb98346e395078)
2007-10-10r2175: Fix for #1546 from fumiya@samba.gr.jp. Preserve errno in MB ↵Jeremy Allison1-0/+6
strupper_m/strlower_m. Jeremy. (This used to be commit 615aa6e914e6bc3691156a3b80244fc98d8ecc56)
2007-10-10r2163: converted samba3 to use the new utf-16 aware iconv code. Also changedAndrew Tridgell1-64/+208
iconv to recognise UCS-2LE and UTF-16LE as synonyms, which means this change should be more robust when applied in trees that treat UCS-2LE or UTF-16LE as correct. (This used to be commit 92c9fcaec4299ddc16f9d6568a695b1fe161be33)
2007-10-10r2160: fixed the uuid pack/unpack routines (they could go past the end of ↵Andrew Tridgell1-52/+14
the UUID structure) (This used to be commit 43cf57e86bfae3ab68e97c2238338581411eb2ff)
2007-10-10r2157: This parameter in loadparm appears compleatly unused.Andrew Bartlett1-2/+0
Andrew Bartlett (This used to be commit 3dabe879f74d2ea3b379a00a3778ee76051a359a)
2007-10-10r2155: Reformat, plus steal from Samba4 :-).Jeremy Allison1-233/+259
tridge: the lp_use_mmap() in map_file() is inappropriate for 2 reasons, so I have removed it. - lp_use_mmap() is really meant to cope with systems that have broken mmap coherence, but map_file() doesn't need coherence, as its maps read only - map_file() is used to map the charset files before loadparm has loaded, so lp_use_mmap() is always returning false for the major use of map_file() Jeremy. (This used to be commit 3716dbc0cb9a8ca4027217b24dbf62a62f44e9f6)
2007-10-10r2152: Fix for bug #1674, move the symlinks checks into reduce_name().Jeremy Allison2-40/+20
Jeremy. (This used to be commit 341771857fecf9ef72a436c42e0571d486fa0dde)
2007-10-10r2150: Fix parsing of names ending in dot and a few other error returnsJeremy Allison1-16/+11
(commit to Samba4 smbtorture will exercise these fixes). Jeremy. (This used to be commit ff20dacc68c78b8d30993712366af30a64e960aa)
2007-10-10r2147: Fix utility name in error message (pre-emptivly merged to trunk ;-)Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 657bb14789bcec65668d072fec0f954d1e5322ef)
2007-10-10r2137: This is a patch I've been running at Hawker for a while.Andrew Bartlett1-19/+29
The purpose of this patch is to avoid changing the machine account password, when it has 'already been changed'. This occours in situations where the secure channel between the workstation and the DC breaks down, such as occoured in the MS04-11 security patch. This avoids LDAP replication load issues, due to the client changing the password repeatedly. We also now set the LM password to NULL explicitly, rather than the NT password value, as this is what we get out of a vampire, or when a long password is set (as XP seems to do these days). Andrew Bartlett (This used to be commit 1ad1317a815898b52b1803211ab7b502e331e782)
2007-10-10r2135: BUG 1464: make sure that printing commands are initialized even if ↵Gerald Carter1-3/+2
the 'printing' parameter is not explicitly set (This used to be commit 8ae57a8e8d7334bc0feb2c8afb673bd5c53bffca)
2007-10-10r2133: Several fixes:Gerald Carter9-266/+275
* BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 and 5.1 patch from Olaf Flebbe <o.flebbe@science-computing.de>. Will need to watch this one in the build farm. * Fix bug found by rwf@loonybin.net where the PRINT_ATTRIBUTE_PUBLISHED was getting reset by attempts to sanitize the defined attributes (PRINTER_ATTRIBUTE_SAMBA) * Resolve name conflict on DEC OSF-5.1 (inspired by patch from Adharsh Praveen <rprav@india.hp.com>) * Work around parsing error in the print change notify code (not that the alignment bug is still there but reording the entries in the array works around it). * remove duplicate declaration of getprintprocdir from rpcclient. (This used to be commit 7474c6a446037f3ca2546cb6984d800bfc524029)
2007-10-10r2131: Fixup format string. The magic value format specifier was missing, soJim McDonough1-1/+1
the logged offset was really the magic value, and the true offset was never displayed. (This used to be commit 30da4e777191c557226d5615cee5a9e28b198a8b)
2007-10-10r2116: Ensure statcache has large enough tdb memory hash size (1031).Jeremy Allison1-1/+1
Jeremy. (This used to be commit dad4d65787df7bd28351cb8f8724d3ae5387ca12)
2007-10-10r2114: Shameless theft of iconv commit from Samba4 to keep the two libs more ↵Jeremy Allison5-39/+69
in sync :-). try to cope with a wider range of UTF-16 characters when we are using an external libiconv library. Jeremy. (This used to be commit 5d04cd6804f6fc3b556e7c3b53fa0d7af39797c1)
2007-10-10r2112: Simplify the mangle hash code to use an in-memory tdb.Jeremy Allison4-167/+59
Should be ready for the new directory code now... Jeremy. (This used to be commit c2eff8ef1b65570d2e590f62f026cc18f9142652)
2007-10-10r2111: Fix memleak with valid names.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 3f0707132afc66109701766528cb0bd1e1c7cd8c)
2007-10-10r2093: Fix for Bug 1416. This must have been a cut&paste error from add_gid....Volker Lendecke1-3/+0
Thanks to Jonas Olsson for the bug report & fix. Volker (This used to be commit de0eaf7be7d0c3aaf4e17b63653ca68b4332c982)
2007-10-10r2091: only use sAMAccountName and not userPrincipalName since the breaks ↵Gerald Carter1-0/+6
winbindd (lookup_name() only works with the sAMAccountName) -- *please* test this change. My tests all pass but there is probably something I missed (This used to be commit 2bf08aaa37f41681b3154514792bf29a3abfdbfd)
2007-10-10r2090: fix formatting that was bugging meGerald Carter1-36/+18
(This used to be commit 5d3ba1fac0ccb7024b72fd3a672e14fab062ef0b)
2007-10-10r2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling ↵Gerald Carter3-4/+13
in the username in the user_info3 (This used to be commit 4703a71fa88dff8bdc932f6c9af3a9d25a88938f)
2007-10-10r2083: Fix memleak on return code path.Jeremy Allison1-5/+6
Jeremy. (This used to be commit b0af241fd1fc58c1cbaadcbf6832b608923382ff)
2007-10-10r2082: lp_path should be lp_pathname.Jeremy Allison2-2/+3
Paranoia fix on mangle prefix. Jeremy. (This used to be commit cc91bbe20d9cb26e52ad417f279e2d60c85af2dc)
2007-10-10r2080: Remove last traces of static migration to localhost. Needed to allow aGünther Deschner4-24/+31
local netbios-alias bound to non-loopback interface as a migration target. It's now possible to migrate printers|shares|files from Server A to Server B while running the net-command on client C. Guenther (This used to be commit 0cfd2866dfe5e959ede169a77c39480790300de3)
2007-10-10r2079: Clear the publish-bit from the attributes-mask when migratingGünther Deschner1-0/+6
printer-settings. publishing-info is not handled yet. Guenther (This used to be commit 1d76adb93c98857ed3460db241847e423c021a99)
2007-10-10r2077: fix logic bug in the check for creating a user's home directory in ↵Gerald Carter2-11/+18
register_vuid(); add a few extra debug lines (This used to be commit 02571e7f5040a577840c969ff9c46a1e533edc21)
2007-10-10r2076: Removed old dir caching code - not being used now we have theJeremy Allison4-127/+3
statcache anyway. New dir caching will be done on nanosecond timestamps. Jeremy. (This used to be commit ba473a580245430009245a4c8b8dcaf9fc4b6406)
2007-10-10r2073: Adding getprinter level 7 to rpcclient.Günther Deschner3-0/+40
Is there any other rpc-call to get the guid of a published printer? Guenther (This used to be commit 944ad569c7a88e1d2f14311eed10f80ea9861963)
2007-10-10r2070: Let's try to overload srnlen and strndup for AIX where they are natly ↵Simo Sorce2-2/+4
broken. (This used to be commit 98feb3318f54bb48ce56fc8f4721fec4967b9dd9)