Andrew Tridgell
fd43e0ee09
added a uid_wrapper library
...
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
2009-08-05 10:51:00 +10:00
Björn Jacke
077808f916
s3/s4:build: honor library path from environment
...
we may not throw away LD_LIBRARY_PATH and friends as they sometimes contain
important information. Some of the build farm machines for example have the
python lib path in there - we can't run make test when we suddenly forget how
to use python
2009-07-04 01:14:24 +02:00
Jelmer Vernooij
fa453d944d
s4: Don't install epdump, since it no longer exists.
2009-07-03 13:12:08 +02:00
Jelmer Vernooij
2dd921c774
Only install an explicit set of scripts during "make install", rather than
...
whatever happens to be in the source tree.
2009-06-17 21:00:22 +02:00
Kai Blin
57ea909b32
libwbclient: Add async call framework.
2009-05-30 09:17:37 +02:00
Wilco Baan Hofman
374b47fb45
Fix Samba 4 Makefile to also clean ../libgpo
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
248554370a
Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() function to samba 3. Move prototypes to root libgpo where appropriate.
...
gpo_ldap.c now compiles for both samba 3 and 4.
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Jelmer Vernooij
4638633308
Move tdr to top-level.
2009-03-14 21:57:44 +01:00
Stefan Metzmacher
8e4816f007
s4:Makefile: try to fix 'make installheaders' on *BSD systems
...
metze
2009-02-26 10:55:00 +01:00
Stefan Metzmacher
c6b440d1b7
s4:Makefile: fix PUBLIC_HEADERS typo
...
metze
2009-02-09 11:57:14 +01:00
Kai Blin
07aa05f678
shared: Move dom_sid_* utility functions to top level
2009-02-01 19:42:30 +01:00
Stefan Metzmacher
94cb0835ca
s4:build: kill DEFAULT_HEADERS variable
...
metze
2009-01-30 17:38:40 +01:00
Stefan Metzmacher
aec16efaf2
s4: remove unused dbwrap code
...
If we readd this later, we should share the code with
samba3 and make it async/non-blocking.
metze
2008-12-29 14:46:08 +01:00
Jelmer Vernooij
e94e7f8279
s4: Fix make clean to remove gen_ndr objects.
2008-12-23 23:24:12 +01:00
Jelmer Vernooij
8ada273700
Use make variable for Samba 4 shared library output directory.
2008-12-23 01:53:38 +01:00
Stefan Metzmacher
46eda79090
s4:lib/tevent: add lib/events/ compat and let things compile
...
metze
2008-12-17 13:31:29 +01:00
Kai Blin
5ee0392a55
nsswitch: Move nsswitch files from source4 to top level nsswitch dir
2008-12-16 13:03:05 +01:00
Jelmer Vernooij
8beecd42f2
Move torture directory to top-level.
2008-11-16 00:58:08 +01:00
Jelmer Vernooij
09a63accb8
Move charset library to top level.
2008-10-24 00:06:35 +02:00
Jelmer Vernooij
694a579cb8
Merge branch 'selftest' of git://git.samba.org/jelmer/samba
2008-10-19 10:20:37 +02:00
Jelmer Vernooij
cbe4f1b4fa
Move zlib to top-level root.
2008-10-12 18:29:36 +02:00
Jelmer Vernooij
2911b792ca
Fix include, clean up .o files in ../lib and ../libcli
...
Conflicts:
source4/Makefile
2008-10-11 21:33:55 +02:00
Jelmer Vernooij
5c44ed6954
Clean up properly.
2008-10-11 21:33:15 +02:00
Jelmer Vernooij
caa4e42860
Move lib/util from source4 to top-level libutil.
...
Conflicts:
source4/Makefile
2008-10-11 21:05:38 +02:00
Jelmer Vernooij
0fd0fc75c4
Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
...
Conflicts:
selftest/selftest.pl
2008-10-11 03:12:21 +02:00
Jelmer Vernooij
08223692c6
fix libclinbtsrcdir variable.
2008-10-08 12:03:45 +02:00
Jelmer Vernooij
257fe87efd
Re-add uninstallplugins, there has to be at least one instance of this.
2008-09-30 00:32:20 +02:00
Jelmer Vernooij
f379f67dd2
Fix installation of misc files.
2008-09-30 00:29:03 +02:00
Matthias Dieter Wallnöfer
dd4d309cac
Patch by Matthias that removes old SWAT support and fixes uninstall.
2008-09-29 23:34:05 +02:00
Jelmer Vernooij
744667b3a9
Consistently use lower case variable names for path variables.
...
Patch by Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> and me.
2008-09-29 22:57:16 +02:00
Jelmer Vernooij
3023a56b64
Clean .o files in lib/ and libcli/ too.
2008-09-24 16:10:34 +02:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Günther Deschner
1ea185a340
s3: fix merged_build.
...
Guenther
2008-09-24 03:30:50 +02:00
Jelmer Vernooij
bc794246df
Fix merged build.
2008-09-21 23:57:59 +02:00
Jelmer Vernooij
729ffbae08
Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
...
Conflicts:
source4/main.mk
2008-09-18 20:29:05 +02:00
Jelmer Vernooij
182a0e3490
Move selftest code to top-level.
2008-09-18 19:51:03 +02:00
Jelmer Vernooij
1ba033a070
Remove jsdir.
2008-09-18 16:57:44 +02:00
Jelmer Vernooij
b16a8f31ad
Fix location of included popt files for systems that don't have popt.
2008-09-17 17:13:02 +02:00
Jelmer Vernooij
94855cd692
Move common libraries from root to lib/.
2008-09-17 14:11:12 +02:00
Jelmer Vernooij
323346f7b0
Merge branch 'singlecompression' into single
2008-09-16 19:07:59 +02:00
Jelmer Vernooij
9c466a6158
Use single copy of compression library in Samba3,4.
2008-09-16 19:07:02 +02:00
Jelmer Vernooij
9ef623beda
Merge branch 'singlepopt' into single
...
Conflicts:
source4/Makefile
2008-09-16 17:20:54 +02:00
Jelmer Vernooij
c8bff39df6
Use a single copy of popt in samba3 and samba4.
2008-09-16 17:20:16 +02:00
Jelmer Vernooij
a347ab83f4
Merge branch 'singlensswrap' into single
...
Conflicts:
source3/configure.in
source4/Makefile
source4/configure.ac
source4/lib/nss_wrapper/nss_wrapper.c
source4/lib/replace/system/passwd.h
source4/main.mk
2008-09-16 17:07:11 +02:00
Jelmer Vernooij
ca2da61540
Use single cope of nss_wrapper in Samba 3 and Samba 4.
2008-09-16 17:05:00 +02:00
Jelmer Vernooij
7fdca97040
Merge branch 'singlesw' into single
...
Conflicts:
source3/lib/socket_wrapper/socket_wrapper.c
source4/lib/replace/system/network.h
2008-09-16 16:46:22 +02:00
Jelmer Vernooij
f957aeaee6
Merge branch 'singletdb' into single
2008-09-16 16:44:16 +02:00
Jelmer Vernooij
41669237cd
Use single copy of socket_wrapper in Samba 3 and Samba 4.
2008-09-16 16:39:45 +02:00
Jelmer Vernooij
7111645d3c
Use single copy of tdb in both samba3 and samba4.
2008-09-16 15:16:31 +02:00
Jelmer Vernooij
80a5da73e9
Share talloc source code between Samba 3 and Samba 4.
2008-09-16 14:36:41 +02:00