summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Added autoconf detect tests for broken Solaris 2.6 NIS+ include files.Jeremy Allison1998-12-295-50/+109
| | | | Jeremy.
* Makefile.in configure configure.in include/config.h.in: Added -c -o fixes ↵Jeremy Allison1998-12-296-510/+592
| | | | | | | from Tim Rice. utils/smbpasswd.c web/swat.c: Added set_auth_parameters() call where needed for OSF1_ENC_SEC. Jeremy.
* In reply_lockread.Jeremy Allison1998-12-291-2/+9
| | | | | | | | Discovered by Menny Hamburger at Mainsoft. This is a core+ protocol request that predates the read/write lock concept. Thus instead of asking for a read lock here we need to ask for a write lock. Jeremy.
* passdb/nispass.c: Fixed compile --with-nisplus (I now have access to a ↵Jeremy Allison1998-12-292-52/+103
| | | | | | | | Solaris 2.6 box:-). passdb/passdb.c: Fixed reading of machine sid so that we correctly change the (decimal)21 to hex 0x21 to be in line with NT. Jeremy.
* lib/signal.c: Added CatchChildLeaveStatus() call needed in smbd/open.c and ↵Jeremy Allison1998-12-298-50/+172
| | | | | | | | | | | | | | | | | | | | | | | smbd/chgpasswd.c. smbd/chgpasswd.c smbd/open.c: Ensure that we replace SIGCLD handler with CatchChildLeaveStatus() *before* we expect to reap a child status - and reset it to CatchChild() after we've done the sys_waitpid(). The original CatchChild() code would eat the status code from the zombie in the signal handler, meaning that the sys_waitpid() calls in check_access_allowed_for_current_user() and chgpasswd would never return a status. smbd/open.c: smbd/reply.c: smbd/close.c: Check error return on close() calls - ensure a valid error return is sent back to the client. This catches the "file truncated" bug when a user has run out of quota (or space) and the ENOSPC error is returned on the *close()* call, not the write() (eg. on an nfs mounted drive). smbd/fileio.c: Added check for ESPIPE on sys_lseek() in file_seek() to allow people to use Windows clients to communicate with UNIX fifo's (like they could in 1.9.18). Jeremy.
* Modified packaging-prep so as to avoid use of "rm -f *"John Terpstra1998-12-271-3/+2
|
* Fixing the last issue known about....Jeremy Allison1998-12-231-1/+1
| | | | | | (with a filename of log123.abcd, a dir command of dir l*.???.?.?.?.?.? should find the file, as it does on NT). Jeremy.
* Fixed issues with client wildcards. It turns out that NT matchesJeremy Allison1998-12-232-20/+41
| | | | | | | wildcards against both long and short filenames in a trans2 wildcard match. This fix gets us closer to NT compatibility (still not entirely there yet.... one more issue I know about to fix....). Jeremy.
* Fixed bug where waitsecs was being ignored.Jeremy Allison1998-12-231-1/+1
| | | | Jeremy.
* passdb/pass_check.c: Added log of AFS auth error.Jeremy Allison1998-12-233-1/+3
| | | | | | smbd/password.c: Set debug loglevel of disabled account to 1 (I was bitten by this recently). Jeremy.
* Configure fixes for QNX and NCR.Jeremy Allison1998-12-225-6/+24
| | | | Jeremy.
* Fixed missing ';'s in locking_slow code.Jeremy Allison1998-12-221-3/+3
| | | | Jeremy.
* Spelling mistake change due to very pick people (you know who you are :-).Jeremy Allison1998-12-2210-39/+99
| | | | | | | | | | Changed privilage to privilege. Also added set_real_uid() call to lib/util_sec.c. Removed last set[re]uid calls from quotas.c - all such calls now live only in lib/util_sec.c. Jeremy.
* Rather large (I'm afraid) tidyup of the setuid handling code.Jeremy Allison1998-12-2216-369/+218
| | | | | | | | | | | | | | | | | | | | All setuid code now resides in the one module lib/util_sec.c. The interfaces this module exports are : void gain_root_privilage(void); - Set real/eff/saved uid's to 0. void gain_root_group_privilage(void); - Set real/eff/saved gid's to 0. int set_effective_uid(uid_t uid); - Set eff uid *only* to given value. int set_effective_gid(gid_t gid); - Set eff gid *only* to given value. BOOL become_user_permanently(uid_t uid, gid_t gid); - Set real/eff/saved uid's and gid's to uid and gid permanently - with no way back to root. Most of the quota code now uses these calls (except for a few special cases). smbd/chgpasswd.c: Ensured the dochild exits in the fork()'d child. libsmb/nmblib.c: Fix from Jasper for memory leak. Jeremy.
* Split out all the set[re][e][res]uid() calls into one module thatJeremy Allison1998-12-221-0/+177
| | | | | | (hopefully) should be portable to all sorts of weird systems and also provide standard interfaces for the rest of the code. Jeremy.
* Implementing PHT standard SPEC settings.John Terpstra1998-12-211-2/+1
|
* swat.c 1. fixed bug where non-default parameters were not beingHerb Lewis1998-12-182-23/+67
| | | | | | | | | | | | | | | | | | shown in basic view of shares and printers pages. 2. Rearranged shares and printers pages so delete button is near dropdown (since it applies to value in dropdown) Added Reset Values button when share is selected. 3. Added note at beginning of printers page and flagged the auto loaded printers in the dropdown. Still need reference in man page that explains options better. 4. Don't show create and delete options if don't have write access in printers and shares page. statuspage.c Don't show start/stop/restart buttons or kill button if not root.
* make browseable and available BASIC parameters for swatHerb Lewis1998-12-181-2/+2
|
* Fixed tar recursion bug (it was a *.* mask instead of * being used, youJeremy Allison1998-12-171-1/+1
| | | | | were right Andrew :-). Jeremy.
* include/nameserv.h nmbd/nmbd_packets.c nmbd/nmbd_responserecordsdb.c:Jeremy Allison1998-12-174-12/+76
| | | | | | Fixed 'nmbd running wild' bug by preventing recursion in retransmit_or_expire_response_records(). tests/crypttest.c: Updated for bigcrypt. Jeremy.
* modify message for freeware versionHerb Lewis1998-12-171-1/+1
|
* make sure we include sys/mman.h if availableAndrew Tridgell1998-12-174-3/+6
|
* include/includes.h: Added MAXHOSTNAMELEN in case it wasn't defined.Jeremy Allison1998-12-172-9/+17
| | | | | web/swat.c: Re-arranged static function to remove compile warning. Jeremy.
* loadparm.c added function to reset number of services (for swat)Herb Lewis1998-12-163-4/+18
| | | | | swat.c fixed create new share and printer proto.h new function in loadparm.c
* acconfig.h configure configure.in include/config.h.in: Added krb5 libs code ↵Jeremy Allison1998-12-168-526/+666
| | | | | | | | | | | back, based on 1.9.18 tree. tests/crypttest.c: Added test for truncated salt in crypt. passdb/ldap.c: Malloc checks. passdb/pass_check.c: Added test for truncated salt in crypt. Added OSF1 enhanced security fix. Jeremy.
* acconfig.h configure configure.in include/config.h.inJeremy Allison1998-12-159-134/+209
| | | | | | | | lib/system.c script/mkproto.awk include/includes.h: Added sys_readdir that wraps readdir64. lib/util.c: Changed gethostname() to use sizeof(hostname) as the second arg for buffer size. Jeremy.
* fix globals page broken by my last checkinHerb Lewis1998-12-151-2/+4
| | | | (that will teach me to check in anything while I am sick).
* in 2.0 branch:Andrew Tridgell1998-12-151-0/+11
| | | | | on Linux force fcntl/mmap based shared memory and on other systems force IPC/shmem based shared memory.
* preparing for release of 2.0.0beta4Samba Release Account1998-12-1558-57/+60
|
* WHATSNEW.txt source/include/version.h: Updated for beta4.Jeremy Allison1998-12-154-174/+6
| | | | | | source/include/DesktopDB.h source/lib/streams.c: MAC support won't make it into 2.0, although 2.0.1 will have it. Jeremy.
* Re-created yodl docs.Jeremy Allison1998-12-1419-142/+155
| | | | Jeremy.
* smb.h add new FLAG_SHARE to indicate which parameters are usedHerb Lewis1998-12-143-82/+85
| | | | | | | on share page loadparm.c added FLAG_SHARE and FLAG_PRINT to various parameters to tell swat which page these belong to swat.c only print parameters marked on printers and shares pages
* Fixed debug statements so the name type being looked up is printed.Jeremy Allison1998-12-141-7/+6
| | | | | Fixed lmhosts lookup so that -1 means wildcard nametype match. Jeremy.
* Makefile.in: script install fix from Tim Rice.Jeremy Allison1998-12-142-3/+3
| | | | | lib/debug.c: File size check from Jasper. Jeremy.
* Added testparm scripts for invalid unix password sync problems.Jeremy Allison1998-12-121-0/+38
| | | | Jeremy
* Fixed bug in smbpasswd where adding a user and mis-typing the newJeremy Allison1998-12-121-2/+7
| | | | | | password a second time would add the user with a potentially random garbage password. Jeremy.
* Fixed typo.John Terpstra1998-12-111-1/+1
|
* need to reload auto printer services on a save_reloadHerb Lewis1998-12-111-0/+2
|
* Fixed file descriptor limit code for AIX 4.x. AIX doesn't support theJeremy Allison1998-12-111-6/+22
| | | | | fd limits and always returns RLIM_INFINITY for a RLIMIT_NOFILE query. Jeremy.
* Fixed missing include of smbw.h.Jeremy Allison1998-12-113-4/+4
| | | | | Added strerror print for initgroups fail. Jeremy.
* Added configure fixes for UNIXWare and tidyups for SINIX.Jeremy Allison1998-12-114-289/+286
| | | | Jeremy.
* swat what was called the synonym for "hosts allow" and "hosts deny"Herb Lewis1998-12-111-70/+72
|
* Added fixes from Jasper van der Neut <jasper@Cal005208.student.utwente.nl>Jeremy Allison1998-12-112-1/+9
| | | | | who is doing some pretty amazine nmbd work ! Jeremy.
* Fixed name magle bug (PR#11883 based on a patch from xactdata@hotmail.com).Jeremy Allison1998-12-111-6/+16
| | | | | Extension was being overwritten before use. Jeremy.
* Fixed configure bug with RedHat 5.1 where it uses setresgid even thoughJeremy Allison1998-12-112-2/+2
| | | | | this is not yet implemented. Jeremy.
* HPUX fix. This looks like a big change but isn't actually, most of theJeremy Allison1998-12-1060-730/+814
| | | | | | | | | | | | | | | | changes are bzero -> memset as the compiler on HPUX is very picky about bzero (probably a strange define). The significant changes are in configure.in, to fix the HPUX shadow.h problem and also move the large file support to the correct place. passdb/pass_check.c: Added includes for KRB5, DCE and AFS if requested in autoconf. tests/trapdoor.c: Fix to use setresuid and setresgid if defined. The rest of the changes are bzero -> memset. Jeremy.
* Makefile.in added PRINTER_OBJ to SWAT_OBJ so swat canHerb Lewis1998-12-106-23/+38
| | | | | | | | | | | | | | enumerate printers param/loadparm.c added parameter to lp_dump to limit number of items dumped. Pulled real dump code into new function lp_dump_one so it can be called by swat utils/testparm.c extra parameter added for lp_dump call web/statuspage.c got rid of extra > being printed when smbd not running web/swat.c allow auto loaded printers to be enumerated in printer page include/proto.h changed number of parameters in lp_dump and new function lp_dump_one defined.
* Added defines for HPUX large file support.Jeremy Allison1998-12-102-497/+517
| | | | Jeremy.
* allow smbd to be started without a STATUS..LCK fileAndrew Tridgell1998-12-101-5/+4
|
* allow initial creation of smb.conf with SWATAndrew Tridgell1998-12-101-6/+13
|