1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

71409 Commits

Author SHA1 Message Date
Stefan Metzmacher
91099d896b s3-waf: make use of LIBCLI_CLDAP subsystem
metze

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 10:17:01 CET 2011 on sn-devel-104
2011-02-23 10:17:01 +01:00
Andrew Tridgell
4f48a28c3c build: fixed 'make dist' without configuring
this finds git inside samba_version.py

thanks to Simo for noticing this problem

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Feb 23 07:55:28 CET 2011 on sn-devel-104
2011-02-23 07:55:28 +01:00
Andrew Tridgell
0a6e0edc04 build: don't display expected duplicate symbols 2011-02-23 17:10:14 +11:00
Jeremy Allison
2296871f0c Torture test added to run_opentest() to ensure we don't regress on
the previous change.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 23 03:00:53 CET 2011 on sn-devel-104
2011-02-23 03:00:53 +01:00
Jeremy Allison
7464793c9d Fix bug found against the new Mac client @ Connectathon. Mac clients
don't open with FILE_WRITE_ATTRIBUTES when just doing a write, so updating
the write time on close fails as smb_set_file_time() now (correctly) checks
for FILE_WRITE_ATTRIBUTES in the access_mask before allowing client time
update. This is an internal time update being done on a close, not a handle-based
client request.
2011-02-23 02:17:21 +01:00
Günther Deschner
67e72f5204 s3-waf: move some parts of auth to AUTH_COMMON to avoid duplicate symbols with winbindd.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 02:16:23 CET 2011 on sn-devel-104
2011-02-23 02:16:23 +01:00
Andrew Tridgell
5f6790bc74 build: duplicate symbols between system libraries aren't interesting
we expect dups in libpthread, libc and libattr

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Feb 23 01:29:38 CET 2011 on sn-devel-104
2011-02-23 01:29:38 +01:00
Andrew Tridgell
3b684824c1 s3-waf: added SYMBOLCHECK support to source3 waf build 2011-02-23 00:45:21 +01:00
Andrew Tridgell
3c12c4c1a4 build: move idtree.c into samba-util-common 2011-02-23 00:45:21 +01:00
Andrew Tridgell
9174d73173 build: moved more files into samba-util-common
this removes UTIL_SRC from the s3 waf build, as it is now all in
common with samba-util-common
2011-02-23 00:45:21 +01:00
Andrew Tridgell
457025eee7 build: created samba-util-common library
this library will contain files that can be built in common between s3
and s4. Both samba-util and samba-util3 depend on it.

Currently this library needs to be marked as allow_undefined_symbols,
in order to allow s4 to build it. We can remove that flag once we have
all the needed symbols in common

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-23 00:45:21 +01:00
Jelmer Vernooij
9652cceb08 Make lpcfg_server_role public.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Feb 23 00:44:16 CET 2011 on sn-devel-104
2011-02-23 00:44:15 +01:00
Günther Deschner
40dd6ce3ac Revert "s3-waf: make use of LIBCLI_CLDAP subsystem"
Metze, we need to cleanup deps to idtree and cli-ldap first.

Guenther

This reverts commit ac4497edae.

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 23:53:25 CET 2011 on sn-devel-104
2011-02-22 23:53:25 +01:00
Günther Deschner
8bca9df258 s3-waf: add check for getspnam().
Guenther
2011-02-22 22:57:55 +01:00
Günther Deschner
b1e5dc716e s3-waf: add check for TDB_ERR_NESTING.
Guenther
2011-02-22 22:57:55 +01:00
Günther Deschner
7f0ef4fb4a s3-waf: add check for sendfile on AIX.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 22:36:53 CET 2011 on sn-devel-104
2011-02-22 22:36:53 +01:00
Günther Deschner
2b53e7eec7 s3-waf: add check for sendfile on solaris.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
6c32fe5207 s3-waf: add check for sendfile on hpux.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
2babc4fcf4 s3-waf: add check for sendfile on freebsd.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
d71c024131 s3-waf: add check for sendfile on linux.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
ef896e647a s3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
28b4b05938 s3-includes: move some chgpasswd related defines to the locations where they are used.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
823f8b9030 s3-printing: move more printing structs to printing.h
Guenther
2011-02-22 21:52:18 +01:00
Günther Deschner
8225c0ad6c s3-printing: only include printing where really needed.
Guenther
2011-02-22 21:52:18 +01:00
Günther Deschner
5a0cf0c77e s3-printing: fix pcacp prototypes and includes.
Guenther
2011-02-22 21:52:18 +01:00
Günther Deschner
66e040ee0a s3-printing: isolate print notification prototypes better.
Guenther
2011-02-22 21:52:18 +01:00
Stefan Metzmacher
67004581e6 s4:librpc: let dcerpc-samr library use RPC_NDR_SAMR subsystem
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb 22 21:51:43 CET 2011 on sn-devel-104
2011-02-22 21:51:43 +01:00
Stefan Metzmacher
a308cdc371 s4:build: add RPC_NDR_ATSVC subsystem
metze
2011-02-22 21:04:23 +01:00
Stefan Metzmacher
ac4497edae s3-waf: make use of LIBCLI_CLDAP subsystem
metze
2011-02-22 21:04:23 +01:00
Volker Lendecke
56f02e8520 s3: Fix filtering in pdb_ads_search_users
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 22 20:59:07 CET 2011 on sn-devel-104
2011-02-22 20:59:07 +01:00
Volker Lendecke
ecb65332ea s3: Fix some nonempty blank lines 2011-02-22 19:18:57 +01:00
Volker Lendecke
c85607d8ec s3: Fix a typo 2011-02-22 19:18:50 +01:00
Günther Deschner
c399c28fb9 s3-waf: add replacetort binary.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 15:42:58 CET 2011 on sn-devel-104
2011-02-22 15:42:58 +01:00
Günther Deschner
79b41dcae1 s3-waf: add check for ftruncate extend.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 13:35:48 CET 2011 on sn-devel-104
2011-02-22 13:35:48 +01:00
Günther Deschner
4fe3ecefa0 s3-waf: add check for realpath() NULL arg.
Guenther
2011-02-22 12:46:06 +01:00
Günther Deschner
33d676cd7e s3-waf: add check for makedev().
Guenther
2011-02-22 12:46:06 +01:00
Günther Deschner
bd333551bd s3-waf: add check for TIME_T_MAX.
Guenther
2011-02-22 12:46:06 +01:00
Günther Deschner
2984003275 s3-waf: add check for /proc/sys/kernel/core_pattern.
Guenther
2011-02-22 12:46:06 +01:00
Nadezhda Ivanova
0b93902349 s4-descriptor: Fixed a typo in a comment and clarified it a bit.
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Tue Feb 22 12:39:23 CET 2011 on sn-devel-104
2011-02-22 12:39:23 +01:00
Nadezhda Ivanova
be36596f4e s4-descriptor: Fixed some missing curly braces. 2011-02-22 12:46:44 +02:00
Matthias Dieter Wallnöfer
85f4f73ed4 s4:torture/rpc/netlogon.c - fix two build warnings by casts
Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 22 11:45:49 CET 2011 on sn-devel-104
2011-02-22 11:45:49 +01:00
Andrew Bartlett
5590ac257f selftest the raw.mux test is flaky:
TESTING MULTIPLEXED LOCK/LOCK/UNLOCK
establishing a lock
the second lock will conflict with the first
this will too, but we'll unlock while waiting
unlock the first range
recv the async reply
async lock took 265.40 msec
failed to trigger early lock retry
UNEXPECTED(error): samba3.posix_s3.raw.mux.mux

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Feb 22 07:09:07 CET 2011 on sn-devel-104
2011-02-22 07:09:07 +01:00
Andrew Bartlett
e3821f2c40 s4-auth Move libcli/security/session.c to the top level
This code is now useful in common, as the elements of the
auth_session_info structure have now been defined in common IDL.

Andrew Bartlett
2011-02-22 16:20:11 +11:00
Stefan Metzmacher
d7fa349052 s3:auth: change num_groups to from size_t to uint32_t
This will help with the change from UNIX_USER_TOKEN to security_unix_token

metze
2011-02-22 16:20:11 +11:00
Andrew Bartlett
2e69e89456 s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info
These variables, of type struct auth_serversupplied_info were poorly
named when added into 2001, and in good consistant practice, this has
extended all over the codebase in the years since.

The structure is also not ideal for it's current purpose.  Originally
intended to convey the results of the authentication modules, it
really describes all the essential attributes of a session.  This
rename will reduce the volume of a future patch to replaced these with
a struct auth_session_info, with auth_serversupplied_info confined to
the lower levels of the auth subsystem, and then eliminated.

(The new structure will be the output of create_local_token(), and the
change in struct definition will ensure that this is always run, populating
local groups and privileges).

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-22 16:20:10 +11:00
Andrew Bartlett
985c7da604 selftest: Improve gdb_backtrace to run in batch mode
Following Tridge's advice, we need to have no input (/dev/null) and
-batch for reliable opeation on big backtraces.

We should also use --pid, and let gdb find the binary

Andrew Bartlett
2011-02-22 16:20:10 +11:00
Andrew Bartlett
6c1ce36ec9 selftest pass in srcdir into Samba3 target module 2011-02-22 16:20:10 +11:00
Andrew Bartlett
b73cfabdf5 smbtorture Remove random file name before we start RW2 2011-02-22 16:20:10 +11:00
Andrew Bartlett
a82d9e4e72 s3-selftest convert tests.sh to python
This should allow us a much better chance of invoking the subunit
wrappers in the right way, at the right level.

Andrew Bartlett
2011-02-22 16:20:10 +11:00
Andrew Bartlett
0b066b88df selftest split $PERL into multiple arguments for Test::More check 2011-02-22 16:20:10 +11:00