summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison2-2/+2
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. (This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)
2003-10-21Fix for bug #64, Win9x Nexus tools not working against Samba3.0. MissingJeremy Allison1-1/+9
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata. Jeremy. (This used to be commit 7eaae388b35cb3d20cdd968b00d65c88fcee5878)
2003-10-21Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problemsJeremy Allison1-1/+1
when reverse connecting back to a client for printer notify. Jeremy. (This used to be commit 06aa434c3fdb139e3f3143d19413556945cbcd4f)
2003-10-21Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>Jeremy Allison3-3/+3
Jeremy. (This used to be commit 63f331564396e7a4f16dce95bb98d3b6c4b75351)
2003-10-20more 2.2.x compatibility fixes - allow user looksup in the kerb5Gerald Carter1-13/+10
sesssetup to fall back to 'user' instaed of failing is REA.LM\user doesn't exist. also fix include line in smb_acls.h as requested by metze (This used to be commit 62ed2598b3441b3c198872df8eb55e594332807b)
2003-10-17Typo broke win9x logins.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4e00cad645635af66b62c6a5568264a09cf340f3)
2003-10-16Tidyup wrap checking.Jeremy Allison3-14/+38
Jeremy. (This used to be commit 41d1870a51c259f0cf17caf59928a3b38b21ea11)
2003-10-16Fix buggy data_len calculation in echo. Add paranoia debug message.Jeremy Allison1-1/+5
Jeremy. (This used to be commit 5332af1124077f49e84836f5cedfbde98336b142)
2003-10-16Ensure error code path doesn't free unmalloced memory. Bug #628.Jeremy Allison1-0/+4
Jeremy. (This used to be commit d817716519e1b2a619a46563ca44812a020a769a)
2003-10-14Enclose usage of st_blksize and st_blocks struct stat members inTim Potter1-0/+2
#ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS, respectively. Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>. (This used to be commit 18adfdbe0c6ed79ba8ac07956b1e7abc226556c3)
2003-10-10Ensure cancelling a blocking lock returns the correct error message.Jeremy Allison1-1/+1
Testing with Samba4 RAW-MUX code. Jeremy. (This used to be commit 533847c95d475921b0421ae113f52c44979939d2)
2003-10-10Make us pass Samba4 lock tester (with one different error message).Jeremy Allison1-0/+3
Jeremy. (This used to be commit 7622a9dbbded8d07f976ec965adca5e92de3d2b0)
2003-10-09Match W2K insanty w.r.t. writelock and writeclose. Samba4 torture tester.Jeremy Allison1-9/+20
Jeremy. (This used to be commit c682fae16a2fa18f951c69ba29b1a576f4e27d6b)
2003-10-09At least give a message if we're returning a short read for W2K compatibility.Jeremy Allison1-2/+12
Jeremy. (This used to be commit 84c993d9cd0bc57a8b8b9aa716af1336620e2c87)
2003-10-09Changes to allow Samba3 to pass the Samba4 RAW-READ tests.Jeremy Allison2-14/+47
Jeremy. (This used to be commit e7565dbba696adbb0fd8cca6b86a1a7e5a655f2e)
2003-10-08Fixup error code returns from Samba4 tester. Ensure invalid paths areJeremy Allison2-39/+169
validated the same way. Jeremy. (This used to be commit 6ad2f0ba27566ab3928ccbbbb3c3a64b09ca139c)
2003-10-07Version of patch from nick@isilon.com (Nicholas Kirsch) for bug #564.Jeremy Allison1-6/+23
Canonicalise SMB_INFO_ALLOCATION in the same was as SMB_FS_FULL_SIZE_INFORMATION. Jeremy. (This used to be commit 166efa30d2d680d8c19529c46ace3db115b43532)
2003-10-06Fix for bug #562 (incorrect mode sum) by h-yamasaki@pd.jp.nec.com.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 7fb8a1bd3880b093a884749fc496cd702480752c)
2003-10-03cleaning out patch list; patch from Steve L. to change the cwd before the ↵Gerald Carter1-3/+3
postexec script (This used to be commit 497e14ba19f4f637e1203d73981ea1c401a19542)
2003-10-02Correct fix for excel read-only bug. Add panic for logic error in developer ↵Jeremy Allison2-6/+7
mode. Jeremy. (This used to be commit f00af98f379463829b1ef62d78dda0365c1d7997)
2003-10-02Fix for not opening Excel 2000 files that are read-only. Needs tidyingJeremy Allison1-3/+4
up but works for now. Jeremy. (This used to be commit 9ad9e0dfafed4558e5ab215991d9912cd44f1127)
2003-09-29Take care of condition where DOS and NT error codes must differ. Found byJeremy Allison1-1/+1
DOS program test by Amir Hardon <hardon@actcom.co.il>. Jeremy. (This used to be commit c11a7e5846002b16d0cb2991b5a7df0636b070d5)
2003-09-26Ensure %S gets expanded in read/write lists.Jeremy Allison1-6/+13
Jeremy. (This used to be commit 7d7096fc3a899349b46691dcc30b86b04964fe52)
2003-09-26Fix for valid users = %S in homes share.Jeremy Allison1-3/+7
Jeremy. (This used to be commit c7f4e56ad5c25d477f20944e5b404ebafda9e1a8)
2003-09-23This only touches the fake kaserver support. It adds two parameters:Volker Lendecke1-1/+3
afs share -- this is an AFS share, do AFS magic things afs username map -- We need a way to specify the cell and possibly weird username codings for several windows domains in the afs cell Volker (This used to be commit 4a3f7a9356cd5068d9ed4fd6e2336d9bf7923fbd)
2003-09-17Fix coredump from Samba4 torture suite.Jeremy Allison2-0/+5
Jeremy. (This used to be commit 9c1bab944526270d2ad79c75894c33f58f8e3845)
2003-09-15Fix OOPS when dealing with mangled names reported by several users.Jeremy Allison1-1/+1
This was my bug when removing a redundant strlen. Jerry - last showstopper I knew about. Jeremy. (This used to be commit 6e6769c20643f784d1b5023df3071a35d2e5bf89)
2003-09-15A *curse* upon the person who #ifdefed out the mangle debug statementsJeremy Allison1-1/+1
by default ! This is code that really needs to be able to be looked at on a customer system if it's misbehaving ! Jeremy (This used to be commit d512650340b3d28db763d018a6b05f6edf165bf0)
2003-09-15Fixed typo in debug.Tim Potter1-1/+1
(This used to be commit e2b5dd7d9b351984c40876f3c86f2a006e0eec42)
2003-09-10Fix for bug #273 - smbd crash on machine account change.Jeremy Allison1-10/+7
Someone only half changed the code to use dc_name instead of remote machine... Found via back trace from Dariush Forouher <dariush@forouher.de>. Jeremy. (This used to be commit 963b24ac1a721a8b0d348b578f25b1d8cb7e2124)
2003-09-08Protect against core dump if ioctl for print job sends invalid fid. FoundJeremy Allison1-1/+5
by Iskantharajah T <is@tracetec.com.my>. Jeremy. (This used to be commit a9f9dd71da41801c975303a385ff229788c9498a)
2003-09-08make sure we substitute basic variables in read/write listGerald Carter1-2/+2
(This used to be commit 52bea54d35e7fb32c7ed7b067c13afe53761affb)
2003-09-07Nobody complained on the team-list, so commit it ...Volker Lendecke1-0/+4
This implements some kind of improved AFS support for Samba on Linux with OpenAFS 1.2.10. ./configure --with-fake-kaserver assumes that you have OpenAFS on your machine. To use this, you have to put the AFS server's KeyFile into secrets.tdb with 'net afskey'. If this is done, on each tree connect smbd creates a Kerberos V4 ticket suitable for use by the AFS client and gives it to the kernel via the AFS syscall. This is meant to be very light-weight, so I did not link in a whole lot of libraries to be more platform-independent using the ka_SetToken function call. Volker (This used to be commit 5775690ee8e17d3e98355b5147e4aed47e8dc213)
2003-09-05More cachegrind tuning, plus fix an error message.Jeremy Allison2-4/+6
Jeremy. (This used to be commit 8cb9ec5d533085d40fc6bfe4ca9647d80bf41ac7)
2003-09-05More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison5-10/+11
as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
2003-09-05fix bug 397: use a variant of alloc_sub_basic() for string lists.Gerald Carter1-1/+4
(This used to be commit 62d5611df0cf86c267d7fe820822d4d019ae28bd)
2003-09-04Fix UNIX passwd sync properly. I've finally understoodJeremy Allison2-99/+63
the as_root parameter has bugger all to do with who you *currently* are, and everything to do with who you run the script as. Doh ! Jeremy. (This used to be commit 17a241d9f788b63fec091001cb72d34c09cf32a4)
2003-09-04Used cachegrind to track down some bottlenecks.Jeremy Allison1-0/+4
Removed calls to clobber_region when not compiling with developer as they were hiding speed problems. Added fast path to convert_string() when dealing with ascii -> ascii, ucs2-le to ascii and ascii to ucs2-le with values <= 0x7F. This gives a speedup of 22% on my nbench tests. Next I will do this on convert_string_allocate. Jeremy. (This used to be commit ef140d15ea0d76a3e7cdcadbfd3e917c210a9411)
2003-08-28Fix bug found by tridge in 2.2.x. Ensure that %U substitution isJeremy Allison1-1/+1
restored on next valid packet if a logon fails. This has relevence if people are using su.exe within logon scripts ! Jeremy. (This used to be commit d405a93a9d3f9a1d93bb3289b00683fba3160bbe)
2003-08-27Fix bug 327 (again and I think for the last time). Make sure thatGerald Carter1-463/+0
pam_smbpass.so will load ok. Had to move some functions around to work around dependency problems (hence the new passdb/lookup_sid.c) Also make sure that libsmbclient.a is built and installed when we support shared libraries. (This used to be commit 780055f4422f11fb0524ac1f003cdc5f317f8b19)
2003-08-27Check for embedded mb chars when testing for illegal characters like /.Jeremy Allison1-1/+23
Should fix mangling for Japanese language. Jeremy. (This used to be commit a238bcc440e310a9ea7800e4fb0b4d39c1f0a0d7)
2003-08-27Fix initial debug.Jeremy Allison1-1/+1
Jeremy. (This used to be commit bd40da06352184ed1c4bcaf3449dcdc7fdc59bbd)
2003-08-27Remove completely unneeded malloc/free out of this codepath.Jeremy Allison1-12/+11
Jeremy. (This used to be commit fda254169778cc3fa9c226473b5a1f95c17c99a7)
2003-08-26adding some debugs while tracking down a bugGerald Carter1-0/+5
(This used to be commit 627ff578613b8762415cc03cbbaff68e70f96dbf)
2003-08-25Fix memleak.Volker Lendecke1-1/+3
(This used to be commit afbf15f94189f50cd447d9bcdebbc4886800b05a)
2003-08-20Attempt to fix the charcnv issues causing nmbd to crash. If we get a failedJeremy Allison1-1/+1
conversion simply copy as is. Also fixed the horrid malloc-twice-copy code in the convert alloc path. Jeremy. (This used to be commit cfde7477fd12caef943a9422b52174438092a135)
2003-08-20metze's autogenerate patch for version.hGerald Carter2-2/+2
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-19Fix BUG #314: api_netUserGetGRoups() was failing prematurelyGerald Carter1-7/+59
(also fixed the call to return the real groups and not a mocked up list) Fixed simple compiler warning in srv_lsa_ds.c (This used to be commit 6b0e38e01a44d87b844d973318accc456abef857)
2003-08-19Implement SMBexit properly. Found by Samba4 tester. You must do a makeJeremy Allison3-0/+23
clean proto all; after this commit. Jeremy. (This used to be commit 27af1f9feab12542dc538bfceac4593e644ba3b4)
2003-08-19Fix flush of 0xFFFF - found by Samba4 tester.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 8a5c97fa07eacd4cecb5afd9c197352dfa613b9f)