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

63272 Commits

Author SHA1 Message Date
Günther Deschner
fbb7814f91 s3: only use netlogon/nbt header when needed.
Guenther
2010-05-31 11:32:37 +02:00
Günther Deschner
f9f8007361 s3-build: only use ndr_security.h where needed.
Guenther
2010-05-31 11:32:37 +02:00
Günther Deschner
c00407bd35 libcli/nbt/lmhosts: fix missing prototype warning.
Andrew, please check.

Guenther
2010-05-31 11:25:24 +02:00
Michael Adam
7426cf4306 s3: remove prototype of non-existsing function idmap_tdb_tdb_close(). 2010-05-31 10:30:15 +02:00
Kai Blin
e3997c2a6d wafsamba: Correctly detect if bld.env.XSLTPROC is not set
This fixes the build on some build farm hosts and my machine.

Jelmer, please check.
2010-05-31 09:40:14 +02:00
Jelmer Vernooij
cd2dd33103 ldb: Support building with system ldb library 2010-05-31 04:48:00 +02:00
Jelmer Vernooij
04fc459a30 tdb-waf: Don't install binaries when using system tdb. 2010-05-31 04:20:44 +02:00
Jelmer Vernooij
e6129bd596 tdb-waf: Simplify manpage handling. 2010-05-31 04:16:19 +02:00
Jelmer Vernooij
1d1d31f703 wafsamba: Default blacklist to an empty list rather than None. 2010-05-31 03:59:50 +02:00
Jelmer Vernooij
3858b5db8b s4-waf: sanitize library names like the old build system did, only add
-samba4 suffix for libraries that are bundled.
2010-05-31 03:28:42 +02:00
Björn Jacke
17ad28c582 s3: use PICFLAG instead of PIE_FLAGS 2010-05-31 02:20:51 +02:00
Jelmer Vernooij
f3f1745e27 wafsamba: Actually install manual pages. 2010-05-31 01:38:35 +02:00
Jelmer Vernooij
38cbb60e97 ldb: Remove manual pages for binaries that have already been moved to utils/. 2010-05-31 01:38:35 +02:00
Jelmer Vernooij
3e65af312c ldb-waf: Fix installation path of manpages, simplify manpage handling. 2010-05-31 01:38:35 +02:00
Jelmer Vernooij
f757263fb3 s4-waf: Look for xsltproc executable, required to build manpages. 2010-05-31 01:38:35 +02:00
Björn Jacke
c2327b24a6 s3: final test for working shlib support requires PIE_LDFLAGS 2010-05-31 00:37:01 +02:00
Jelmer Vernooij
55ef0ecea8 s4-python: Remove cruft to deal with static python modules, which are no
longer supported.
2010-05-31 00:21:42 +02:00
Björn Jacke
390b0521bd s3: use autoconf macro to get some debug output in config.log 2010-05-30 23:59:45 +02:00
Kai Blin
e4a9bdc39f s3-waf: Fix the build after rebase 2010-05-30 23:29:47 +02:00
Kai Blin
209555ef09 s3-waf: support avahi builds 2010-05-30 23:29:39 +02:00
Kai Blin
04d251a847 build: Also replace '-' by '_' when creating header defines
Tridge, please check
2010-05-30 23:29:29 +02:00
Kai Blin
8e2b69ca46 s3-waf: Add more darwin-specific options 2010-05-30 23:29:20 +02:00
Matthias Dieter Wallnöfer
5a0b3cf93d s4:tests/python/passwords.py - fix filter 2010-05-30 23:13:09 +02:00
Matthias Dieter Wallnöfer
327fa70f3f ldb:ldb_tdb/ldb_tdb.c - quiet a warning regarding TDB -> LDB error code conversions 2010-05-30 23:13:09 +02:00
Matthias Dieter Wallnöfer
463d5f0afc s4:samldb LDB module - deny delete operations on some important attributes
Add operations are denied since these are single-valued - only replace is
allowed.

This is only provisorily at the moment - we need to implement the triggers
specified in MS-ADTS.
2010-05-30 23:13:09 +02:00
Matthias Dieter Wallnöfer
092331d2d8 s4:ldap.py - add a test which shows the modification behaviour of important attributes
This shows how important attributes of SAM objects do behave when you launch
add and delete modify requests on them.
2010-05-30 23:13:08 +02:00
Matthias Dieter Wallnöfer
08653ac9c2 s4:samldb LDB module - rework the group change code to be again synchronous 2010-05-30 23:13:08 +02:00
Matthias Dieter Wallnöfer
c30c4529f5 s4:ldap.py - add more test cases to show invalid primary group change behaviour 2010-05-30 23:13:08 +02:00
Kai Blin
f3b04854b8 s3-waf: Set HAVE_GSSAPI if gssapi libs were found 2010-05-30 22:54:27 +02:00
Björn Jacke
6a78241f4a libreplace: include sys/file.h only when available
thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460.
2010-05-30 21:46:35 +02:00
Joachim Schmitz
3030d9db4e s3: define timespec before we use it
this fixes #7464

Signed-off-by: Björn Jacke <bj@sernet.de>
2010-05-30 21:28:17 +02:00
Matthias Dieter Wallnöfer
c2a3792e72 s4:dsdb/samdb/ldb_modules/util.c - make sure to always free temporary data 2010-05-30 20:52:11 +02:00
Matthias Dieter Wallnöfer
b7270fbc99 s4:dsdb_module_search_dn - add code to handle NULL format string 2010-05-30 20:52:10 +02:00
Matthias Dieter Wallnöfer
f927881028 s4:dsdb/common/util.c - fix a counter variable 2010-05-30 20:52:10 +02:00
Jelmer Vernooij
598656985a selftest: list.remove raises ValueError rather than KeyError. 2010-05-30 17:05:49 +02:00
Björn Jacke
a1b44f4335 s3: set pthread cflags in a more portable fashion
this avoids one place of a GNU make dependency.

Portable make sucks a bit as it has no way of defining variables for a limited
set of targets only. Manual duplication of target rules is the only way to
achieve what we need.

If someone actually knows a trick how to do this without target duplication,
let me know.
2010-05-30 16:25:28 +02:00
Björn Jacke
30c74cfa49 Revert "s3: Attempt to fix the non-gnumake build"
This reverts commit 086c6c0e9a, it broke some
builds. The following commit should also remove the gmake dependency.
2010-05-30 16:25:28 +02:00
Björn Jacke
96ee9568ed s3: fix check for pie compiler flags
some compilers (HP and Sun e.g.) output warning messages on stderr for unknown
options and we ended up partly using some unwanted random compile flags we
did't intend to use.
2010-05-30 16:25:28 +02:00
Björn Jacke
b869350ddd s3: add m4 macro to check if stderr is empty or not 2010-05-30 16:25:28 +02:00
Matthias Dieter Wallnöfer
55df7606e3 Revert "s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000"
This reverts commit 1cf5be39e3.

My fix approach isn't such appreciated therefore revert this.
2010-05-30 14:53:36 +02:00
Matthias Dieter Wallnöfer
1cf5be39e3 s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000
Windows 2000 does strictly request header signing on some requests also if the
server doesn't provide it. But there is a small trick (don't reset the actual
session info) to make these special RPC operations work without a full header
signing implementation.

This fixes for example the list of domain groups in local groups when displayed
sing the local user/group management tool.

And this should finally fix bug #7113.

The patch was inspired by another one by tridge and abartlet: http://gitweb.samba.org/samba.git/?p=tridge/samba.git;a=commitdiff;h=2dc19e2878371264606575d3fc09176776be7729
2010-05-30 12:39:30 +02:00
Matthias Dieter Wallnöfer
76cd237ee5 s4:web_server/wsgi.c - free the "env" and "inputstream" objects on an "asprintf" failure 2010-05-30 11:12:25 +02:00
Matthias Dieter Wallnöfer
9bfd2c8ebc s4:auth/credentials/credentials.c - initialise "password_last_changed_time"
Otherwise it could remain uninitialised.
2010-05-30 11:12:24 +02:00
Matthias Dieter Wallnöfer
f1d7d6d4df nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" calls
This should fix bug #7319 and #7320.
2010-05-30 11:12:24 +02:00
Simo Sorce
33c633df0b s3:auth make it easier to trace auth modules 2010-05-29 17:08:10 -04:00
Simo Sorce
bd38c0d47d s3:auth fix info3 duplication function 2010-05-29 17:08:02 -04:00
Simo Sorce
b99dd10b39 s3:smbd Use the right num_sids
We use s_i->ptok->num_sids everywhere else in this call and
then suddenly we reference s_i->num_sids
2010-05-29 17:07:55 -04:00
Simo Sorce
d85d85b851 s3:passdb Fix memory leak
We were allocating this passwd structure on sampass, but never freeing
it nor assigning it to unix_pw where it could be reused.
2010-05-29 10:54:08 -04:00
Andrew Bartlett
b455c5e155 s3:auth Fix segfault when the user cannot be found by getpwnam()
Add comment to notify when getpwnam() fails.

Reviewed-by: Simo Sorce <idra@samba.org>
2010-05-29 09:22:53 -04:00
Günther Deschner
a8d308faff s3-selftest: fix chmod commands in provisioning.
Guenther
2010-05-29 00:38:21 +02:00