summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Minor change to the wording. It used to say "files with the prefix 'ubi_'"Christopher R. Hertel1998-04-161-6/+6
| | | | or some such. Some future files won't have the ubi_ prefix. -)----- Chris
* ipc.c: Fix for printer queue spinning with Win95.Jeremy Allison1998-04-157-51/+187
| | | | | | | | | nmbd.c: Fix for always overwriting log despite append setting. smb.h: Addition of last time password changed entry to account info. smbpass.c: Changes to support last time changed field in smbpasswd file. smbpasswd.c: Changes to support last time changed field in smbpasswd file. util.c: Fix for always overwriting log despite append setting. Jeremy.
* Fixed some typecast and function pointer problems pointed out by aChristopher R. Hertel1998-04-142-10/+21
| | | | | | programmer in Finland. Chris -)-----
* Modified interfaces to getting smb password entries fromJeremy Allison1998-04-1410-38/+83
| | | | | | | | | | | | | | | | | | | | get_smbpwd_entry (now an internal function to smbpass.c) to a more UNIX-like : getsmbpwnam() - get entry by name. getsmbpwuid() - get entry by uid. Changed the type returned by the smbpasswd enumeration functions to be a void * so that people don't come to depend on it being a FILE *. These abstractions should make it much easier to replace the smbpasswd file with a better backend in future. Other files changed are to match the above changes. Jeremy.
* make it look for only the proper lines to uncomment.Herb Lewis1998-04-131-8/+8
|
* Fixed aggregate initializer problem for gcc.Jeremy Allison1998-04-131-1/+1
| | | | Jeremy.
* Changes include:Christopher R. Hertel1998-04-134-421/+706
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto.h: The unusual. ;) reply.c: I changes some function names, and updated reply.c to match. See mangle.c below for more. server.c: Changed function names and parameters in file mangle.c, so changed server.c calls to match. See mangle.c below for more. mangle.c: I replaced the caching mechanism used for caching reverse mangled name maps. The old method was a large array of 256-byte strings. Movement in the stack (including push and pop) was done by memcpy()ing whole chunks of memory around. The new system uses the ubi_Cache module which, in turn, uses a splay tree. Entries are dynamically allocated using a minimum amount of memory. Searches are non-linear, which should speed things up a bit, too. Overall, this should save memory and be faster. Other changes: I streamlined the is_mangled() test and made other speed enhancements including replacing some static functions with macros. Added comments, etc. Note: Per an E'mail conversation with Andrew, the 'mangled stack' parameter in smb.conf doesn't do anything anymore. The cache is now set for 16K bytes maximum memory usage. The mangle stack parameter is silently ignored. This can easily be changed, but I'd rather introduce a 'mangled cache memory' parameter and remove 'mangled stack'. Remaining problems: While testing the module, I noticed that something is calling name_map_mangle() twice. The result is that names which contain illegal characters are getting mangled twice. Also, the entire module works by overwriting the input string. This has a variety of nasty side effects. Summary: There's a lot still to be done, but the changes I have in place *should* work in exactly the same way (except for the mangle stack parameter). The rest of the bugs and other issues are separate. Chris -)-----
* Changes to allow Samba to be compiled with -Wstrict-prototypesJeremy Allison1998-04-1333-265/+243
| | | | | | with gcc. (Not a big change although it looks like it :-). Jeremy.
* Contributed software for Linux autofs support.John Terpstra1998-04-133-0/+524
|
* fixed a memory leak in close_file(). Each time a file was openedAndrew Tridgell1998-04-131-1/+7
| | | | we leaked memory equal to the length of the filename.
* As it says.John Terpstra1998-04-131-0/+57
|
* Added additional comments from Bruce WoodJohn Terpstra1998-04-121-0/+75
|
* minor reformatting of debug messages (so people don't think there is aAndrew Tridgell1998-04-121-3/+3
| | | | . on the end of their host names)
* some hacks to the torture codeAndrew Tridgell1998-04-121-1/+10
|
* support O_SYNC at open time in files (previously we only supported itAndrew Tridgell1998-04-121-0/+4
| | | | on individual writes)
* if the resolve order is blank then assume "host"Andrew Tridgell1998-04-121-0/+2
|
* support O_SYNC in opens for smbtortureAndrew Tridgell1998-04-121-0/+4
|
* Corrected the spelling of my Surname. Added several postscripts.John Terpstra1998-04-111-2/+27
| | | | Extended info on Win95 logins to Windows NT.
* created from a really useful discussion about Win95 / NT profiles.Luke Leighton1998-04-111-0/+285
| | | | | | | | | | | Contributors: Bruce Cook <BC3-AU@bigfoot.com> Copyright (C) 1998 Bruce Cook John Terpestra <samba-bugs@samba.anu.edu.au> Copyright (C) 1998 John H. Terpestra Wolfgang Ratzka <ratzka@hrz.uni-marburg.de> Copyright (C) 1998 Wolfgang Ratzka
* Fix heaps of warnings when compiling with gcc under Digital UNIX. Include ↵Richard Sharpe1998-04-111-0/+4
| | | | | | | route.h and mbuf.h at a strategic point ... Wierd stuff really, because the Digital compiler does not complain either way, but GCC does.
* Updated to include possible cause of failed TESTS 3/6 as bad broadcast address.John Terpstra1998-04-111-1/+7
|
* Oops, fogot proto.h. It needs to be updated for changes to client.cRichard Sharpe1998-04-111-1/+1
|
* smbclient.1 updated to reflect the new functionality and to document ↵Richard Sharpe1998-04-111-2/+24
| | | | | | | functionality that has been available for a long time. More updates needed ... people tend to forget the man pages when adding functionality.
* Changes to client.c support the need for directories to be processed by whateverRichard Sharpe1998-04-112-68/+298
| | | | | | | | | | | | action is passed to do_dir. Changes to clitar.c as requested by Canon Information Systems Research Australia: 1. Support restoring long file names 2. Write directory entries to TAR files as first part of setting directory create times 3. Ensure zero length files get correct mtime 4. Allow DOS and UNIX pathnames in command line parameters.
* includes.h: Moved HPUX undefine of SEMMSL to where it actually does something.Jeremy Allison1998-04-1012-38/+137
| | | | | | | | | | | | | | | ipc.c: Added Luke's debug statement. locking_slow.c: Added FTRUNCATE_NEEDS_ROOT code for broken systems that need it (not sure what these are yet). membuffer.c ntdomain.h proto.h lib/rpc/include/rpc_dce.h lib/rpc/include/rpc_srvsvc.h lib/rpc/parse/parse_prs.c lib/rpc/parse/parse_rpc.c lib/rpc/server/srv_pipe_hnd.c lib/rpc/server/srv_util.c: Re-merge of Luke's NTDOM changes 'cos he's a lazy git with carpel tunnel syndrome :-). Jeremy.
* Fix for [homes] problem with security=share. We were still relyingJeremy Allison1998-04-101-5/+19
| | | | | | on a valid vuid to get the connecting username - this is *never* true (anymore) with security=share. Jeremy.
* Makefile, loadparm.c, server.c, smb.h, util.c: Patch fromJeremy Allison1998-04-096-12/+70
| | | | | | | stn@techfak.uni-kiel.de (Stefan Nehlsen) to get homes from the NIS+ map. smbpasswd.c: Tidy up of cli_state structure. Jeremy.
* I removed a static string that was in there because I planned to doChristopher R. Hertel1998-04-091-6/+0
| | | | | | something with it some day. It was causing gcc to cough up warnings (not serious ones, mind you). Don't worry... It will be back! Chris -)-----
* Added const cast to struct args to get rid of compile time warning.John Terpstra1998-04-091-1/+1
|
* Removed unneeded proto symbol.Jeremy Allison1998-04-091-1/+1
| | | | Jeremy.
* Missed compile error when compiling with KANJI=true.Jeremy Allison1998-04-091-1/+1
| | | | Jeremy.
* Added codepage 936 (simplified Chineses).Jeremy Allison1998-04-094-132/+123
| | | | | | | | | | | In doing so I realized that much code was being duplicated between Hangul, Big5 and Simplified Chinese - so I re-arranged kanji.[ch] to go through generic functions for all multibyte characters that can be identified by a single code range (not Kanji - but all the others). Jeremy.
* Fix to stop Windows 95 spinning on print queue requests when itJeremy Allison1998-04-081-1/+1
| | | | | gets an error message it doesn't understand. Jeremy.
* Added check for getpwnam returning NULL.Jeremy Allison1998-04-071-3/+7
| | | | Jeremy.
* want all of data in show_msg at log levels > 50.Luke Leighton1998-04-071-27/+33
|
* loadparm.c: Cause IPC$ comment to be evaluated at runtime, rather thanJeremy Allison1998-04-062-3/+11
| | | | | | | load time (patch from "Marty Leisner" <leisner@sdsp.mc.xerox.com>. server.c: Patch from Josef Hinteregger <joehtg@joehtg.co.at> - string could be overwritten when find_service() called recursively. Jeremy.
* Fix from Josef Hinteregger <joehtg@joehtg.co.at> for usingJeremy Allison1998-04-032-2/+2
| | | | | | character set = iso8859-1 with the new multibyte char code. Was always using sj_to_sj conversion in error. Jeremy.
* We were missing a case switch in announcement processing - weJeremy Allison1998-04-021-0/+17
| | | | | | | | were loggin a become backup request with debug log level of 0 - thus producing lots of annoying error messages. Now handle this explicitly. Jeremy.
* Changed code to check NT password *first* - if it exists.Jeremy Allison1998-04-021-11/+14
| | | | | | | | The NT password is a higher quality password, and should always be looked at before the LM password, if available (sorry, Luke, just a minor change, the other changes you made were fine :-). Jeremy.
* Patch from Chris Maltby <chris@softway.com.au>. His comments follow:Jeremy Allison1998-04-025-12/+141
| | | | | | | | | | | | | | + improvement to smbtar to allow exclusion/inclusion of system and hidden files, and to generate a listing of what has been archived in a format useful for automated backup systems. + add the "Softq" spooling system to samba's printing capabilities. + I have "fixed" the intrusion of US style dates into samba reporting as well. The format yyyy/mm/dd is not only uunambiguous, but also has the benefit of making lexicographic sorts work correctly. Jeremy.
* Updated Eastern European translation table from dan@feld.cvut.cz.Jeremy Allison1998-04-021-4/+20
| | | | Jeremy.
* cli_login.c :Luke Leighton1998-04-012-18/+59
| | | | | | | | | | | | | | | | | | | | | | | start to create the calls needed for client-side of "network" logins, which will be used for domain version of pass-through authentication. unfortunately, none of this code is called in the main branch, because smbclient BRANCH_NTDOM code isn't in use, yet! srv_netlog.c : fixed a problem with static net_login_network() which was being stubborn: the if() statement looked horrendous, so i split it into two if() statements, one to deal with the lm password; the other to deal with the nt password. the smb_password_check() functions should _not_ be called here, in case we decide to disable lm hashes for security reasons, just like nt does. so, we now get a response to the SAM_LOGON "network" call, but the connection is still dropped. a trace is needed from an nt server, which is why i started on the client-side code. see above, which is why i'm calling it a day :-)
* Rolling back machine password change code - this doesn't work (yet).Jeremy Allison1998-04-011-13/+24
| | | | Jeremy.
* includes.h: Added semaphore fix for HPUX10.xJeremy Allison1998-03-314-25/+33
| | | | | | server.c trans2.c: Added oplock deadlock bug fix. lib/rpc/server/srv_netlog.c: Made code that changes machine account password the default. Jeremy.
* the default for old style accounts should be workstation trustAndrew Tridgell1998-03-311-1/+1
| | | | account, not server trust account.
* Fixed compile-time error introduced by log message change.Jeremy Allison1998-03-301-8/+19
| | | | | | Added support for 32bit error messages needed for NTDOM code (was in NTDOM branch, somehow missed during the merge). Jeremy.
* Added extra remote password changing error codes from lmerr.h on NT.Jeremy Allison1998-03-301-2/+5
| | | | Jeremy.
* Added remote machine and address to debug message in make_connection() function.John Terpstra1998-03-291-1/+1
| | | | contributor: <ado@flower.nci.nih.gov>
* chgpasswd.c, ipc.c, loadparm.c: Added boolean "unix password sync"Jeremy Allison1998-03-276-26/+73
| | | | | | | | parameter which allows the new change password code to change the unix password also. Defaults to OFF. includes.h: Added termios.h to FreeBSD to allow password changing. namequery.c: Fixed missing name parameters to debug statements. Jeremy.
* Fix for client generated core-dump bug where offset to readrawJeremy Allison1998-03-271-1/+2
| | | | | | | | | was so large that when used with -DUSE_MMAP it caused the unsigned subtraction to wrap aound and become positive - thus causing a silly memcpy offset. Thanks to "Michael St. Laurent" <rowl@earthlink.net> for giving me the core dump that allowed me to track this one down. Jeremy.