Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This prevents us getting thousands of warnings about dirfd() on
solaris
|
|
|
|
This just causes warnings, now upstream has a more complete fix.
|
|
|
|
metze
|
|
The includes of the UID wrapper headers werent't really efficient according
to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html).
To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c",
"lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
|
|
Disable the use of it in the heimdal code.
Notice: This doesn't need to be ported upstream since it only affects the
build in conjunction with s4.
|
|
libraries.
|
|
290db8d23647a27c39b97c189a0b2ef6ec21ca69)
|
|
metze
|
|
Heimdal's internal buildsystem uses a different define for checking for libintl than what samba uses. LIBINTL vs HAVE_LIBINTL_H. Since changing heimdals defineswould brake dropin merges of heimdal. This is a simple workaround in line with others in heimdal_build catalog.
Signed-off-by: Torgeir Lerkerød <torgeir.lerkerod@gmail.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
metze
|
|
We need to create the header file before we generate the source file.
metze
|
|
The issue was that we referenced an asn1compile generated file by
name, not by the subsystem is was generated by.
Andrew Bartlett
|
|
This new option avoids a lot of code that was used to intuit what
files would be output by the compiler.
Andrew Bartlett
|
|
metze
|
|
metze
|
|
8714779fa7376fd9f7761587639e68b48afc8c9c)
This also adds a new hdb-glue.c file, to cope with Heimdal's
uncondtional enabling of SQLITE.
(Very reasonable, but not required for Samba4's use).
Andrew Bartlett
|
|
This fixes two issues pointed out by Andrew. It adds a runtime
uwrap_enabled() call that wraps the skips needed for uid emulation. It
also makes the skip in the directory_create_or_exist() function only
change the uid checking code, not the permissions code
|
|
This library intercepts seteuid and related calls, and simulates them
in a manner similar to the nss_wrapper and socket_wrapper
libraries. This allows us to enable the vfs_unixuid NTVFS module in
the build farm, which means we are more likely to catch errors in the
token manipulation.
The simulation is not complete, but it is enough for Samba4 for
now. The major areas of incompleteness are:
- no emulation of setreuid, setresuid or saved uids. These would be
needed for use in Samba3
- no emulation of ruid changing. That would also be needed for Samba3
- no attempt to emulate file ownership changing, so code that (for
example) tests whether st.st_uid matches geteuid() needs special
handling
|
|
compiler version"
This is now handled correctly in the newly imported Heimdal
This reverts commit 4a754d029b0eb229b23980aa4a80dae2b485a302.
|
|
Otherwise heimdal/lib/gssapi/gssapi/gssapi.h will just define it to
__attribute__ ((deprecated)) which is not supported by all compilers
we care about.
This should fix the build on Tru64
metze
|
|
metze
|
|
This should fix problems on Solaris.
metze
|
|
The problem seems to be #define flock rk_flock
heimdal/../heimdal_build/replace.c: In function `rk_flock':
heimdal/../heimdal_build/replace.c:64: error: storage size of 'lock' isn't known
heimdal/../heimdal_build/replace.c:64: warning: unused variable `lock'
metze
|
|
We need the definition of 'struct flock'.
metze
|
|
|
|
|
|
last import
Also commit the regenerated files for systems without yacc and lex.
This fixes the build with automatic dependecies for me.
metze
|
|
904d0124b46eed7a8ad6e5b73e892ff34b6865ba)
Also including the supporting changes required to pass make test
A number of heimdal functions and constants have changed since we last
imported a tree (for the better, but inconvenient for us).
Andrew Bartlett
|
|
|
|
Patch from Timur I. Bakeyev sent to samba-technical:
Heimdal requires openpty() presence. FreeBSD has in in standard libc, so
autodetection works, but compilation fails, as declaration of this function is
missing.
This patch adds proper header detection and inclusion for openpty().
|
|
metze
|
|
HAVE_MKSTEMP
metze
|
|
replacements on and off
metze
|
|
This hopefully fixes the build on Mac OS 10, where setprogname()
is available via libc.
asn1_compile and compile_et use only .ho files again
and don't use socket_wrapper anymore.
metze
|
|
binaries are linked properly
|
|
|
|
Jeremy.
|
|
We should not link in heimdal_build/replace.ho twice.
HEIMDAL_ROKEN has everything we need....
metze
|
|
metze
|
|
This reverts commit 334c6e6b78de8529fce0061efd5249f8fe2d256f.
This breaks the build later in the ntvfs code...
metze
|
|
metze
|
|
This fixes build problems on Tru64.
metze
|
|
metze
|
|
support for the underlying functions now.
|
|
remove some unused functions.
|
|
|
|
smaba4kpasswd will be used to test the kpasswdd componet of the KDC
(which is up until now untested), and rkpty is an expect-like wrapper
we can use to blackbox that utility.
Andrew Bartlett
|