summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* I finished removing timestring() calls from DEBUG() messages. Also wentChristopher R. Hertel1998-08-037-59/+96
| | | | | | | | | | through and changed some DEBUG() calls to DEBUGADD() to combine output under a single timestamp. There were too many timestamps. Note that Jeremy has told me that he's working on adding a config parameter to turn timestamps off. Cool. Chris -)-----
* Fixing clitar.c so that tar to stdout works correctly.Richard Sharpe1998-08-031-9/+9
| | | | | | | | | | Replaced printfs with DEBUG(0. Tested ... Works. Hope I didn't disturb the autoconf code ... It feels great to be able to run configure for Samba at long last! Regards Richard Sharpe
* This is the remaining set of changes needed to replace the changes lostChristopher R. Hertel1998-08-031-11/+7
| | | | | | | | when Andrew and I were both working with util.c. I really don't know how I lost the autoconfigure changes (honest, I *did* run frequent updates). Chris -)-----
* I have fixed some of the autoconfigure problems. I'm studying the diffsChristopher R. Hertel1998-08-031-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 -)-----
* As per a Andrew's message, I went through and removed the timestring()Christopher R. Hertel1998-07-3116-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 -)-----
* Debugging functions are now in their own module.Christopher R. Hertel1998-07-311-0/+533
| | | | Chris -)-----
* This is the checkin of the debug changes.Christopher R. Hertel1998-07-314-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 -)-----
* added test for getpwanam().Andrew Tridgell1998-07-314-75/+102
|
* Makefile.in: Moved UBIQX stuff into UTILOBJ.Jeremy Allison1998-07-3011-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.
* In addition to the HAVE_FUNCTION_MACRO test that Andrew used as an example,Christopher R. Hertel1998-07-302-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 -)-----
* added HAVE_FUNCTION_MACRO testAndrew Tridgell1998-07-304-72/+100
|
* fixed sin_len test for FreeBSDAndrew Tridgell1998-07-302-72/+74
|
* fixed a make proto bug pointed out by Chris.Andrew Tridgell1998-07-301-1/+1
|
* updated prototypesAndrew Tridgell1998-07-291-0/+1
|
* fixed a bug in the replacement inet_ntoaAndrew Tridgell1998-07-291-1/+1
|
* test for a broken inet_ntoa and replace it if necessary (forAndrew Tridgell1998-07-296-43/+110
| | | | IRIX+gcc-2.8.1)
* ignore the auto-generated dummy fileAndrew Tridgell1998-07-291-0/+1
|
* added Makefile to .cvsignore in the hope that this will prevent peopleAndrew Tridgell1998-07-291-0/+1
| | | | from committing changes to it.
* get rid of the runtime test for broken getgroups() and add a compileAndrew Tridgell1998-07-2912-147/+196
| | | | | time test instead. This also allows us to get rid of the igroups element of a couple of structures.
* removed some feedback request comments - we get enough email :)Andrew Tridgell1998-07-291-7/+0
|
* updated the UNIX install instructions to include ./configureAndrew Tridgell1998-07-291-10/+4
|
* hopefully permissions are right nowAndrew Tridgell1998-07-291-0/+4791
|
* still trying to get permissions right - CVS doesn't commit permissions ↵Andrew Tridgell1998-07-291-4792/+0
| | | | changes it seems
* checkin configure again in order to get permissions rightAndrew Tridgell1998-07-291-0/+1
|
* some merge cleanupsAndrew Tridgell1998-07-299-0/+1726
|
* merge from the autoconf2 branch to the main branchAndrew Tridgell1998-07-2969-3213/+8356
|
* locking.c: Print messages when we downgrade a lock.Jeremy Allison1998-07-294-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.
* locking.c: Don't need to do map_lock_type on *testing* a lock, just on setting.Jeremy Allison1998-07-281-2/+7
| | | | Jeremy.
* loadparm.c: Added strict sync parameter.Jeremy Allison1998-07-285-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.
* chgpasswd.c: Fixed up debug calls to stop crashes if ptsname failed.Jeremy Allison1998-07-278-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
* Cleaned up some testing code and made it more "permanent" looking. TheChristopher R. Hertel1998-07-251-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
* Noticed that I was using the strlen() of a string that I had strdup()'dChristopher R. Hertel1998-07-251-1/+1
| | | | before testing that the strdup() worked. Fixed.
* Converted the browser database to a ubi_dLinkList. This should reduce codeChristopher R. Hertel1998-07-244-141/+175
| | | | | size, etc. Also did a bit of work to add comments. Chris -)-----
* Changed the definition of the linked list header used in the directoryChristopher R. Hertel1998-07-241-1/+1
| | | | cache so that it uses the new ubi_dlNewList() macro in ubi_dLinkList.h.
* To each list type, I added a macro that makes it easier to define andChristopher R. Hertel1998-07-244-19/+54
| | | | initialize a list header.
* Updates smbstatus to have a -S and -L flag.Richard Sharpe1998-07-242-71/+105
| | | | | | Also updated the documentation :-) The code is ugly, we need to rewrite smbstatus someday.
* locking.c: Added lock type to is_locked() and do_lock()Jeremy Allison1998-07-236-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.
* Fixed bug found by Richard Sharpe. After increasing files_struct size byJeremy Allison1998-07-226-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.
* includes.h: Added feature type USE_GRANTPT for pty code.Jeremy Allison1998-07-222-6/+14
| | | | | chgpasswd.c: Updated to use USE_GRANTPT feature definition. Jeremy.
* Forgot to increase size of files_struct by MAX_OPEN_DIRECTORIES inJeremy Allison1998-07-171-1/+1
| | | | | previous checkin. Jeremy.
* Code added to fix the renaming of a directory under NT SMB calls.Jeremy Allison1998-07-177-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.
* nttrans.c: Added FILE_EXECUTE to required permissions checked.Jeremy Allison1998-07-172-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.
* local.h: Added NTFS define if HAVE_NT_SMBS is defined.Jeremy Allison1998-07-172-5/+14
| | | | | nttrans.c: Fixed issue with access DELETE on renaming files. Jeremy.
* Makefile: Added nttrans.oJeremy Allison1998-07-166-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.
* Makefile: Added CC=gcc to DGUX on Intel. Comment from ross@filmworks.com.Jeremy Allison1998-07-166-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.
* util.c: I've added a function called mem_dup(). Similar to strdup(),Christopher R. Hertel1998-07-152-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().
* loadparm.c:Jeremy Allison1998-07-146-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.
* Added strupper() function call to up-case the scope field in theChristopher R. Hertel1998-07-141-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 -)-----
* nntrans.c: Fully implemented transact rename.Jeremy Allison1998-07-114-7/+44
| | | | | | reply.c: Added NT specific rename if exists flag to rename_internals(). smb.h: Added NT rename flag. Jeremy.
* nttrans.c: More NT SMB stuff.Jeremy Allison1998-07-114-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.