| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
from Tim Rice.
utils/smbpasswd.c web/swat.c: Added set_auth_parameters() call where needed for OSF1_ENC_SEC.
Jeremy.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
(with a filename of log123.abcd, a dir command of
dir l*.???.?.?.?.?.? should find the file, as it does on NT).
Jeremy.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
smbd/password.c: Set debug loglevel of disabled account to 1 (I was bitten by
this recently).
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
(hopefully) should be portable to all sorts of weird systems and
also provide standard interfaces for the rest of the code.
Jeremy.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
were right Andrew :-).
Jeremy.
|
|
|
|
|
|
| |
Fixed 'nmbd running wild' bug by preventing recursion in retransmit_or_expire_response_records().
tests/crypttest.c: Updated for bigcrypt.
Jeremy.
|
| |
|
| |
|
|
|
|
|
| |
web/swat.c: Re-arranged static function to remove compile warning.
Jeremy.
|
|
|
|
|
| |
swat.c fixed create new share and printer
proto.h new function in loadparm.c
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(that will teach me to check in anything while I am sick).
|
|
|
|
|
| |
on Linux force fcntl/mmap based shared memory and on other systems
force IPC/shmem based shared memory.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
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 lmhosts lookup so that -1 means wildcard nametype match.
Jeremy.
|
|
|
|
|
| |
lib/debug.c: File size check from Jasper.
Jeremy.
|
|
|
|
| |
Jeremy
|
|
|
|
|
|
| |
password a second time would add the user with a potentially random
garbage password.
Jeremy.
|
| |
|
| |
|
|
|
|
|
| |
fd limits and always returns RLIM_INFINITY for a RLIMIT_NOFILE query.
Jeremy.
|
|
|
|
|
| |
Added strerror print for initgroups fail.
Jeremy.
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
|
| |
who is doing some pretty amazine nmbd work !
Jeremy.
|
|
|
|
|
| |
Extension was being overwritten before use.
Jeremy.
|
|
|
|
|
| |
this is not yet implemented.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Jeremy.
|
| |
|
| |
|