1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

132 Commits

Author SHA1 Message Date
Günther Deschner
d95ad11bc5 s4-smbtorture: add rather simple libsmbclient torture testsuite.
Guenther
2010-01-14 19:48:29 +01:00
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
Jelmer Vernooij
d8ce8f9b61 Create libndr-standard, which includes the NDR marshalling code for
the "standard" set of DCE/RPC interfaces found on Windows.
2009-07-19 12:41:09 +02:00
Jelmer Vernooij
78e316ddbc Use system Python LDB bindings, if present. 2009-06-18 04:20:46 +02:00
Jelmer Vernooij
8178a40dcd Use system LDB by default if the right version was found. 2009-06-18 03:09:36 +02:00
Jelmer Vernooij
76bf5a4ede configure: Use Python tdb bindings from the system, if found. 2009-06-18 00:54:18 +02:00
Jelmer Vernooij
8d033ec0d1 Move mount.cifs/umount.cifs to the top level and remove the outdated copy
in Samba 4.
2009-06-02 23:24:33 +02:00
Günther Deschner
fa3a665221 s4-smbtorture: add very basic LIBNETAPI testsuite.
Guenther
2009-05-29 17:59:43 +02:00
Jelmer Vernooij
5065cf70f8 tevent: Remove python module.
This module didn't have any functionality that we actually used yet, and
it was quite small.

Tevent is quite low level and perhaps doesn't make much sense to expose
directly as a Python module. It was also causing build problems when used with a
system-tevent. We can always back later if necessary.
2009-05-16 14:56:37 +02:00
Jelmer Vernooij
494e471d74 configure: Use m4 defines for minimum library versions rather than shell
variables, so the values rather than the variable names show up in
configure output.
2009-03-26 16:28:45 +01:00
Jelmer Vernooij
0ea702efae configure: Add common file with minimum versions of external libraries. 2009-03-15 16:35:13 +01:00
Jelmer Vernooij
251bf8aab5 Merge branch 'checktalloc' of /home/jelmer/samba4 2009-03-15 13:52:01 +01:00
Jelmer Vernooij
4ceaec6725 Depend on a newer talloc in Samba 4. 2009-03-14 22:07:15 +01:00
Stefan Metzmacher
1355dc2fd3 s4:build: require tevent 0.9.4
metze
2009-03-13 15:50:23 +01:00
Andrew Bartlett
92bb91a611 Update talloc version so we don't fail on system talloc 1.2.0
The problem is that talloc in the Samba tree now includes
talloc_get_type_abort(), which is not present on Fedora 10 or ubuntu's
talloc 1.2.0.

Andrew Bartlett
2009-03-05 10:46:46 +11:00
Jelmer Vernooij
80e9e63cf6 Let --enable-external-libldb default to no (since linking against
external LDB doesn't work yet).
Fix flags when using internal libs.
2009-02-21 18:59:12 +01:00
Jelmer Vernooij
fb1c564b78 Add --enable-external-* flags for libraries shipped with Samba, to allow
explicitly enabling or disabling the use of the version provided by the
system.
2009-02-21 18:21:20 +01:00
Stefan Metzmacher
f3262027a3 s4:configure: require the same version for external and internal libtevent
Until we reach 1.0.0, we better require the exact same version.

metze
2009-02-13 18:55:22 +01:00
Stefan Metzmacher
ae19f5acdd s4:build: require ldb 0.9.3 when building against an external library
metze
2009-01-31 08:55:49 +01:00
Jelmer Vernooij
e490c1b8c8 Move configure test files to the top-level and share them between s3 and
s4.
2009-01-22 11:35:28 +01:00
Stefan Metzmacher
033428d7da tevent: move samba4 stuff from libtevent.m4 to samba.m4
metze
2009-01-04 18:57:18 +01:00
Stefan Metzmacher
c652b42612 tevent: raise version to 0.9.2 after AUTOCLOSE changes
metze
2009-01-03 19:58:55 +01:00
Stefan Metzmacher
b00f6d169c tevent: raise version to 0.9.1
This 0.9.1 isn't compatible with 0.9.0,
but it makes only sense to raise the major version
after we have reached 1.0.0.

metze
2009-01-03 09:14:23 +01:00
Stefan Metzmacher
83bcc4e027 lib/tevent: libtevent will change a lot until it's version 1.0.0
metze
2008-12-24 13:59:00 +01:00
Jelmer Vernooij
8b24da201b Allow using external libtevent. 2008-12-23 19:59:57 +01:00
Jelmer Vernooij
8ada273700 Use make variable for Samba 4 shared library output directory. 2008-12-23 01:53:38 +01:00
Jelmer Vernooij
89043bda3e Depend on specific version of LDB, as the API seems to unstable
to predict that newer versions (even minor versions) are going to be be
backwards compatible :-(
2008-12-19 23:33:43 +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
9d9f5b44ed Use common detection function for zlib. 2008-10-18 14:14:44 +02:00
Jelmer Vernooij
75dabe874c Merge branch 'master' of git://git.samba.org/samba 2008-10-15 00:15:34 +02:00
Jelmer Vernooij
91437ea7bc Fix include path. 2008-10-15 00:14:58 +02:00
Jelmer Vernooij
15c52eb514 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-14 22:41:02 +02:00
Jelmer Vernooij
79f1ba8754 Make check_*.m4 m4 library files just contain functions that can be
executed from other m4 files.
2008-10-14 22:37:10 +02:00
Jelmer Vernooij
d940012dc8 Move ndr pkg-config file to top-level. 2008-10-14 16:23:46 +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
Stefan Metzmacher
eb935e08d3 s4:configure: require tdb >= 1.1.3 from the system
metze
2008-09-29 04:15:11 +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
661d25402e Fix pidl/config.m4 location. 2008-09-17 18:57:40 +02:00
Jelmer Vernooij
94855cd692 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
Jelmer Vernooij
197870a731 Remove remaining embedded JavaScript support. 2008-09-16 18:05:53 +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
bf21371c09 Merge branch 'singlereplace' into single
Conflicts:
	source4/configure.ac
	source4/torture/local/config.mk
2008-09-16 16:45:10 +02:00
Jelmer Vernooij
f957aeaee6 Merge branch 'singletdb' into single 2008-09-16 16:44:16 +02:00