1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-18 19:17:08 +03:00

478 Commits

Author SHA1 Message Date
James Peach
efd961e4ee r15447: Teach "smbd -b" to emit the sizes of a few more types that
might be interesting. Push the spacing across a bit so that
it all lines up nicely.
2007-10-10 11:16:46 -05:00
Stefan Metzmacher
69f489bde0 r14886: reenable BASE-DENY2 and BASE-DENY3
metze
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
1ac5351646 r14884: this doesn't work and causes processes to be left when using ctrl-c (SIGINT)
metze
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
1d52ae786d r14865: - enforce timelimits for the tests
- and skip some long tests for now

metze
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
6f37658f92 r14820: sync test_posix_p3.sh with test_posix.sh from samba4
but only run the BASE-* tests and ignore some more than in samba4

metze
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
20782719d9 r14809: - add my email address
- fix usage()
- remove unused var

metze
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
b120c21669 r14744: allow ./timelimit 5 ./timelimit 20 ./ignore_all_signals
to work,

this is needed when we enable samba3's make test
in the build-farm

metze
2007-10-10 11:15:45 -05:00
Stefan Metzmacher
835f8f4339 r14678: - we need to use 127.0.0.2/8 as interface for the server
as nmbd skip interfaces with address 127.0.0.1
- add samba3 smbclient -L tests
- add samba3 smbtorture tests

metze
2007-10-10 11:15:43 -05:00
Stefan Metzmacher
899fd6808e r14632: add basic 'make test' using samba4's smbtorture
I'll try to add some tests using samba3's smbtorture and smbclient
later.

can someone check if this would be save to run on the build-farm
without leaking child processes...

metze
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
1b6a643785 r14628: sync timelimit.c with the version from the build-farm repository
metze
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
d9df1853b9 r14624: - add timelimit.c
- add configure tests --with-selftest-prefix=/tmp/samba-test
  this is needed because the path name of unix socket can only be 108 chars long
- add configure test --with-smbtorture4-path=/home/foo/prefix/samba4/bin/smbtorture
  this will be used to run samba4's smbtorture inside samba3's make test later

metze
2007-10-10 11:15:39 -05:00
Lars Müller
71b2eb55ad r14325: Add pam_modules rule which builds the configure(d) pam modules. This is
called as part of the all rule (again only if pam modules are requested
by configure).

Add pam_winbind rule.

Ensure proto_exists before we build the pam modules.

Add test_pam_modules rule to test if the built pam modules have any
unresolved symbols.  For test_pam_modules we use script/tests/dlopen.sh
which was written by Nalin Dahyabhai <nalin@redhat.com>.  Thanks Nalin!
RedHat and SuSE use this script to test nss and pam modules since
several years.
2007-10-10 11:15:25 -05:00
Lars Müller
7773b8c9e0 r14056: Also install the mount.smbfs sym link to rootsbindir. Therfore we have
to substitute rootsbindir in {,un}installbin.sh.in.

Pass $prefix as third arg to installbin/ uninstallbin as rootsbindir by
default is $prefix/sbin.
2007-10-10 11:11:09 -05:00
Lars Müller
730d5ec229 r14052: Remove BASEDIR use in the Makefile. BASEDIR=prefix=@prefix@ till now.
I suggest to stay with ^BASEDIR= @prefix@$ for at least the next release
to give external projects - like samba-vscan project - time to adopt
this change.

BASEDIR is non of the default autoconf variables.  prefix is.

Jerry1: If possible please announce this with the next release.  I'll
self reply to technical.

Jerry2: This does not break your makepkg stuff as you set BASEDIR
_not_ from the Makefile.
2007-10-10 11:11:08 -05:00
Volker Lendecke
58d5f2031a r13816: Volunteering :-)
> for the svn log:
>
> - Solaris' /bin/sh doesn't know "test -e" - let's use "test -f" instead
>
> Some volunteer wanna check this in? :)
>
> Cheers
> Bjoern

Volker
2007-10-10 11:10:55 -05:00
Lars Müller
5119472cdc r13688: Revert change to set DAT_FILES and SWAT_MSG_FILES in the Makefile.
Instead check for *.dat and *.msg files as done before.  Then added
files are installed and removed as soon as we have some in the
filesystem.  It's simpler and less error prone.
2007-10-10 11:10:23 -05:00
Lars Müller
43549301b9 r13663: make uninstall DESTDIR=/somewhere no longer leaves files. This is done
with the new rules: uninstallservers uninstalldat, uninstallswat (calles
uninstallmsg), uninstallmodules, uninstallclientlib, and
uninstalllibmsrpc.

We still leave directories.  We might try to remove the dirs we created
in reverse order.

The new uninstall scripts are sym links to the respective install
scripts.  Inside we set mode to install or uninstall.

installservers is now used to install the servers.  These are no longer
installed with installbin.
2007-10-10 11:10:21 -05:00
Lars Müller
3a6c9999b4 r13645: Revert debug output. 2007-10-10 11:10:21 -05:00
Lars Müller
3aa75f0ff5 r13644: Do not shift anything inside the for loop away. We ineterate over $@. 2007-10-10 11:10:20 -05:00
Lars Müller
5a67b4f5be r13643: Enable script debug output to get some more details why some hosts
return with !=0 after calling installmodules.sh AUTH_MODULES.
2007-10-10 11:10:20 -05:00
Lars Müller
c38adf7131 r13642: Fix install* scripts to use DESTDIR.
Always pass the INSTALLPERMS and DESTDIR as first and second arg to the
scripts.

No longer prepend DESTDIR to the remaining args.

To fix bug #3282 it is important _not_ to prepend DESTDIR to the source
of the sym link pointing to smbmount.
2007-10-10 11:10:20 -05:00
Gerald Carter
17e63ac4ed r13316: Let the carnage begin....
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Gerald Carter
485f037094 r13229: * fix bad comparison caught by the AIX compiler in wbinfo code
* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
2007-10-10 11:06:19 -05:00
Gerald Carter
d40f06018b r13093: adding vendor patch level string as announced on samba-technical ml 2007-10-10 11:06:13 -05:00
Gerald Carter
19339a9510 r12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell script portability issues in 'make test' 2007-10-10 11:06:09 -05:00
Gerald Carter
85ea7afd8b r12393: cleaning up swat bugs. *no one* tests swat it seems. This has been broken since r10656 2007-10-10 11:05:54 -05:00
Gerald Carter
47a9f2c3d6 r12040: merging packaging fixes from release branch 2007-10-10 11:05:42 -05:00
Gerald Carter
2df34c9403 r11761: * fix clearing of event logs by truncating the tdb.
This feature got broken in some of the other updates.
  Now each open handle stores an pointer to an open tdb
  data structure (not the tdb pointer itself).
  Clearing can be done with a simple elog_close_tdb( elog, True )
  to force a close and then calling elog_open_tdb( logname, True )
  to force an tdb truncate.  Permissions on existing tdbs are
  maintained which is important.

* We don't currently handle backup.  Haven't looked at the
  format of a backuped up eventlog to know what the deal is.
2007-10-10 11:05:26 -05:00
Lars Müller
3e3113a1fa r11728: Ensure to check for the config.log in ${SRCDIR}.
Revert jerry's revert from 11685. :)

At the moment I don't see a way to check if there is an empty
${SMBWRAPPER} or none.  If there is a way to check if ${SMBWRAPPER}
isn't set at all we could make the installman script even work if
config.log does not exist.
2007-10-10 11:05:25 -05:00
Gerald Carter
61e7366e0f r11685: reverting Lar's change to nistallman from r11224 since it breaks 'make installman' outside the source tree; will fix up after the rc1 release 2007-10-10 11:05:24 -05:00
Lars Müller
3944dfbff4 r11224: Add feature to get our configuration from config.log into installman.sh.
This allows us to install for example smbsh.1 only if SMBWRAPPER is set.

Removed also one rm call as we copy and do not append to the same file
in the next step.  There is no file permission risk as we chmod 0644 in
any case later.

Replaced one basename call by shell substitution.
2007-10-10 11:05:06 -05:00
Gerald Carter
e3c6873866 r11152: fix some regressions caused by the trunk->3.0 merge when install docs with SWAT 2007-10-10 11:05:03 -05:00
Gerald Carter
b7fc404518 r10904: build patches from Marc Balmer <marc@msys.ch> when builddir!=srcdir 2007-10-10 11:04:55 -05:00
Gerald Carter
50549fa9b3 r10676: reverting bad merge for install manpages script 2007-10-10 11:04:50 -05:00
Gerald Carter
939c3cb5d7 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
2007-10-10 11:04:48 -05:00
Gerald Carter
a94de276ae r9618: adding get/put tests from Don Watson 2007-10-10 11:03:23 -05:00
Gerald Carter
4e62a51bf6 r9615: trying a 3 second timeout on smbcontrol 2007-10-10 11:03:22 -05:00
Gerald Carter
0626bb6841 r9613: remove TMPDIR from 'make test' scripts (after comments by Don Watson) 2007-10-10 11:03:22 -05:00
Gerald Carter
7a150ffde5 r9585: update test #1 2007-10-10 11:03:22 -05:00
Gerald Carter
019155e748 r9583: ensure that Samba was with with --enable-socket-wrapper for running 'make test' 2007-10-10 11:01:13 -05:00
Gerald Carter
c64f5666b8 r9562: successfully get the samba 3 smbtorture working (as a test case for infrastructre) 2007-10-10 11:01:13 -05:00
Gerald Carter
dbaaf81cec r9548: more additions to make test; better checks for starting and stopping smbd 2007-10-10 11:01:12 -05:00
Jeremy Allison
be5b4e2fa3 r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
not understanding abstract data types :-(.
Jeremy.
2007-10-10 11:01:11 -05:00
Lars Müller
26bf1d223e r9038: Revert svn rev 414. Discussed with Jerry and Metze.
We need the option to add an 'a' if we're already in pre or rc state
with the next release.

Bugzilla Bug 2618
2007-10-10 11:00:24 -05:00
Gerald Carter
136fe3f15e r8992: More make test work. Adding a way to order tests (might change
my mind on this later).
2007-10-10 11:00:23 -05:00
Gerald Carter
11c8863949 r8990: First trivial example of 'make test' 2007-10-10 11:00:23 -05:00
Gerald Carter
6fb371f0c8 r8834: fixing SWAT install after docs changeswat/help/welcome.html 2007-10-10 11:00:18 -05:00
Gerald Carter
30b03519c0 r8388: fix typo in installman script 2007-10-10 11:00:04 -05:00
Gerald Carter
1ce5cc2a5f r7944: BUG 2808: don't try to install manpages if they are not present 2007-10-10 10:58:03 -05:00
Jeremy Allison
9506b8e145 r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
2007-10-10 10:58:00 -05:00