| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
no ino64_t. AIX has large file support and doesn't use a 64 bit ino_t.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I have added a new define for configure - HAVE_EXPLICIT_LARGEFILE_SUPPORT.
This is tested for at the end of configure by the following check :
"As a gating factor for large file support, in order to
use <4GB files we must have the following minimal support
available.
long long, a 64 bit off_t or off64_t, a 64 bit ino_t or
ino64_t. If we don't have all of these then disable large
file support."
I have to do this as HPUX will detect the open64 etc.
functions in libc but *THEY DON'T WORK* before HPUX11.x.
The definitions in include/includes.h that set up large
file defines, and the calls in lib/system.c that use the explicit
large file functions are now depended on HAVE_EXPLICIT_LARGEFILE_SUPPORT
also being defined.
include/rpc_lsa.h: Upped number of groups to 96 as a temporary
measure.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
--with-lockdir to
allow HP to specify where they want the /usr/local/samba/var/locks directory to go.
local.h: Added DEFAULT_PASSWD_CHAT to allow it to be changed.
param/loadparm.c: Use DEFAULT_PASSWD_CHAT and also re-arranged HPUX printing.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc2.7.x - this condition is now auto detected and uses the correct flags.
smbd/reply.c: Did more mapping for 64-bit lock requests on 32 bit systems.
smbd/nttrans.c:
smbd/oplock.c: Fixed the MS-Office not noticing files are open problem. This
was a *subtle* problem and now needs testing to ensure the fix is correct.
It's past 8pm, I'm tired and I'm going for a pizza.
Jeremy.
|
|
|
|
|
|
| |
Fixed <rpc/rpc.h> include bug for SCO.
Test for <arpa/inet.h> include for HPUX7.x.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
--with-mmap code.
lib/time.c: Changed %T to %H:%M:%S for systems that don't have %T.
locking/locking_slow.c: Re-added FTRUNCATE_NEEDS_ROOT code - now to test for it...
smbd/quotas.c: Fixed IRIX quota compile.
Jeremy.
|
|
|
|
|
|
| |
All others - added checks for the compiler understanding volatile and
the system having sig_atomic_t. Changed sighup code to use this.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
from Tim Rice.
utils/smbpasswd.c web/swat.c: Added set_auth_parameters() call where needed for OSF1_ENC_SEC.
Jeremy.
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Added strerror print for initgroups fail.
Jeremy.
|
|
|
|
| |
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.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
| |
rpc_parse/parse_samr.c: Removed unneeded '&'s.
smbd/blocking.c:
smbd/reply.c: Fix for NT4.x bug where it sends large file lock requests
*even if Samba did not nogitiate large file support* !
Jeremy.
|
|
|
|
| |
gives errors
|
|
|
|
|
|
|
| |
file support.
Based on a patch from "Andrej Borsenkow" <borsenkow.msk@sni.de>.
lib/pidfile.c: Changed open() to sys_open().
Jeremy.
|
|
|
|
|
| |
Fix test for getresgid.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
HAVE_SETRESGID and HAVE_SETRESGID_DECL defines, based
on the HAVE_SETRESUID checks.
I also updated the places that setresgid was being called
based on HAVE_SETRESUID being defined and made sure *both*
were defined before allowing the call.
Jeremy.
|
|
|
|
|
|
| |
include/includes.h: Removed net/route.h as it breaks SCO.
smbd/ipc.c: Memory leak fix from <jasper@Cal005208.student.utwente.nl>
Jeremy.
|
|
|
|
|
|
|
|
|
| |
configure.in: Implemented andrej's private and swat file changes and SINIX changes.
client/smbmount.c: Head branch race condition fix.
lib/system.c: Fix compile for OS's that don't have shared mmap.
smbd/dfree.c: Fix compile for STAT_STATVFS64 as well as STAT_STATVFS.
utils/smbpasswd.c: Tidied up error messages.
Jeremy.
|
|
|
|
|
|
|
| |
aclocal.m4: Added new function - AC_LIBTESTFUNC.
configure.in: Fixes for the messy -lsec, -lsecurity code.
include/includes.h: Added a default printcap define.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to map filenames before accessing the UNIX filesystem.
The other changes are to make the code that previously allways called
the ambiguous functions (such as file_size(), that internally called
dos_to_unix()) to be unambiguous.
For example: file_size() becomes "dos_file_size()", that calls
dos_to_unix(), and file_size(), that does not.
It is now very explicit when we are calling a dos mapping call
and when we are not.
Also added string_to_sid unsigned fix by adding the strtoul from libg++
code into lib/replace.c and testing for strtoul in configure.in.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
more
intelligent about looking in -lsec and -lsecurity. Fewer special cases.
rpc_client/cli_netlogon.c: Removed 'matching bits' check in attempt to
get joining a domain hosted by a NT3.51 PDC working.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
| |
configure
configure.in
include/config.h.in: Fixes for AIX4.x. AIX *will not*
enable large file support of *any* description unless
either -D_LARGE_FILES or -D_LARGE_FILES_API are defined.
I chose "-D_LARGE_FILES" as this leads to cleaner code...
Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in.
Jeremy.
|
|
|
|
|
| |
compiler and check for getspnam in -lsec.
Jeremy.
|
|
|
|
|
|
| |
acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1.
libsmb/nmblib.c: Fixes to nmbd jumps in scope names.
Jeremy.
|
|
|
|
|
| |
in rpc/types.h in DEC OSF1. Should correctly check on all platforms now.
Jeremy.
|
|
|
|
|
|
|
| |
HAVE_PUTPRPWNAM is defined in -lsecurity.
<net/route.h> needed to stop compile complaints in <net/if.h>
smbpasswd: Moved SunOS optind/optarg to global scope.
Jeremy
|
|
|
|
|
| |
don't have a hope of having them.
Jeremy.
|
|
|
|
|
|
| |
Needed as in the 64 bit file spec new open types are needed on many OS's
to be able to seek past 32bits.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
These are :
configure.in: Check for glob.h added.
libsmb/namequery.c: Fix for broken parsing of lmhosts.
smbd/reply.c:
smbd/trans2.c:
include/smb.h: Change ROUNDUP to SMB_ROUNDUP.
include/includes.h: Fixed include of glob.h
Jeremy.
|
|
|
|
|
|
|
|
|
| |
smbwrapper not made
by default.
nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include
file problem...sigh.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
UNIXWARE.
groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf.
include/includes.h: Fix YP problem.
include/smb.h: Fix ZERO_STRUCTP.
lib/util_sock.c: Added strerror() in debugs.
passdb/ldap.c: Don't use snprinf, use slprintf.
rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf.
script/installman.sh: DGUX changes.
smbd/open.c smbd/oplock.c: Fixed gcc warnings.
web/swat.c: Changes USER to SWAT_USER.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
smbd/quotas.c:
Added quotas patch for autoconf from Dejan Ilic <svedja@lysator.liu.se>.
printing/printing.c: Filenames with spaces patch from Allan Bjorklund <allan@umich.edu>
utils/nmblookup.c: Fix usage() function.
smbd/reply.c: Split out the security=server and security=domain checks into
check_server_security() and check_domain_security() to aid the
writing of the 'hack' appliance mode invented by John Schimmel.
Jeremy.
|
|
|
|
|
|
|
|
| |
license at the top of lib/snprintf.c
I've always been slightly uneasy about our half-baked vslprintf()
implementation and the risks on platforms that don't have vsnprintf()
so when I saw this code in another GPLd package I wanted it for Samba.
|
|
|
|
| |
to generate PIC code
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
| |
include/includes.h: Fix crypt prototype on RedHat Linux.
smbd/fileio.c: Fix mmap bug found by WinCE client.
smbd/ipc.c: Fix WinCE wierdness with pipes being opened as \server\pipe\lanman
smbd/password.c: Fix encrypted null passwords.
Jeremy.
|
| |
|