Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
This reverts commit 334c6e6b78de8529fce0061efd5249f8fe2d256f.
This breaks the build later in the ntvfs code...
metze
|
|
metze
|
|
This fixes build problems on Tru64.
metze
|
|
|
|
(This used to be commit 55a6e852c77ffb91d2e0a0503dab06214f675db8)
|
|
While we don't use the default HDB directories, the code needs this
macro defined.
Andrew Bartlett
(This used to be commit b5dbdef1580a58c0f208e83491946391cd08e570)
|
|
metze
(This used to be commit 1feae45f283decff5c47dcc44349af128df3add5)
|
|
statements
hopefully fix the build on solaris 9
metze
(This used to be commit 65ba2920a176c9d4ee77e381cf8f11bd0546e63c)
|
|
This patch updates our build system and glue to support a new snapshot
of lorikeet-heimdal.
We now procude a [SUBSYTEM] in the ans1_deps.pl script, and can depend
on that in the heimdal_build/config.mk. This is much easier than
listing every generated .o file individually.
This required some small changes to the build system, due to the way
the parent directory was handled for the output of scripts. I've also
cleaned up et_deps.pl to handle cleaning up it's generated files on
clean.
The PAC glue in Heimdal has changed significantly: we no longer have a
custom hack in the KDC, instead we have the windc plugin interface.
As such, pac-glue.c is much smaller. In the future, when I'm
confident of the new code, we will also be able to 'downsize'
auth/kerberos/kerberos_pac.c.
(I'll include the updated copy of heimdal in the next chekin, to make
it clearer what's changed in Samba4 itself).
Andrew Bartlett
(This used to be commit 75fddbbc0811010a28ca5bb597b573b3f10ef6d6)
|
|
- and add -MT $@ to the dependency generation
to notice changes in depdendecies of header files
you may need a 'make clean' or at least you need to remove
heimdal_build/replace.hd
metze
(This used to be commit 5ecf98cc189039023ff0a97f43eba7fb2c2cdc46)
|
|
heimdal_build/config.h from interfering with libreplace
This is a workaround for the fact that with the current CFLAGS and
dependencies system, -Iheimdal_build is put at the front of the
includes list, which means it overrides the normal config.h
(This used to be commit 84335903ceaf2242e43a0c5464e33408daec44b4)
|
|
heimdal_build/roken.h
This is a workaround for the fact that with the current CFLAGS and
dependencies system, -Iheimdal_build is put at the front of the
includes list, which means it overrides the normal config.h
(This used to be commit dc2580f0fd67687cbe4b590a7fed9fde0db4a4a0)
|
|
(chasing down build failures ...)
added showflags as part of 'all' target, which makes tracking down
problems easier in the build farm
(This used to be commit d52aaccdf8a537dc8de8db7c30ff0ab076c4c63f)
|
|
* libreplace can now build stand-alone
* add stub testsuite for libreplace
* make talloc/tdb/ldb use libreplace
(This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
|
|
Andrew Bartlett
(This used to be commit b2649aaf399e6ff8d3e749b21cf64ea5e089e5cb)
|
|
- fix compilation of auth/kerberos/krb5_init_context.c on AIX
metze
(This used to be commit 0e1ad08a8515056f4ed0923889bef04d85b84964)
|
|
interface worked, so hdb-ldb.c and the glue have been updated.
Andrew Bartlett
(This used to be commit 8fd5224c6b5c17c3a2c04c7366b7e367012db77e)
|
|
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
|
|
(This used to be commit fe4ff2d241691bece7f9c8fc766f57a14fe856bb)
|
|
for heimdal
(This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
|
|
warnings on them
metze
(This used to be commit 3b83cf6b5bae877cf7c6a858683bc6fe781ad104)
|
|
McCall, but takes a slightly different approach that I hope will be
more generic
(This used to be commit e8260a81cf99be2ccae64135ca0572c8a6ae62ad)
|
|
%Ld, which is an invalid format code.
This will probably cause problems on systems that don't have %lld, but
do have a working snprintf otherwise. We will need to expand the
snprintf configure test to make sure we replace snprintf on those
platforms
(This used to be commit ccc87eb8aaf571d91170555a732d287746b3430f)
|
|
fails in the ejs floating point code.
(This used to be commit 30e1b6140e9f6246cb66eef7cf108d1ccf62bd40)
|
|
of several test
results
(This used to be commit b173c938b2ced061ee341831e96001455fbf83d1)
|
|
(This used to be commit 59c3de6ca8b8e153e5cfd67da5f2afc2e23d36db)
|
|
(This used to be commit 234fc1fb052fe6a2cef47861b13bdd82b57fc49b)
|
|
(This used to be commit 5812e74c4f2b95eec89b434371c86268892feaac)
|
|
heimdal_build/config.h
Andrew Bartlett
(This used to be commit 337cb20ac45c95b8a6d0c90dfef4bdac591ba39a)
|
|
(which gets included by heimdal, or shoudl be) into
auth/kerberos/kerberos.h (which is used by Samba, but not by the
Heimdal code).
Andrew Barteltt
(This used to be commit 3f473a93778b1350df3f7aac07b64008988a059d)
|
|
as krb5_closelog() no longer leaks memory.
Andrew Bartlett
(This used to be commit b0bf8a4a5f04b65655f4005b27c80eb098039720)
|
|
real install. (ie run ./configure against heimdal installed, and
record the output).
Andrew Bartlett
(This used to be commit 4cba1edd5cdb9797288cbcc5405eb1f5cae7182d)
|
|
- if you want kerberos now, you need to unpack a lorikeet heimdal
tree in source/heimdal/. If source/heimdal/ does not exist at
configure time then all kerberos features are disabled. You cannot
use an external kerberos library for now. That may change later.
- moved lib/replace/ config stuff to lib/replace/ and create a
lib/replace/replace.h. That allows the heimdal build to use our
portability layer, and prevenets duplicate definitions of functions
like strlcat()
- if you do enable heimdal, then you will need to do 'make
HEIMDAL_EXTERNAL' before you build Samba. That should be fixed once
I explain the problem to jelmer (the problem is the inability to
set a depend without also dragging in the object list of the
dependency. We need this for building the heimdal asn1 compiler and
et compiler.
- disabled all of the m4 checks for external kerberos libraries. I
left them in place in auth/kerberos/, but disabled it in
configure.in
some of the heimdal_build/ code is still very rough, for example I
don't correctly detect the correct awk, flex, bison replacements for
heimdal_build/build_external.sh. I expect to fix that stuff up over
the next few days.
(This used to be commit d4648249b2c7fc8b5e7c0fc8d8f92ae043b5691f)
|
|
(This used to be commit e6a2174050bb55afb32d54b8cfe12c7358bf98f2)
|