summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1998-08-03I have fixed some of the autoconfigure problems. I'm studying the diffsChristopher R. Hertel1-9/+13
for the rest. I've found that only debug.h seems to be out of sync (i.e., util.c itself appears to be okay). Chris -)----- (This used to be commit b41cdbffb7233f73ac15526f7b5499658256cd82)
1998-07-31As per a Andrew's message, I went through and removed the timestring()Christopher R. Hertel16-273/+341
timestamps from several DEBUG messages. The timestamps are redundant now that DEBUG() provides them automatically. There are still a few more files to do, but I've got to get home for dinner. Chris -)----- (This used to be commit 60286ccecaa6028d687e6406755016455e3b3a26)
1998-07-31Debugging functions are now in their own module.Christopher R. Hertel1-0/+533
Chris -)----- (This used to be commit 2c6dc2779647bbc0c27a102632882e617ef7643e)
1998-07-31This is the checkin of the debug changes.Christopher R. Hertel4-293/+70
Makefile.in: I've added debug.o. proto.h : Rebuilt, as is standard for these sorts of things. smb.h : New macros, etc. util.c : Debug code removed. I'll check in debug.c in the next step. Chris -)----- (This used to be commit 653c17c1b8e34bfbd05ea35ada9436a50d5a7ba4)
1998-07-31added test for getpwanam().Andrew Tridgell4-75/+102
(This used to be commit 4eb28f7148f61a215ca644cbe704a4e8dbd83a77)
1998-07-30Makefile.in: Moved UBIQX stuff into UTILOBJ.Jeremy Allison11-270/+415
loadparm.c: Added "ole locking compatibility" option (default "true"). locking.c: Changes to implement union in files_struct. locking_shm.c: Changes to implement union in files_struct. nttrans.c: Made opening a directory explicit (we have to). Added create directory code for nttrans. reply.c: Changes to implement union in files_struct. server.c: Changes to implement union in files_struct. Added create directory code. trans2.c: Changes to implement union in files_struct. smb.h: Changes to implement union in files_struct. util.c: Changed linked list code to UNIQX linked list. This will make the other lists I need to implement for ChangeNotify and blocking locks easier. Jeremy. (This used to be commit 3a5eea850bb256b39cff8ace1e4fb4e0c1f5472b)
1998-07-30In addition to the HAVE_FUNCTION_MACRO test that Andrew used as an example,Christopher R. Hertel2-0/+7
I also need to know if the __FILE__ macro exists. I followed the example, but ran into two problems: 1) I don't have the autoconf tools installed. 2) The instructions did not say which files should be checked in after running autoheader and autoconf. So I'm checking in the modified acconfig.h and configure.in on the assumption that the next time someone runs autoheader and autoconf my new tests will be included. Hope that's not a problem (and I'll try to grab a copy of autoconf from somewhere). Chris -)----- (This used to be commit 0637a49d5d6c03f10d462be4e92c4e4bbf7ff6c2)
1998-07-30added HAVE_FUNCTION_MACRO testAndrew Tridgell4-72/+100
(This used to be commit cae580ccc397ea33fdb24a777bdedef6e8271244)
1998-07-30fixed sin_len test for FreeBSDAndrew Tridgell2-72/+74
(This used to be commit 15b666a0cebb994b6ed96c75716946afdbfa2861)
1998-07-30fixed a make proto bug pointed out by Chris.Andrew Tridgell1-1/+1
(This used to be commit fc1947b52a37bf2c0739091f3dbd84c4a9781d93)
1998-07-29updated prototypesAndrew Tridgell1-0/+1
(This used to be commit 0bdb51af3199eb32cd3da4c4b8d31fbed5d2ae85)
1998-07-29fixed a bug in the replacement inet_ntoaAndrew Tridgell1-1/+1
(This used to be commit 32bd7137122eedf44dbb092da5ae3106d8fe994e)
1998-07-29test for a broken inet_ntoa and replace it if necessary (forAndrew Tridgell6-43/+110
IRIX+gcc-2.8.1) (This used to be commit ddffbcbcb1284b6ead5f7f7b6665ba2456c0071a)
1998-07-29ignore the auto-generated dummy fileAndrew Tridgell1-0/+1
(This used to be commit f4c629bde2bbcb0cfa4d6f5cb1aa7edddf569fac)
1998-07-29added Makefile to .cvsignore in the hope that this will prevent peopleAndrew Tridgell1-0/+1
from committing changes to it. (This used to be commit a7d4e6697fb724def740b8bbfc3e88ae651cc20e)
1998-07-29get rid of the runtime test for broken getgroups() and add a compileAndrew Tridgell12-147/+196
time test instead. This also allows us to get rid of the igroups element of a couple of structures. (This used to be commit 8b25fe734166b76ceebf8d9543c706ebe0fddc96)
1998-07-29removed some feedback request comments - we get enough email :)Andrew Tridgell1-7/+0
(This used to be commit 19aa9a1c95d357e1041e9a3ece89d7bb3cc6f6ac)
1998-07-29updated the UNIX install instructions to include ./configureAndrew Tridgell1-10/+4
(This used to be commit 8d916f3fdb8eeea179f25028adc2a60f2e4e9b24)
1998-07-29hopefully permissions are right nowAndrew Tridgell1-0/+4791
(This used to be commit e7b6e8ef618029e6b2c372afcbf3f158217b04bd)
1998-07-29still trying to get permissions right - CVS doesn't commit permissions ↵Andrew Tridgell1-4792/+0
changes it seems (This used to be commit 0cf6529341aa8023137222c94b0895ff555b8791)
1998-07-29checkin configure again in order to get permissions rightAndrew Tridgell1-0/+1
(This used to be commit e16c467303884277c8e6acb6bffe01a27c5e853f)
1998-07-29some merge cleanupsAndrew Tridgell9-0/+1726
(This used to be commit 1d655b7c64231b0aec0548bb90fc3dcc3f37791c)
1998-07-29merge from the autoconf2 branch to the main branchAndrew Tridgell69-3213/+8356
(This used to be commit 3bda7ac417107a7b01d91805ca71c4330657ed21)
1998-07-29locking.c: Print messages when we downgrade a lock.Jeremy Allison4-19/+35
reply.c: Do the same mask expansion we do in trans2.c - needed for Win98. trans2.c: Make the mask expansion into a function call now we have to do it twice. Jeremy. (This used to be commit 7b3a9d6285cc0d1967155a68845e28c6296ecc67)
1998-07-28locking.c: Don't need to do map_lock_type on *testing* a lock, just on setting.Jeremy Allison1-2/+7
Jeremy. (This used to be commit 17f68cc86cafbb04dbd9cc6ecc0aac7b911c9b70)
1998-07-28loadparm.c: Added strict sync parameter.Jeremy Allison5-27/+54
locking.c: Added code to deal with real open mode of file. reply.c: Added strict sync parameter. server.c: Added strict sync parameter. Fixed open modes. Jeremy. (This used to be commit ed57b603b5c9333d588e62d774ad2be67e43ffd9)
1998-07-27chgpasswd.c: Fixed up debug calls to stop crashes if ptsname failed.Jeremy Allison8-39/+20
local.h: Kept FSTYPE_STRING as Samba for now. nmbd_browsesync.c: Added bugfix from Matt Chapman mattyc@cyberdude.com - lmb_browserlist is now a struct ubi_dlList not a struct browse_cache_record *. server.c: smb.h: uid.c: password.c: Removed attrs code - it is not used anywhere. Jeremy (This used to be commit ef1af7fe6d5c58ae57b8e4efff0729e1a315da43)
1998-07-25Cleaned up some testing code and made it more "permanent" looking. TheChristopher R. Hertel1-38/+32
NetBIOS name lists attached to the subnet records are now managed by the splay tree code. I am still working on the WINS database as a separate issue. Code is written, it's just a matter of incorporating it. CRH (This used to be commit 5ba96ddde4a4b2da2cc09190f5c6f0e633852f12)
1998-07-25Noticed that I was using the strlen() of a string that I had strdup()'dChristopher R. Hertel1-1/+1
before testing that the strdup() worked. Fixed. (This used to be commit 899d0d5de5dd9d080d5c4cb94874d4f939427d1b)
1998-07-24Converted the browser database to a ubi_dLinkList. This should reduce codeChristopher R. Hertel4-141/+175
size, etc. Also did a bit of work to add comments. Chris -)----- (This used to be commit d8b0a2104c05df957f0eb49c21388ec5a4858d98)
1998-07-24Changed the definition of the linked list header used in the directoryChristopher R. Hertel1-1/+1
cache so that it uses the new ubi_dlNewList() macro in ubi_dLinkList.h. (This used to be commit 16f0ad0c913e2d5b0198409485c56ad4809ca077)
1998-07-24To each list type, I added a macro that makes it easier to define andChristopher R. Hertel4-19/+54
initialize a list header. (This used to be commit 3c133778f13f690e70b8b5b923e10b5fe561c812)
1998-07-24Updates smbstatus to have a -S and -L flag.Richard Sharpe2-71/+105
Also updated the documentation :-) The code is ugly, we need to rewrite smbstatus someday. (This used to be commit a2a9f55a76fc16ef1d4656332ef6b1b455bb6259)
1998-07-23locking.c: Added lock type to is_locked() and do_lock()Jeremy Allison6-76/+140
as the code in reply_lockingX wasn't taking account of the difference between read and write locks ! How did this ever work :-) ! reply.c: server.c: Add lock type to is_locked() and do_lock(). util.c: Also added code from klausr@ITAP.Physik.Uni-Stuttgart.De to fix problem with log files growing too large if an smbd writes less than 100 debug messages. Jeremy. (This used to be commit 80080abf772a470d5f0f4dcd4a75fb2a09a9fb2a)
1998-07-22Fixed bug found by Richard Sharpe. After increasing files_struct size byJeremy Allison6-14/+16
MAX_OPEN_DIRECTORIES for nttrans I forgot to update the code that enumerates the array. Created new MAX_FNUMS in local.h, changed all code that iterates through the files_struct array to use this. (sorry Richard). Jeremy. (This used to be commit 339b10222269d71c7a493cc08b7b1bfd35fd55fc)
1998-07-22includes.h: Added feature type USE_GRANTPT for pty code.Jeremy Allison2-6/+14
chgpasswd.c: Updated to use USE_GRANTPT feature definition. Jeremy. (This used to be commit 953c5dbbae8c1370e5988619746b508f26cb0390)
1998-07-17Forgot to increase size of files_struct by MAX_OPEN_DIRECTORIES inJeremy Allison1-1/+1
previous checkin. Jeremy. (This used to be commit 7dfaca5d370ccb472d85416c623692ae7ec2176f)
1998-07-17Code added to fix the renaming of a directory under NT SMB calls.Jeremy Allison7-76/+222
local.h: Changed MAXDIR to MAX_OPEN_DIRECTORIES - shmem size also tuned by this. dir.c: Use MAX_OPEN_DIRECTORIES. nttrans.c: Allow opening of a directory to succeed. Doesn't actually open a file descriptor but takes a files_struct slot marked as an fd. reply.c: Changed to close any outstanding is_directory files. reply_close changed to understand directory files. server.c: Added open_directory(), close_directory() calls. smb.h: Added is_directory to files_struct. Changed OPEN_FNUM to check that target is !is_directory (this prevents the normal file calls from processing a directory files_struct. Jeremy. (This used to be commit e01ce693f47e75e277f3440d46e32b0bd866b550)
1998-07-17nttrans.c: Added FILE_EXECUTE to required permissions checked.Jeremy Allison2-11/+13
trans2.c: Fixed up the SMB_QUERY_FILE_ALT_NAME_INFO code, now I've got an NT client to generate it. It uses unicode without bothering to check the unicode bit of course, but now we can execute 16 bit exe's on a WinNT client from a long filename directory (hurrah). Jeremy. (This used to be commit 6c31be7d3ffff6a40bbbac6de53663fa707ac859)
1998-07-17local.h: Added NTFS define if HAVE_NT_SMBS is defined.Jeremy Allison2-5/+14
nttrans.c: Fixed issue with access DELETE on renaming files. Jeremy. (This used to be commit 0fcf167af898a9c7a20fddc0d95c887477a22ed1)
1998-07-16Makefile: Added nttrans.oJeremy Allison6-218/+312
includes.h: Added termios.h for AIX. nttrans.c: Working NT SMB calls ! pipes.c: Use strequal instead of strcmp. server.c: Use #defines rather than numbers. smb.h: Updated NT SMB #defines. Jeremy. (This used to be commit 3e5cada9885059e9926eb6a56d350c4b1b53d245)
1998-07-16Makefile: Added CC=gcc to DGUX on Intel. Comment from ross@filmworks.com.Jeremy Allison6-22/+106
ipc.c: loadparm.c: printing.c: Added code from <Dirk.DeWachter@rug.ac.be> to implement print queue pausing. New parameters are "queuepause command" and "queueresume command". util.c: Added fix for mount options in autmount map. lib/rpc/include/rpc_misc.h: Removed duplicate pipe names for Jean-Francois. Jeremy. (This used to be commit 559a9bf2bbdeae3e76ba9178779cd3a9537c4e91)
1998-07-15util.c: I've added a function called mem_dup(). Similar to strdup(),Christopher R. Hertel2-1/+15
mem_dup() allocates the required memory before copying the source data. It returns NULL if memory could not be allcoated, else a pointer to the newly allocated memory. proto.h: Rebuilt to add the prototype for mem_dup(). (This used to be commit 7f7e265ab457d046441d502d4b8447bc2c966675)
1998-07-14loadparm.c:Jeremy Allison6-115/+119
With apologies to Charlton Heston and Pierre Boule. "You damn fools, you finally did it". Changed default security mode to be security=user. Yes this is a big (although small in code) change. It's something we've been discussing for a while, to finally wean people off the legacy security=share mode which is *never* what you want. Jeremy. nmbd_incomingrequests.c: Bug fix for nmbd core dumps caused by overrun. Found by <samuel@public.szonline.net>. nttrans.c: More NT smb stuff. reply.c: Unlink will overwrite an existing file. Well you learn something new about POSIX every day. :-). server.c: Tidyup unreadable code. smbpasswd.c: Code to allow -U remote_username to allow ordinary users to change remote passwords if their NT username is different from their UNIX username. Patch from <torbjorn.lindh@allgon.se>. Jeremy. (This used to be commit 4eccb47cfb3c8907a6558b6ea9a02b0184458e34)
1998-07-14Added strupper() function call to up-case the scope field in theChristopher R. Hertel1-6/+7
make_nmb_name() function. Database lookups (eg. gdbm) will often use byte-by-byte comparisons, so it is important that the case and padding are correct. Chris -)----- (This used to be commit d64ca4250ff0df4ceffe49b7d462df699a6981b4)
1998-07-11nntrans.c: Fully implemented transact rename.Jeremy Allison4-7/+44
reply.c: Added NT specific rename if exists flag to rename_internals(). smb.h: Added NT rename flag. Jeremy. (This used to be commit b398f7daf58459db6e8d3496502abeb634ac2183)
1998-07-11nttrans.c: More NT SMB stuff.Jeremy Allison4-76/+104
reply.c: Broke out the internals of reply_mv so that they may be called externally from the NT transact rename. server.c: Changed stat calls to sys_stat - found in code review of bugfix. Jeremy. (This used to be commit fb19dad88edfd7a5c7257a15afc9253fb41f4b99)
1998-07-10Fix for bug PR#8294 reported by <detlef.lammermann@er.materna.de>Jeremy Allison2-2/+9
- the Files array was storing the 'dos_to_unix' translated name, rather than the untranslated name. This could case problems when the name was run through dos_to_unix again. Jeremy. (This used to be commit 5f4be1498f7c907a539fe9b5998dfbcaa9e20e20)
1998-07-10AIX patch from Michael Wojcik <mww@microfocus.com> adding detailJeremy Allison1-4/+135
to the AIX specific (and undocumented) setpriv and setuidx calls. Jeremy. (This used to be commit 7a8d0a4ed4e07090bfe776b5544712274d2426e4)
1998-07-09Needed fix to SIGHUP handling donated by branko.cibej@hermes.siJeremy Allison1-8/+29
(I can't believe we've had that bug so long :-). Jeremy. (This used to be commit 4d26757776af2aaba9cdaf4c956fab29bfde1599)