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

35511 Commits

Author SHA1 Message Date
Andrew Bartlett
5155a5f5c1 s3-charcnv Don't genreate valid_table on the fly, rely on valid.dat
This file is always installed, and is only even required for the old,
depricated mangle hash method.

Andrew Bartlett
2011-02-18 18:41:01 +11:00
Andrew Bartlett
8afc271e2a lib/util/charset Use top level iconv.c in source3
The two files were very similar already, the only change required was
to adopt the s3 module registration fucntion name.

(NTSTATUS wasn't used as the charset code does not otherwise use that
type).

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-18 18:41:00 +11:00
Andrew Bartlett
cfeceedfab librpc make ndr-standard a common library 2011-02-18 18:41:00 +11:00
Andrew Bartlett
177ddcb084 librpc push NDR_SECURITY and NDR_DCERPC to the top level wscript files
There isn't any reson to keep these private to source3 and source4 and
more, and doing so creates problems for the top level build.

Andrew Bartlett
2011-02-18 18:41:00 +11:00
Andrew Bartlett
92faeaeea8 charset Remove use of {isupper,islower,toupper,tolower}_w functions
These now call the common _m functions that consider UTF16 code points.

This removes the code which will make up a 'lame' table in memory, as
this can just as correctly be handled by running the algorithm at runtime (which is to call toupper() and tolower() on characters < 128).

When used, a top level waf build will always locate the correct table
- in the build tree or outside - due to relinking the installed
binary.

Andrew Bartlett
2011-02-18 17:00:34 +11:00
Andrew Bartlett
0bad0e3ff2 s3-libads Remove MIT-specific krb5_princ_realm macro calls.
When compiled against heimdal, we need to use a more elegant API.

Andrew Bartlett
2011-02-18 17:00:34 +11:00
Andrew Bartlett
e4c2f5c474 s3-waf use lib/util/wscript_build, and avoid duplicate subsystems 2011-02-18 16:46:42 +11:00
Andrew Tridgell
c8b2b10976 s3-waf: use SAMBA3_*() build rules in source3/build
this brings the s3 waf build much closer to the proposed s3build top
level build, using the same bld.SAMBA3_*() rules

There are a few renames of subsystems in here, with a 3 suffix where
it would create a conflict.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 16:46:41 +11:00
Andrew Tridgell
88508291fe s3-waf: fixed the include paths for samba public libraries
this fixes the extra global includes for the s3 waf build to be
conditional on whether talloc, tevent and tdb are system libraries or
not.

This fixes a problem where in-tree includes could be used with system
libraries

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:47 +11:00
Andrew Tridgell
b74ac941f9 s3-includes: force _SAMBA_BUILD_=3 in source3 includes.h
this allows a common set of cflags for a top level combined build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:46 +11:00
Andrew Tridgell
41b1f97943 s3-build: allow waf build of s3 IDL files from any top directory
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:46 +11:00
Günther Deschner
f037d42e9b s3-lsa: support trust objects in _lsa_QuerySecurity().
Guenther
2011-02-17 16:02:20 +01:00
Günther Deschner
fa43de063a s3-lsa: in _lsa_QuerySecurity() query the sd from the lsa policy handle.
Guenther
2011-02-17 16:02:20 +01:00
Günther Deschner
67dfc87291 s3-lsa: only proceed in _lsa_EnumTrustedDomainsEx when backend has trusted domain support.
Guenther
2011-02-17 16:02:20 +01:00
Günther Deschner
0ed46df56a s3-passdb: add PDB_CAP_TRUSTED_DOMAINS_EX.
Guenther
2011-02-17 16:02:20 +01:00
Andrew Bartlett
a0c77c2eda s3-cluster remove more CLUSTER_SUPPORT #ifdef stuff 2011-02-17 16:02:19 +01:00
Andrew Bartlett
09c4a5cd9b s3-cluster Always fill in the clustering vnn element
This avoids this structure being partially uninitialised.

Adnrew Bartlett
2011-02-17 16:02:19 +01:00
Günther Deschner
6840549123 s3: add server_id.idl and use only autogenerated code.
Volker, Tridge and other clustering gurus, please check.

It is ok to get rid of ifdef CLUSTER_SUPPORT here, right ?
Why was unique_id not marshalled at all ?

Guenther
2011-02-17 16:02:19 +01:00
Günther Deschner
2045cd7ed7 s3-waf: add check for "struct sigevent" and some of its members.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104
2011-02-17 12:01:58 +01:00
Günther Deschner
ce718bb521 s3-waf: add check for "struct utimbuf".
Guenther
2011-02-17 11:16:06 +01:00
David Disseldorp
9c12232f1a s3: increase the log level for missing PIDs on SIGCHLD
Since the fix for bso#7836, the parent smbd is responsible for
maintaining an up-to-date printcap cache. It does this by forking a
child process to asynchronously fetch printcap data from CUPS.

When the child process exits after fetching all printcap data, the
parent smbd is sent SIGCHLD. This triggers smbd_sig_chld_handler() which
looks for the exited process PID on a "children" list.
Child smbd process PIDs are added to the "children" list to ensure
cleanup on unclean shutdown and log level change notification messages.

Printcap update process PIDs are not added to the list as they do not
maintain any state that requires cleanup, nor do they wait on tevent for
messages.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 17 11:11:45 CET 2011 on sn-devel-104
2011-02-17 11:11:45 +01:00
Günther Deschner
78c4b2170e s3-selftest: make sure we really use --format=subunit when calling smbtorture4.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 02:01:56 CET 2011 on sn-devel-104
2011-02-17 02:01:56 +01:00
Andrew Tridgell
e1f2442096 s3-waf: move the KRB5_DEPRECATED configure check out of lib/replace
this needs to be in souce3/, as otherwise it can't handle an in-tree
kerberos library

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17 00:55:56 +01:00
Günther Deschner
0e156e7d62 s3-waf: move libsmb/clikrb5.c and libads/kerberos.c into KRBCLIENT.
This avoids two duplicates...

Guenther
2011-02-17 00:52:43 +01:00
Günther Deschner
bc83400d81 nsswitch: make wb_reqtrans a common subsystem.
Guenther
2011-02-17 00:52:42 +01:00
Günther Deschner
743b13b8e0 s3-waf: make most of the nsswitch common.
Guenther
2011-02-17 00:52:42 +01:00
Günther Deschner
9e822f1032 s3-waf: add check for struct stat st_flags member.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 23:04:35 CET 2011 on sn-devel-104
2011-02-16 23:04:35 +01:00
Günther Deschner
afb77d135e s3-waf: add some missing checks for macosx.
Guenther
2011-02-16 21:59:15 +01:00
Günther Deschner
5d3f956925 s3-waf: add check for __NR_inotify_init declaration.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 19:28:18 CET 2011 on sn-devel-104
2011-02-16 19:28:18 +01:00
Günther Deschner
a029235b3e s3-waf: add check for various sysconf() variables.
Guenther
2011-02-16 18:39:41 +01:00
Günther Deschner
9d78512b2b s3-waf: add check for posix_fadvise().
Guenther
2011-02-16 18:39:40 +01:00
Günther Deschner
1cc0fb5a9a s3-waf: add check for hires timestamps in struct stat.
Guenther
2011-02-16 18:39:38 +01:00
Günther Deschner
3b3f13a7fb s3-waf: add check for "struct flock64".
Guenther
2011-02-16 18:39:35 +01:00
Günther Deschner
8701b0d645 s3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking.
Guenther
2011-02-16 18:39:32 +01:00
Günther Deschner
4e32fd9d5c s3-waf: add check for fcntl locking.
Guenther
2011-02-16 18:39:28 +01:00
Günther Deschner
b3f76482d2 s3-waf: add check for "struct dirent64".
Guenther
2011-02-16 18:01:23 +01:00
Michael Adam
c819e3e862 s3:test: run the net.rpc.registry test under "dc" not "dc:local"
There is no need to run it on the rpc server, but it should
be run from a remote host.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 16:05:58 CET 2011 on sn-devel-104
2011-02-16 16:05:58 +01:00
Michael Adam
ae9eca61eb s3:test: remove the give/take admin rights code from the net(rpc)registry test
This is not neede any more.
The token has been fixed at the lower level on the dc.
2011-02-16 15:21:20 +01:00
Michael Adam
8e45fb4a83 s3:test: rename samba3.blackbox.testparm_s3 -> samba3.blackbox.testparm 2011-02-16 15:21:20 +01:00
Michael Adam
838de3cdd3 s3:test: rename samba3.blackbox.net_s3_registry_roundtrip -> samba3.blackbox.net.local.registry.roundtrip 2011-02-16 15:21:20 +01:00
Michael Adam
86ed1e77c7 s3:test: rename samba3.blackbox.net_s3_registry_rpc -> samba3.blackbox.net.rpc.registry 2011-02-16 15:21:20 +01:00
Michael Adam
395d8f41d6 s3:test: rename samba3.blackbox.net_s3_registry -> samba3.blackbox.net.local.registry 2011-02-16 15:21:20 +01:00
Michael Adam
2c77ece81b s3:test: rename samba3.blackbox.net_s3_misc --> samba3.blackbox.net.misc 2011-02-16 15:21:20 +01:00
Günther Deschner
c66dfe4df5 s3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds).
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 15:20:14 CET 2011 on sn-devel-104
2011-02-16 15:20:14 +01:00
Michael Adam
b03a171c13 s3:test: mark the net_registry_roundtrip test as knownfail
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 13:45:09 CET 2011 on sn-devel-104
2011-02-16 13:45:09 +01:00
Michael Adam
fca423832f s3:test: add the registry roundtrip test as samba3.blackbox.net_s3_registry_roundtrip 2011-02-16 12:56:42 +01:00
Michael Adam
df4044ed33 s3:test: move the registry roundtrip test to a test script of its own 2011-02-16 12:56:41 +01:00
Michael Adam
7fb4f2e0d5 s3:test: add comment header to test_net_registry.sh 2011-02-16 12:56:41 +01:00
Michael Adam
dbc7896e33 s3:test: use the blackbox subunit test driver in the net_registry tests. 2011-02-16 12:56:41 +01:00
Michael Adam
ad6c3ec3e5 s3:test: use the blackbox subunit test driver in the net_misc tests. 2011-02-16 12:56:41 +01:00