Tim Prouty
e6f8fd9945
s3: Add support for make test to use a share dir outside of the prefix dir
...
Some systems need to have the tdbs (and other files required for samba
to run) on a different filesystem than the share directory that samba
is exporting.
This patch:
- Adds an optional "shrdir" argument to selftest.sh
- If shrdir is specified it will be used, otherwise the default
will be used: "<prefix>/tmp"
- Adds a new configure option: --with-selftest-shrdir
- Plumbs shrdir through Makefile.in and configure.in
2008-11-11 19:06:50 -08:00
Jelmer Vernooij
634c87dd77
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-11-11 17:11:57 +01:00
Jeremy Allison
8076e50fad
Added vfs_acl_tdb.c module to do ACLs completely in userspace. Passes all of RAW-ACLS except for the last test which uses a non-POSIX chown. More testing/documentation to follow.
...
Jeremy.
2008-11-10 17:57:22 -08:00
Günther Deschner
8f23dff45e
s3-samr: remove old samr.idl file.
...
Guenther
2008-11-10 21:46:31 +01:00
Michael Adam
951cf45ee7
[s3]build: prevent make errors for picky makes when $(EXTRA_ALL_TARGETS) is empty
...
picky make implementations don't like lines with only tabs in rules or dependencie
Michael
2008-11-10 17:00:22 +01:00
Michael Adam
4c391c94f4
[s3]build: build cifs.upcall at build time instead of at install time.
...
This is to prevent problems with packaging scripts that pass CFLAGS
to make but not to make install...
Based on a patch for v3-2 by Martin Schwenke <martin@meltin.net>.
Michael
2008-11-10 17:00:04 +01:00
Stefan Metzmacher
0d25517723
s3: security.idl: split of dom_sid stuff into dom_sid.idl
...
And use the toplevel ndr_sec_helper.c
metze
2008-11-08 08:02:26 +01:00
Stefan Metzmacher
e9b8dd561f
s3: build ndr_named_pipe_auth.c
...
metze
2008-11-06 21:39:15 +01:00
Jeff Layton
32695912dd
mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog
...
The util-linux-ng sources have a good, but rather complex scheme for
locking the mtab before updating it. Mount helpers need to follow the
same scheme. Advisory locking only works if everyone is using the same
locking scheme.
Copy the routines we need from util-linux-ng into a separate source file
and then have mount.cifs and umount.cifs link in this object.
The long term goal is to have these routines in a separate helper
library (libmount). Mount helpers can then dynamically link in that lib.
Until that happens, this should serve as a suitable stopgap solution.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2008-11-06 15:07:07 -05:00
Günther Deschner
c353c53692
netlogon: add 8bit varients of netr_SamDatabaseID8Bit and netr_DeltaEnum.
...
Guenther
2008-11-06 18:50:12 +01:00
Jelmer Vernooij
8f763308bc
Add *test4 rules to merged build Makefile, to allow running the Samba 4 tests against Samba 4. (doesn't work yet).
2008-11-02 16:38:27 +01:00
Jelmer Vernooij
7ec720af71
Use shared doserr.c.
2008-11-01 17:28:16 +01:00
Günther Deschner
7f8bc6a2d9
errors: share dcerpc error function.
...
Guenther
2008-10-31 12:42:09 +01:00
Günther Deschner
767202e668
srvsvc: share srvsvc idl between s3 and s4.
...
Guenther
2008-10-31 02:44:35 +01:00
Günther Deschner
8be9cefd98
netlogon: merge netlogon.idl between s3 and s4.
...
Guenther
2008-10-29 08:57:53 +01:00
Günther Deschner
d04131c8ec
idl: share lsa.idl between s3 and s4.
...
Guenther
2008-10-27 19:33:23 +01:00
Michael Adam
151dfd9dd1
[s3]build: fix bug #5765 - fix installlibs on solaris by using portable "test -r"
...
instead of test -e, which /bin/sh on solaris does not know.
Michael
2008-10-27 13:51:47 +01:00
Michael Adam
1c6aa01e1f
[s3]build: fix bug #5677 - fix test_{shlibs,nss_modules,pam_modules} on Solaris
...
and other systems where sh does not support "export FOO=bar"
by separating setting and exporting the variable.
Thanks to Yasuma Takeda <yasuma@osstech.co.jp> for the patch.
Michael
2008-10-27 13:02:35 +01:00
Volker Lendecke
5616480514
Fix "make etags" -- the args list gets really long for s4 with the prefix
2008-10-25 13:33:21 +02:00
Jelmer Vernooij
fe36fe8c3e
Use common net utility code (address and sockaddr manipulation).
2008-10-23 20:41:15 +02:00
Jelmer Vernooij
81fabeff2d
Use libutil genrand.
2008-10-23 18:46:35 +02:00
Jelmer Vernooij
cf659fa4fe
Import talloc_stack into util library.
2008-10-23 17:27:30 +02:00
Günther Deschner
d9f1fff5b3
s3: use shared asn1 code.
...
Guenther
2008-10-22 21:37:36 +02:00
Jelmer Vernooij
f36e51617c
Don't include a (relative path) srcdir in samba4-data.mk.
2008-10-21 18:49:43 +02:00
Jelmer Vernooij
8ac2da0d09
Allow running individual tests in the testsuite, normalize test names, fix some tests.
2008-10-21 18:26:46 +02:00
Jelmer Vernooij
e422f638bc
Use socket wrapper for selftest.pl, find binaries correctly.
2008-10-21 17:48:05 +02:00
Jelmer Vernooij
fe02004865
Specify skip list to selftest.pl, make make target depend on test
...
binaries.
2008-10-21 17:32:07 +02:00
Jelmer Vernooij
59a6e534cd
Merge branch 'selftest' of git://git.samba.org/jelmer/samba
2008-10-21 17:19:23 +02:00
Jelmer Vernooij
2c1b1255c2
Add source4/ to include path because librpc/gen_ndr is still in source?/
2008-10-20 21:33:41 +02:00
Jelmer Vernooij
5424c68b3d
Add missing asn1 object.
2008-10-20 13:21:29 +02:00
Jelmer Vernooij
e0905c3090
Use tables in Samba 3 ndrdump.
2008-10-20 13:19:39 +02:00
Jelmer Vernooij
d78f3be238
Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt
2008-10-20 12:19:57 +02:00
Jelmer Vernooij
5b52964b15
Share winreg.idl.
2008-10-20 11:53:20 +02:00
Jelmer Vernooij
8834b9c787
Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
2008-10-20 11:33:44 +02:00
Günther Deschner
fc8fadf1e9
idl: finally share krb5_pac.idl.
...
Guenther
2008-10-20 11:11:22 +02:00
Jelmer Vernooij
70eba79edb
Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
2008-10-20 11:07:38 +02:00
Kai Blin
c88cbbfdf3
vlp: Move closer to the code tested.
2008-10-19 15:03:22 +02:00
Jelmer Vernooij
86576f0f16
Add 'selftest' target to Samba 3 that uses the perl selftest code.
2008-10-19 14:56:29 +02:00
Jelmer Vernooij
e09c0c1185
Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt
2008-10-19 14:27:08 +02:00
Jelmer Vernooij
7f826373db
Move smb.conf parser to libutil to match Samba 4.
2008-10-19 14:03:20 +02:00
Jelmer Vernooij
55a88210d8
Add vlp to TORTURE_PROGS since it's required by "make test".
2008-10-19 13:35:37 +02:00
Jelmer Vernooij
7af7935d0e
Specify ZLIB_LIBS explicitly in case zlib isn't brought in any other way.
2008-10-19 11:22:19 +02:00
Günther Deschner
f34b6bfe34
idl: share drsblobs idl.
...
Guenther
2008-10-18 23:54:49 +02:00
Günther Deschner
80af41b5ea
drsuapi: build new merged drsuapi idl and helpers.
...
Guenther
2008-10-18 23:25:58 +02:00
Jelmer Vernooij
33032d591f
Move ufc to libreplace.
2008-10-18 17:49:41 +02:00
Michael Adam
7f5a94cf12
[s3]build: use ..lib/util/params.c instead of param/params.c
...
Michael
2008-10-18 15:36:17 +02:00
Jelmer Vernooij
2d89b52be8
Use separate make variables for libutil and libcrypto.
2008-10-18 14:28:40 +02:00
Jelmer Vernooij
519458a2fa
Use shared util.c.
2008-10-18 14:27:13 +02:00
Jelmer Vernooij
93310970e3
s3: Fix make clean
2008-10-18 14:19:55 +02:00
Günther Deschner
ef8f3c0e56
s3-build: cleanup in ../librpc as well on "make clean".
...
Guenther
2008-10-17 23:46:53 +02:00