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

61541 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
2859b9df99 s4:net tool - add a "discard_const_p" to suppress the "PySys_SetArgv" warning 2010-04-06 14:54:11 +02:00
Matthias Dieter Wallnöfer
5b824eb17b s4:torture - remove unused variables 2010-04-06 14:54:11 +02:00
Matthias Dieter Wallnöfer
b7b464eeee s4:auth/ntlm/auth_developer.c - "fixed_challenge_get_challenge" - fix the assignment of the challenge
This is a string buffer and not a DATA_BLOB.
2010-04-06 14:54:10 +02:00
Matthias Dieter Wallnöfer
0086db6c0c LDB:sample_module.c - remove code parts which generate warnings
Btw: The use of the "ldb_msg_add_fmt" operation directly on the request message
object is strongly discouraged. Better is to make a shallow copy of this message
and attach it to a new child request which is handled by the following modules.
2010-04-06 14:54:10 +02:00
Jelmer Vernooij
5f080d8e03 s4-python: Fix compilation of samba._ldb. 2010-04-06 14:24:45 +02:00
Christian Ambach
96ae3ee803 fix a segfault in the notify subsystem
When the notify_array cannot be loaded correctly,
do not keep the half-baked parsing results in the global variable.

This can lead to segfaults next time notify_load is entered and
the seqnum has not changed. This has been seen in a case
where mixed smbd versions were running in a CTDB cluster
(versions with and w/o commit c216d1e6 that changed the
notify_entry structure).
There will be missed notifications until all smbds are at the
same software level, but this should be acceptable and is better
than crashing and interrupting client operations.

This fix cleans up the notify_array, removes the unparseable data
from the TDB and returns a fresh notify_array that can be worked
with.

The NDR_PRINT_DEBUG had to be moved to only be called when the
parsing succeeded, it was seen to cause additional segfaults.

The status variable is intentionally left to NT_STATUS_OK to not
make callers abort and report errors to the clients and make them
disconnect.

Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-04-06 14:09:06 +02:00
Jelmer Vernooij
449bdf3543 s4-python: Move set_session_info to PySambaLdb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
55b98e9768 s4-python: Move register_samba_handlers to PySambaLdb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
e9c3f2ef13 s4-python: Move ldb_set_utf8_casefold to pyldb-samba. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
ae97613499 s4-python: Move set_opaque_integer to pyldb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
b72a5c0336 Move glue.set_credentials hack to samba.Ldb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
099fc00b60 Add C-based Samba-specific subclass of Ldb. 2010-04-06 13:12:43 +02:00
Andrew Tridgell
badc255748 s4-build: remove any 'makefile' that may have been left by the waf build
this allows ./autogen.sh to be used to switch back to the old build
system after trying the waf build
2010-04-06 20:48:33 +10:00
Andrew Tridgell
07d9da4d2f build: use a target_in_list() function for more flexible builtin control 2010-04-06 20:27:27 +10:00
Andrew Tridgell
35ec7c34b3 build: cope with binaries with subdir prefixes (for s3 waf build) 2010-04-06 20:27:27 +10:00
Andrew Tridgell
748ef2c865 s4-waf: don't need TOUCH_FILE() any more 2010-04-06 20:27:26 +10:00
Andrew Tridgell
5260b50467 build: run distcheck in testwaf.sh 2010-04-06 20:27:26 +10:00
Andrew Tridgell
bfd30ebcba s4-waf: add subdir argument to distcheck for source4 2010-04-06 20:27:26 +10:00
Andrew Tridgell
6ea4ae881c build: update version of waf to add subdir argument to distcheck 2010-04-06 20:27:26 +10:00
Andrew Tridgell
64594f296c s4-waf: replace TOUCH_FILE() with normal install rules
this allows it to work with 'waf uninstall'
2010-04-06 20:27:26 +10:00
Andrew Tridgell
cd712dff31 build: simpler symlink_bin and symlink_lib methods 2010-04-06 20:27:26 +10:00
Andrew Tridgell
7ae4372124 s4-waf: fixed waf distcheck for our standalone libs and s4 2010-04-06 20:27:26 +10:00
Andrew Tridgell
fe060c8f50 s4-waf: added simple 'waf test' support for tdb, talloc and ldb 2010-04-06 20:27:26 +10:00
Andrew Tridgell
7d34210772 s4-waf: added python_dsdb from merge with master 2010-04-06 20:27:26 +10:00
Andrew Tridgell
dfdabffae3 build: fixed LOAD_ENVIRONMENT for out of tree builds 2010-04-06 20:27:26 +10:00
Andrew Tridgell
ccfce0bbae s4-waf: autogen-waf.sh for the standalone library builds 2010-04-06 20:27:25 +10:00
Andrew Tridgell
1e35da6145 s4-waf: new autogen-waf.sh
this one will work with the tdb, talloc, etc directories
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c8835f440a s4-waf: use a common pattern for finding buildtools and libs 2010-04-06 20:27:25 +10:00
Andrew Tridgell
553324bc10 s4-waf: move to a universal method of recursing into subdirs
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
8dc8d31f4a s4-waf: fixed finding of buildtools and srcdir 2010-04-06 20:27:25 +10:00
Andrew Tridgell
a884008797 ldb-waf: fixed buildtools path 2010-04-06 20:27:25 +10:00
Andrew Tridgell
1883ee6dbc s4-waf: avoid having to run waf configure before waf dist
This should be useful for building tarballs from a clean checkout
2010-04-06 20:27:25 +10:00
Andrew Tridgell
3ed6d7e76f build: nicer error msg when git ls-files fails 2010-04-06 20:27:25 +10:00
Andrew Tridgell
9e9e878e8f s4-waf: allow standalone tarball build of libraries 2010-04-06 20:27:25 +10:00
Andrew Tridgell
528d7c7cf3 s4-waf: added 'waf dist' to our standalone libs as well 2010-04-06 20:27:25 +10:00
Andrew Tridgell
c8062fb65e s4-waf: added 'waf dist' to build the tarball 2010-04-06 20:27:24 +10:00
Andrew Tridgell
735934bfed build: removed some unused imports found by pyflakes
thanks to Jelmer for pointing me at pyflakes
2010-04-06 20:27:24 +10:00
Andrew Tridgell
2bf15566c6 talloc-waf: install talloc.pc if standalone 2010-04-06 20:27:24 +10:00
Andrew Tridgell
23ff97e629 build: fixed the expansions in pkgconfig files
thanks to Jelmer for the hint on this
2010-04-06 20:27:24 +10:00
Andrew Tridgell
7aa3f08f85 build: fixed DESTDIR for TOUCH_FILE() 2010-04-06 20:27:24 +10:00
Andrew Tridgell
feafcd2fb4 build: waf update to fix macos build error 2010-04-06 20:27:24 +10:00
Andrew Tridgell
fce1f19800 build: try to fix the python link problem on SerNet-imini 2010-04-06 20:27:24 +10:00
Andrew Tridgell
3efd865d61 build: use waf from waf-svn.git repo
Added README explaining where waf comes from, and where to get the
upstream sources and the exact version we use in Samba
2010-04-06 20:27:24 +10:00
Andrew Tridgell
1b15b28eaa build: try the generic C compiler on hpux if gcc not found 2010-04-06 20:27:24 +10:00
Andrew Tridgell
a02d98ebb6 build: update wav-svn
this version works around the tarfile problem on irix
2010-04-06 20:27:23 +10:00
Andrew Tridgell
20c7cd878b build: added 'generic' cc support and a simple irix cc support module
these will let us get past the 'detect cc' stage and try a build. It
also makes for a reasonable template for new ports
2010-04-06 20:27:23 +10:00
Andrew Tridgell
b849bea079 build: initial version of a tru64 compiler module
this doesn't do shared libs yet, but at least configure passes
2010-04-06 20:27:23 +10:00
Andrew Tridgell
7a8d58dbbc pidl-waf: disable pidl manpages
it's still causing trouble in the build farm
2010-04-06 20:27:23 +10:00
Andrew Tridgell
a799f5995e pidl-waf: better handling of the man page generation
we now avoid leaving build files in the source tree
2010-04-06 20:27:23 +10:00
Andrew Tridgell
3385b1e2e9 pidl-waf: build pidl man pages and parsers separately
this should prevent gratuitious builds
2010-04-06 20:27:23 +10:00