summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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. (This used to be commit 4eccb47cfb3c8907a6558b6ea9a02b0184458e34)
* 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 -)----- (This used to be commit d64ca4250ff0df4ceffe49b7d462df699a6981b4)
* 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. (This used to be commit b398f7daf58459db6e8d3496502abeb634ac2183)
* 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. (This used to be commit fb19dad88edfd7a5c7257a15afc9253fb41f4b99)
* Fix for bug PR#8294 reported by <detlef.lammermann@er.materna.de>Jeremy Allison1998-07-102-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)
* AIX patch from Michael Wojcik <mww@microfocus.com> adding detailJeremy Allison1998-07-101-4/+135
| | | | | | to the AIX specific (and undocumented) setpriv and setuidx calls. Jeremy. (This used to be commit 7a8d0a4ed4e07090bfe776b5544712274d2426e4)
* Needed fix to SIGHUP handling donated by branko.cibej@hermes.siJeremy Allison1998-07-091-8/+29
| | | | | | (I can't believe we've had that bug so long :-). Jeremy. (This used to be commit 4d26757776af2aaba9cdaf4c956fab29bfde1599)
* New version of the DFS_AUTH code from Karsten Muuss <muuss@or.uni-bonn.de>Jeremy Allison1998-07-091-39/+242
| | | | | Jeremy. (This used to be commit cf7402c5325afd1f9a737facf285cb905702adb2)
* Fixing Oops. Thought I had added these - but not!John Terpstra1998-07-092-0/+309
| | | | (This used to be commit 3d15f9d297a0b03c7e0f2434c9d9457dece60c9a)
* Fixed typos and reformatted doco.John Terpstra1998-07-092-9/+22
| | | | (This used to be commit 4a0cda25fd96e81da2502c3e0efd83d9a4c0ced6)
* NT SMB trans reply code.Jeremy Allison1998-07-093-74/+301
| | | | | Jeremy. (This used to be commit 556254d72517c8a5bf70cafaf443df1675fe64d9)
* Implementing more NT SMB functionality.Jeremy Allison1998-07-081-82/+332
| | | | | Jeremy. (This used to be commit d34c91126049b7d3094455d407aa99a6d0452304)
* includes.h: Fixes for QNX 4.x.Jeremy Allison1998-07-071-1/+6
| | | | | Jeremy. (This used to be commit 6055be064ec1e9416bb9a7cd97a11976fb336fb6)
* Fixed (hopefully) last bug with username mapping.Jeremy Allison1998-07-071-4/+5
| | | | | | | map_username wasn't returning true on a map which was causing find_service not to find a home directory. Jeremy. (This used to be commit 97209a29467699173caf79e1c81729eb2afedda5)
* Corrected info.Jeremy Allison1998-07-071-6/+6
| | | | | Jeremy. (This used to be commit 2d0c9baa17d5d298a3e9c22a8a5d2c77998cee18)
* password.c: Fixes to allow Win95 clients to have lm encrypted passwordsJeremy Allison1998-07-064-15/+20
| | | | | | | | | | recognised. lib/rpc/client/cli_login.c: Fix debug comment. lib/rpc/parse/parse_misc.c: Fix for passing null pointers. lib/rpc/parse/parse_net.c: Send correct password lengths when called from Win95. Jeremy. (This used to be commit ad1848b35521b3d478ea3226db818a1edef78254)
* Digital UNIX does not seem to set OPTIND if there are noRichard Sharpe1998-07-061-0/+10
| | | | | | | | | | | command line parameters. Added simple code to smbtar to check for paramters and pump out a usage message if there are none. Regards Richard (This used to be commit 52cf030b9d0ea4f3b68d7a3fccfe3841930a329a)
* Added Australian consultant.Jeremy Allison1998-07-061-27/+175
| | | | | Jeremy. (This used to be commit 04733f455dcc960387b5fd56c7bb443f233f66e2)
* Updated the 'samba does not allow multi-workgroups & WINS' section. StillJeremy Allison1998-07-061-6/+9
| | | | | | leave the info there, but add a caveat. Jeremy. (This used to be commit 160bcd5fccab7493a1a08e03af5492ed1e9accfa)
* Added as rapid config guide for cross subnet / cross workgroup browsing.John Terpstra1998-07-051-0/+212
| | | | (This used to be commit 023df8c04ec9c03dcd0ebc351b1cb3494db0dab9)
* Updated in line with recent samba-bugs postings.John Terpstra1998-07-051-2/+8
| | | | (This used to be commit 11c1f090723878ada33b4f501af9a48112133fb4)
* Updating Unix installation notes.John Terpstra1998-07-052-2/+55
| | | | (This used to be commit 4ffbdcbddff3094a8635527218f0f4a7974d8e4d)
* Fixed typos pointed out by Pekka Savola <Pekka.Savola@netcore.fi>John Terpstra1998-07-051-5/+5
| | | | (This used to be commit f0ca1afb77de83318d95ebad2a0477bc360cdefc)
* Fix for pidfile startup message.Jeremy Allison1998-07-022-36/+35
| | | | | Jeremy. (This used to be commit 108284cc28d44ffea028209cf28b746008bdf455)
* nttrans.c: More NT SMB stuff.Jeremy Allison1998-07-022-4/+11
| | | | | | | | shmem_sysv.c: Fix for shared memory problems on several systems, Second and subsequent use of shmget should use zero as the size. Fix from Veselin Terzic <vterzic@systems.DHL.COM> Jeremy. (This used to be commit 1cd94b24592ca31ffae671acfd83b0d42b212cab)
* chgpasswd.c: Fix from Peter Debus <pdebus@turing.une.edu.au> for Digital UNIXJeremy Allison1998-07-024-45/+55
| | | | | | | | password change core dump bug. nmbd_subnetdb.c: Make namelist_entry_compare() static. nttrans.c: More NT SMB stuff. Jeremy. (This used to be commit 1925a29c6b355b8358ee99e5b876b6376aa7d628)
* includes.h: AIX fix.Jeremy Allison1998-07-014-28/+119
| | | | | | | | | | nttrans.c: More NT SMB work. smb.h: More NT SMB defines. trans2.c: Change call response as I now have docs on what the flags mean. #ifdef it with JRATEST until I'm sure it's ok though. Jeremy. (This used to be commit ce2503fddd7ef9eed89e1a63fd834f13432a9cd6)
* nttrans.c: More code towards NT protocol.Jeremy Allison1998-06-303-21/+109
| | | | | | | smb.h: More code towards NT protocol. time.c: Fix for sco bug. Jeremy. (This used to be commit e53f4396ead540bcf9ecd18f3253e49216404a1b)
* nmbd_elections.c: Removed force elections code to bring into line with 1.9.18.Jeremy Allison1998-06-294-7/+26
| | | | | | | | | | nmbd_namelistdb.c: Added comment for Chris. nmbd_subnetdb.c: Went back to Chris's comparison code as with the make_nmb_name change it all works now. lib/rpc/server/srv_netlog.c: Ensure we return 'account disabled' for disabled accounts, rather than crashing. Jeremy. (This used to be commit 4ab3d1682789319965a55edb37212b7671a743bb)
* Added code to do elections when told to do so.Jeremy Allison1998-06-271-2/+9
| | | | | Jeremy. (This used to be commit a38d903d2016202d470f1405e593be3c20404d72)
* nisppass.c: Fixed incorrect parameter usage.Jeremy Allison1998-06-2710-50/+126
| | | | | | | | | | | | | | | | | | | | | nmbd_become_lmb.c: Add 'force_new_election' parameter to some functions. This allows the start of the election to be done *after* the demotion from local master browser is done. Also changed code so release of 1d name is done immediately to allow other local master to gain it. nmbd_elections.c: Ensured no elections are run until we have registered the WORKGROUP<1e> name that we must listen on to participate in elections. nmbd_incomingdgrams.c: Use force_new_election code. nmbd_namelistdb.c: Make update_name_in_namelist static. nmbd_subnetdb.c: Fix bug in comparison function. We cannot use memcmp as structure packing may make this fail. nmbd_packets.c: Ensure that we only send one release packet when sending a broadcast packet. nmbd_workgroupdb.c: Ensure we put the correct value in the ElectionCriterion field. nmblib.c: Ensure make_nmb_name zero's the struct nmb_name. Jeremy. (This used to be commit 1fcb094ba04f01be1261ac92198c25b21b0d5ad5)
* clitar.c: Fixed gcc warning with comment in /* */ code.Jeremy Allison1998-06-252-13/+23
| | | | | | | | nmbd_winsserver.c: Remember to free packet in multi-homed register code. Use correct query_name_from_wins_server call instead of query_name call in multihomed code. Jeremy. (This used to be commit 6e995802fecb4474003db55a69c9e1663737aade)
* Minor cosmetic change. I up-cased internal #defines.Christopher R. Hertel1998-06-258-13/+45
| | | | (This used to be commit 1ce7d38d9f947d338f2587fa5afbe7536501edfd)
* The function add_name_to_subnet(), in file nmbd_namelistdb.c, returns aChristopher R. Hertel1998-06-236-21/+24
| | | | | | | | | | | | | | | pointer to the newly constructed name list entry. In most cases, this return value is ignored. The two exceptions are in asyncdns.c and nmbd_winsproxy.c. Most of the calls which ignored the return value were not cast to void, so I added the cast. This helped me sort out which calls really did use the return value. I also discovered one case, in nmbd_winsserver.c, in which the return value was being stored to a variable which, in turn, was not used. Chris -)----- (This used to be commit 384122d165ed6d5d211a29e5a63a63bf5cd82c75)
* Arrrgh, one more fix. Restores of long file names wereRichard Sharpe1998-06-221-2/+7
| | | | | | | | | | | broken ... Added a bzero of the buffer the names went into ... Seems OK now ... Richard Sharpe (This used to be commit c749c8d0460feddafaa68654d8a4bec33f97cc8c)
* Remove the copyright to Canon Information Systems Australia, as we don'tRichard Sharpe1998-06-213-7/+20
| | | | | | | | | | | | | | | want them to have the copyright. Added a new DOSERR response code that Win95 returns, unimp, unimplemented. Added code to ignore errors on setting remote time, as Win 95 does not like the time being changed on a directory. Win NT and Samba are OK at this. This is the next to last clean-ups here. Next is to properly handle restore times on directories (except for Win95--see above). Now have Jay's changes in and have fixed a bug reported by Tim Lee. (This used to be commit dc9436bae4493b71ba92970d6cc49dbb33cd55cd)
* clitar.c: Fixed minor gcc -pedantic-error compile warnings.Jeremy Allison1998-06-202-5/+6
| | | | | | passdb.c: Fixed stupid bug in read_sid_from_file(). Jeremy. (This used to be commit e65efe3f78240a4fa1ed7931e96c6fb698d9d8c8)
* Re-submit changes for CLITAR.Richard Sharpe1998-06-171-84/+291
| | | | | | | | | | Have fixed the location of create_string_s back to clitar.c, and have added Jay Berkenbilt's changes. Have used safe_strcpy and safe_strcat everywhere and have tested with long file names extensively, but have not yet been able to check that it works OK on Solaris. (This used to be commit daf239a1881d5be4669759e972fbbf07e8e38893)
* clientgen: Added USE_SSL for client shutdown.Jeremy Allison1998-06-166-23/+8
| | | | | | | | | | | | | clitar.c: Added 'Samba style' comments before string_create_s(). loadparm.c: Fixed missing comma in SSL code. util.c: Removed string_create_s(). Currently it's only called from clitar.c and having it here as well as a static in clitar causes the compile to break (Richard, please decide where you want this function). lib/rpc/parse/parse_net.c: Fix from <anders.blomdell@control.lth.se> to stop coredump on missing parameter. Jeremy. (This used to be commit d23b44322570cb9a7aa2b86407bf4f91010a237b)
* Damn, forgot the proto file againRichard Sharpe1998-06-161-0/+1
| | | | (This used to be commit c63e679337221bbf15beca57249ff3306ebb0369)
* CLITAR changes to overcome some reported problems and add Jay's changesRichard Sharpe1998-06-161-0/+19
| | | | (This used to be commit e1468dac0333eacea0a6f85f968e0a6d85af7f4c)
* Added SSL support from Christian Starkjohann <cs@obdev.at>Jeremy Allison1998-06-169-16/+476
| | | | | | | | This patch may not yet compile with -DUSE_SSL enabled, further Makefile changes may be needed. But it was important to get this code in place before I go off to USENIX. Jeremy. (This used to be commit 31e768369fdc61e07c59630c86c62239f3d3f3f7)
* Adding Christian Starkjohann <cs@obdev.at> SSLeay document.Jeremy Allison1998-06-161-0/+392
| | | | | Jeremy. (This used to be commit 9234df00e73980ed383cc77fcaa0a79d417900e4)
* client.c: Made -L do a null-session share unless -U user is specified.Jeremy Allison1998-06-154-130/+170
| | | | | | | clientutil.c: Fixed NT session to add NT password. groupname.c: Added lookup function. Jeremy. (This used to be commit 8216363e83fcdccfade70f983830b56b7e6546a4)
* Makefile:Jeremy Allison1998-06-153-8/+25
| | | | | | | | smbumount.c: Added fixes to compile under Linux. includes.h: Added SunOS 4.x QSORT_CAST fix. reply.c: Fixed user name mapping function for security=server, security=domain. Jeremy. (This used to be commit 21ca6bfb3ba3927efaf7eeff4325976d41489be2)
* remove .cvsignore as ignored file. This is used in my build scripts.Herb Lewis1998-06-151-1/+0
| | | | (This used to be commit fb8b04be25d9b8c80719263acc6c4930686b3671)
* Makefile: Added ubi_sLinkList.o as the groupname.o file needs it. Added ↵Jeremy Allison1998-06-136-238/+201
| | | | | | | | | | | | | | | | groupname.o includes.h: Added ubi_sLinkList.h include. loadparm.c: Added groupname map parameter. password.c: Fix HPUX big_crypt. username.c: New user_in_list() code. Moved groupname map code to groupname.c lib/rpc/server/srv_util.c: Added lookup_wellknown_sid_from_name(). New groupname map stuff. Note that nothing currently uses this but at compiles ok. Jeremy. (This used to be commit beef636a4d772457816ef068c62ea965d07131f6)
* Groupname mapping code now lives here.Jeremy Allison1998-06-131-0/+204
| | | | | Jeremy. (This used to be commit a70b929ec7b38855b7d09378536620c3f221cbe8)
* This is the first, small step toward some tweaks that Jeremy and I haveChristopher R. Hertel1998-06-121-0/+2
| | | | | | | | | | | | | | | | been discussing regarding the debug mechanism. With this, I've added a macro that allows syntax like: if( DEBUGLVL( 3 ) ) { Debug1( "message" ); Debug2( "message" ); } The next step is to incorporate timestamps. Chris -)----- (This used to be commit 0b35065d0c5a33a9eebee683ecb08e9aef4c1830)
* ipc.c: map_username is now a BOOL function.Jeremy Allison1998-06-126-75/+263
| | | | | | | | | | | | reply.c: map_username is now a BOOL function. server.c: Added capability to do map_username on service names when looking for a home directory. That's what the original code would do. lib/rpc/server/srv_util.c: Changed domain_ to builtin_ for BUILTIN aliases. username.c: Work in progress on groupname map parameter. Jeremy (This used to be commit fa95fae5eed95aff64f0a01825477610a101bbc7)