summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1998-08-14this is the bug change to using connection_struct* instead of cnum.Andrew Tridgell49-3823/+3885
Connections[] is now a local array in server.c I might have broken something with this change. In particular the oplock code is suspect and some .dll files aren't being oplocked when I expected them to be. I'll look at it after I've got some sleep. (This used to be commit c7ee025ead4a85b6fa44a832047b878451845fb6)
1998-08-14remove an unused variableAndrew Tridgell1-1/+0
(This used to be commit 6f9228b01131d0fad464971297393ccb8a15703f)
1998-08-14define INADDR_NONE if not already definedAndrew Tridgell1-0/+4
(This used to be commit 7446540017e29827900981cab5ae3a2f9f7b3ce6)
1998-08-14Makefile.in: Changed so that make proto will work with ldap & nisplus.Jeremy Allison4-22/+156
locking/locking.c: Made #ifdef'ed out functions static for Make proto. lib/util.c: Re-instated old mask_match code for UNIX filesystem checks only. Client calls use the new mask_match code. Changed the name of the old function to unix_mask_match. Jeremy. (This used to be commit b68e756ff57622c6c74f28031d4be964d7b1c9bc)
1998-08-13Added the '--with-netatalk' option to turn Netatalk support on atJohn Blair1-0/+18
compile-time. (This used to be commit 2ba4b66a74cfe736cf2a64ba99b1ab3d83878fc6)
1998-08-13Added the APPLEDOUBLE macro for the name of the directory containingJohn Blair1-0/+3
a file's Macintosh resource fork (normally .AppleDouble under Netatalk). (This used to be commit 1313451f2161f69d33e7f1d41a1bf5615f61014c)
1998-08-13Uh... I'm checking stuff in. Jeremy will by *so* pleased :)John Blair1-0/+159
netatalk.c contains the meat of the code required to move Macintosh resource forks around when Windows users manipulate files created by a mac. This allows for greater integration between netatalk and Samba, but is, of course, potentially a recipe for disaster. All the netatalk related code is insulated by #ifdefs from the standard build. (This used to be commit 05a5243d841cecd128e29379eab2a2784262ccc7)
1998-08-13move smbd/print_svid.o from SMBD_OBJ1 to PARAM_OBJ so that nmbd, swat, etc.Herb Lewis1-2/+2
will link when SYSV is defined. We may want to restructure this later and move this to param instead of smbd ??? (This used to be commit 3eff609b7a44c668ec866a2c978fcbe89a282935)
1998-08-13return to old behaviour of dumping ALL parametersHerb Lewis1-1/+1
(This used to be commit aa5648ce833a13b202e4d3e5304494c3bab6855f)
1998-08-13HAVE_STATVFS should be STAT_STAVFS (caused printing to break on IRIX).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 83c54b01ba6c891a0587a80aa083594ddda9a680)
1998-08-13More blocking lock code - still #ifdef'ed out - under development.Jeremy Allison1-10/+170
Jeremy. (This used to be commit c9695bdf2e22c3081841f116af37340308d447aa)
1998-08-13Debug output formatting change. I'm trying to combine log lines thatChristopher R. Hertel1-4/+4
really should be together. Chris -)----- (This used to be commit 8880fc58fa61edfd5a83cc75ef627b430b8a4437)
1998-08-12Changed a call to fflush(dbg) to dbgflush().Christopher R. Hertel1-1/+1
(This used to be commit c626828471cf3d63dd74a4dd52b234f0aebd3fe5)
1998-08-12I've added a dbgflush() function to debug.c. Calling this will cause theChristopher R. Hertel2-6/+32
debug format buffer to be written out (and reset). fflush() is also called to force the issue. I replaced the call to fflush() in client.c with a call to dbgflush(), which seems to have fixed the problem that Andrew was working on (i.e., that the prompt was not displayed when using smbclient). Chris -)----- (This used to be commit a97460869fe1448be5132fdab586d30872d21a69)
1998-08-12fixed the nested comment - Jeremy, do you want that unbecome_user() orAndrew Tridgell1-2/+1
not? (This used to be commit 638ee7d265982ca95ae7f49e2a84431bdf147c21)
1998-08-11include/smb.h: Removed dir_ptr. Not needed.Jeremy Allison7-108/+241
locking/locking.c: First cut a blocking lock code. #ifdef'ed out for now. locking/locking_shm.c: Removed dir_ptr. Not needed. smbd/nttrans.c: More work on ChangeNotify - return is not an error and needs to be handled as a nttrans with zero params. Removed dir_ptr. Not needed. smbd/reply.c: smbd/server.c: smbd/trans2.c: Removed dir_ptr. Not needed. Hmmm. At the moment smbclient is broken - doesn't issue prompt correctly. This needs looking at. Jeremy. (This used to be commit ddfbcc05815621d3c463f92faed047f126412342)
1998-08-11Quick fix for a small problem. If you run 'nmbd -?' you'd get the usageChristopher R. Hertel1-1/+2
message *but the daemon would start anyway*. I've added a call to exit() in the default: case of the option processing loop. Chris -)----- (This used to be commit c69727bd29c0bf1cded0db84602e791304691e2e)
1998-08-11I've come up with a different scheme for doing the DEBUG() and DEBUGADD()Christopher R. Hertel1-0/+14
macros that meets the RVALUE requirement and doesn't use the (a?b:c) format that Andrew called "ugly". I've added the new macros but kept the old macros within a #if 0..#else..#endif block in case I've missed somthing. Basically, I've used (void)( (a) && (b) ) or (void)( (a) && (b) && (c) ) instead of ( (a) ? (void)(b) : (void)(c) ) or similar. I have this compiled and running now. Here's the diff: $ cvs diff smb.h Enter passphrase for RSA key 'crh@Ruby': Index: smb.h =================================================================== RCS file: /data/cvs/samba/source/include/smb.h,v retrieving revision 1.172 diff -r1.172 smb.h 143a144,145 > #if 0 > 150a153,164 > > #else > > #define DEBUG( level, body ) \ > (void)( (DEBUGLEVEL >= (level)) \ > && (dbghdr( level, FILE_MACRO, FUNCTION_MACRO, (__LINE__) )) \ > && (dbgtext body) ) > > #define DEBUGADD( level, body ) \ > (void)( (DEBUGLEVEL >= (level)) && (dbgtext body) ) > > #endif Chris -)----- (This used to be commit 53b433e6ab9fd69a02016ee4f2a3f756640ea565)
1998-08-11Cleaned up some lint warnings (functions with return values that wereChristopher R. Hertel1-12/+13
ignored). (This used to be commit 8fedcfc48da2741722b867bbb056a078901e7431)
1998-08-11Removed a stray semicolon in the DEBUGADD() macro.Christopher R. Hertel1-5/+5
(This used to be commit efa67d6b2b6d4a1e007dba5f2f5da5aff723fe59)
1998-08-11I've added a test for lp_loaded() so that timestamps *will* be outputChristopher R. Hertel1-4/+9
before the config file has been loaded. Otherwise the default is no timestamp. Chris -)----- (This used to be commit fd7eaed59efbe2ce6998d5902e70d79f533b3372)
1998-08-11fixed a nasty bug in debug.cAndrew Tridgell1-1/+1
Debug1() was being called like this: Debug1( format_bufr ); but if format_bufr contains any %s or other % arguments (such as when processing a smb.conf file containing % macros) then smbd dies a horrible death. The quick fix is to use: Debug1( "%s", format_bufr); (This used to be commit 5ae04012819ae3e63102d6875088ef00c27492b4)
1998-08-11make sure that a fault cannot occur twice. The new Debug1() code isAndrew Tridgell1-18/+22
causing seg faults on my machine and because the fault code calls DEBUG() it is looping! now to find the bug in the Debug1() code ... (This used to be commit 83122bae2253221f085118c6e7e914982656bd64)
1998-08-11Makefile.in: Added CHECK target back in (at Herb's request). AddedJeremy Allison4-13/+48
manpath in (although we don't currently use it). client/client.c: Added John Blair's fixes for "put -". include/nterr.h: Added NT_STATUS_NOTIFY_ENUM_DIR error code. smbd/nttrans.c: Added in devious fix for one-shot NT change notify bug. Jeremy. (This used to be commit 4ac3091e57e9ab234b3c051333ba521a92defa99)
1998-08-10Makefile.in: Fixed make clean bug with CVS directory in bin/.Jeremy Allison3-3/+22
include/smb.h: Fixed bugs in Debug macro's with SGI compiler. smbd/trans2.c: Fixed bug reported by Zoltan Palmai <ZSPA@chevron.com> PR#8903 where get_lanman2_dir_entry() could return a mangled name as a resume key and call_trans2findnext() wasn't doing the same. Jeremy. (This used to be commit 9d010e721c27af1d9498fd1e147993ba8ac8b41e)
1998-08-10moved access.c into lib/ from smbd/ as it is needed by testparm. IAndrew Tridgell4-224/+183
modified it not to need any smbd specific structures and instead pass things from smbd. (This used to be commit 162141d3b3fcf53fbc6a1f18702df85c2b7f1781)
1998-08-10split the system password checking routines out of smbd/password.c andAndrew Tridgell7-1060/+2063
into passdb/pass_check.c. This means SWAT no longer needs to link to smbd/password.c (This used to be commit 90d93889d722670cbb517017531264630af759bf)
1998-08-10moved username.c into lib/ so we no longer $(PASSDB_OBJ) in mostAndrew Tridgell2-27/+25
utilities (This used to be commit 745d38bfe7a989a602d14b8a04757893ae40ba8e)
1998-08-10smbtorture now compilesAndrew Tridgell2-17/+10
(This used to be commit 12c8028eb45d3e274e3496da1a2e4f6d18c117fd)
1998-08-10fixed the installation scripts for the new layoutAndrew Tridgell10-55/+62
(This used to be commit 60cdb83f3f6dfd7755e46254662245a82a8ef498)
1998-08-10the rest of the binaries now compile and linkAndrew Tridgell2-57/+68
(This used to be commit 7fecc3d5a2fb641237f24a3f39c6556fde648a8a)
1998-08-09a few more things compile.Andrew Tridgell4-51/+199
I'll do the rest tomorrow. (This used to be commit b92ce41c54fa187bce3287257996f7a3e9c9b9ff)
1998-08-09swat compiles, with some even uglier hacks. we really have to doAndrew Tridgell3-58/+105
something about our dependencies between seemingly unrelated code. (This used to be commit 3ecfd271de5e6f7b4868800e7c06d51ed69278fd)
1998-08-09nmbd compiles and links. I had to do some ugly stuff, putting files inAndrew Tridgell2-86/+86
illogical places. Once I get everything compiled these will need to be revisited, but at least the new Makefile.in makes it really obvious what is out of place. (This used to be commit beef5341fc313249bf1117deccb9c21c510c4697)
1998-08-09close to having nmbd linking (just a bit of repository hacking to go)Andrew Tridgell2-14/+379
(This used to be commit 34dd9b79457ab01637e0d7374d33cafe2f859c99)
1998-08-09this gets smbd compiling and linking correctly with the new layout.Andrew Tridgell10-1819/+779
(This used to be commit d08fa39cec5c71a9034dbf4241fc7e195f1bbaa5)
1998-08-09removed the if statements from the DEBUG() macro definitions.Andrew Tridgell1-4/+4
Chris, you should never put if statements in macros, use the ugly (a?b:c) form instead, otherwise you can produce incorrect code when you have things like: if (foo) DEBUG((blah)); else DEBUG((blooh)); (This used to be commit ab912448c1ff2487b6a313574d72f389baa65e6d)
1998-08-09another dummy fileAndrew Tridgell1-0/+0
(This used to be commit 251213898077a11d71b208434c65748f922d7e9a)
1998-08-09added ignore rules for the dummy filesAndrew Tridgell11-0/+12
(This used to be commit 687f76a17d6d3ebd33b4d9a848deef56f3c1f56a)
1998-08-09these dummy files are needed for autoconf processingAndrew Tridgell8-0/+0
(This used to be commit be762dc3de6c1ef768790522dfe93007a61ce5d7)
1998-08-09the autoconf scripts are now converted to the new directory structureAndrew Tridgell3-15/+17
now the Makefile ..... (This used to be commit 4fae7f129e46930960831af0da28496f9766f6ae)
1998-08-09new directory structure in configure.inAndrew Tridgell1-5/+6
(This used to be commit 7067261760516c01c2dd4fa7f0a717e9c48e1554)
1998-08-08we have to have the test for -lsocket before the test for someAndrew Tridgell2-340/+340
functions (notably innetgr) to ensure we don't replace them if they are in -lsocket (This used to be commit d1212048903fff8725e501001ac84b019c21b939)
1998-08-08added --with-nisplus-home optionAndrew Tridgell7-253/+296
(This used to be commit 70000c21909a154344b489e8aa18a5868ff52865)
1998-08-05Fixed memory leak when freeing ChangeNotify structures.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 996c5ac97a8d1443bc8abc59b9a10ff3aeb77389)
1998-08-04nttrans.c: Fix change_notify. Queue processing code wasn't changing toJeremy Allison2-18/+54
the correct directory before doing the stat. Doh ! uid.c: Fix for performance in security=share mode. Invalid vuid meant that in security=share mode Samba was always doing the become_user/ undebome_user pairs for *every* smb. This code fixes it, but tridge should review for security implications. Jeremy. (This used to be commit c3663379fdcec487feea2e5d848ee012ee6c6baf)
1998-08-04loadparm.c: Added "debug timestamp" synonym for Chris.Jeremy Allison4-39/+29
nttrans.c: Moved common code into function in server.c Removed left over debug level 0. server.c: Moved common code into function in server.c Jeremy. (This used to be commit 34ef55b7228155cef40cbdfcdc1fe623c1037bd6)
1998-08-03More formatting changes. Mostly converted some DEBUG() calls to DEBUGADD()Christopher R. Hertel5-21/+30
so that we wouldn't get too many timestamps. Chris -)----- (This used to be commit 3e7e5fad378cf144927d9f2ffc82f80e150d44ab)
1998-08-03First implementation of ChangeNotify - this version only checksJeremy Allison8-38/+344
for changes in the directory modify timestamps. A better version will look at the requested client flags, and create a hash that represents the current state of the directory, and check against this instead. debug.c: Added lp_timestamp_logs() function. loadparm.c: Added "change notify timeout" in seconds (default 60) - this is the scan rate for a directory. Added ""timestamp logs" boolean - default True. Turns off log timestamps (so I can read them :-). nttrans.c: ChangeNotify implementation. server.c: ChangeNotify implementation. shmem_sysv.c: Added exits on shmem errors (without them smbd can core dump if some calls fail). smb.h: Added ChangeNotify flags for future use. util.c: Tidied up typedef. Jeremy. (This used to be commit a0748c3f53974483680ebe2ea4f556ece8d7fa43)
1998-08-03One more minor change to the format of a DEBUG message. I broke up aChristopher R. Hertel1-4/+9
very long output line in become_domain_master_query_success(). Chris -)----- (This used to be commit 9b5d431661c55056c31bedf9ef3900f27e1c5292)