1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
Commit Graph

67603 Commits

Author SHA1 Message Date
Volker Lendecke
1c9b856670 tevent: Only call handlers that ask for events
The s3 libsmbclient puts two different handlers on a single fd for readability
and writability. With select this works fine, however without this patch we
unconditionally call the write handler even if the socket is only readable. We
should have called the read handler instead.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct  6 23:40:24 UTC 2010 on sn-devel-104
2010-10-06 23:40:24 +00:00
Jeremy Allison
0cec0f0912 Fix crash in SMB2 rename found by gentest. We must always have an lcomp
in the destination struct for a rename, so set the flag appropriately.

Jeremy.
2010-10-06 22:59:15 +00:00
Andrew Tridgell
5c52644eed maintainers: delete the old MAINTAINERS file
this contains some quite obsolete information

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 22:58:52 UTC 2010 on sn-devel-104
2010-10-06 22:58:52 +00:00
Andrew Tridgell
081818a7a8 maintainers: added initial MAINTAINERS.txt
initially with no subsystems maintained. Some initial maintainers will
be added soon after discussion.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 22:07:01 UTC 2010 on sn-devel-104
2010-10-06 22:07:01 +00:00
Volker Lendecke
342c79e265 s3: Make the write end of the echo responder pipe non-blocking
Without this, we can get a writable pipe end, but the writev call on the pipe
will block.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Oct  6 13:57:30 UTC 2010 on sn-devel-104
2010-10-06 13:57:30 +00:00
Andrew Tridgell
312d0977a2 s3-build: use the simpler "make bin/smbtorture" for s4 torture
and the same for bin/ndrdump

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 12:58:21 UTC 2010 on sn-devel-104
2010-10-06 12:58:21 +00:00
Andrew Tridgell
7dcecbd077 waf: allow for commands like "make bin/smbtorture"
I finally worked out the GNU make syntax for this
2010-10-06 12:18:04 +00:00
Andrew Tridgell
8a56f8ddb1 s3-spoolss: added another intermittent failure to knownfail
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 11:55:00 UTC 2010 on sn-devel-104
2010-10-06 11:55:00 +00:00
Andrew Tridgell
1e2c1c8942 autobuild: only add autobuild.log if it exists
this makes running autobuild on other than sn-devel easier
2010-10-06 11:13:05 +00:00
Andrew Tridgell
c24240bcd2 waf: fixed some python3.x portability issues
these have crept into the tree over time. Maybe we should add testing
of a range of python versions to autobuild?
2010-10-06 11:13:05 +00:00
Andrew Tridgell
8fcccae6aa waf: update to waf version 1.5.19
this includes a number of perforance improvements and bug
fixes. Thanks to Thomas for all the recent improvements!
2010-10-06 11:13:05 +00:00
Matthias Dieter Wallnöfer
8e5f8d71f2 s4:samldb LDB module - remove "type" parameter of "samldb_fill_object"
It's a bit redundant given that we have the "type" variable on "ac".

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Oct  6 10:20:45 UTC 2010 on sn-devel-104
2010-10-06 10:20:45 +00:00
Rusty Russell
2db1987f5a idtree: fix right shift of signed ints, crash on large ids on AIX
Right-shifting signed integers in undefined; indeed it seems that on
AIX with their compiler, doing a 30-bit shift on (INT_MAX-200) gives
0, not 1 as we might expect.

The obvious fix is to make id and oid unsigned: l (level count) is also
logically unsigned.

(Note: Samba doesn't generally get to ids > 1 billion, but ctdb does)

Reported-by: Chris Cowan <cc@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Autobuild-User: Rusty Russell <rusty@samba.org>
Autobuild-Date: Wed Oct  6 08:31:09 UTC 2010 on sn-devel-104
2010-10-06 08:31:09 +00:00
Andrew Tridgell
58c1d0c256 s4-heimdal: disable using the system compile_et for now
just checking that compile_et exists isn't enough. It has to actually
work. Quite a few build farm systems have /usr/bin/compile_et, but it
gets link errors when you try to use it (missing symbols et_list_lock
and et_list_unlock)

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 07:48:16 UTC 2010 on sn-devel-104
2010-10-06 07:48:16 +00:00
Andrew Tridgell
1e267b03da waf: fixed the problem with com_err on Ubuntu 9.04
this changes CHECK_BUNDLED_SYSTEM() to honor the checkfunctions and
headers options even for libraries found with pkgconfig.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 05:06:42 UTC 2010 on sn-devel-104
2010-10-06 05:06:42 +00:00
Kamen Mazdrashki
ee881c9d07 s4-test: Fix PYTHONPATH for samba4.schemaInfo.python(dc) test
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Oct  6 02:54:56 UTC 2010 on sn-devel-104
2010-10-06 02:54:56 +00:00
Jeremy Allison
77622acadd Fix crash in SMB2 rename found by gentest. We must always have an lcomp
in the destination struct for a rename, so set the flag appropriately.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct  6 00:29:51 UTC 2010 on sn-devel-104
2010-10-06 00:29:51 +00:00
Jelmer Vernooij
46b4fe0c48 heimdal-build: Require com_err library to provide com_right_r function. 2010-10-05 23:56:44 +02:00
Jelmer Vernooij
a228879903 land: Fix stage description during failure. 2010-10-05 23:56:10 +02:00
Jelmer Vernooij
47d1c49608 land: Print out failed test in case of subunit failures. 2010-10-05 23:56:10 +02:00
Kamen Mazdrashki
95c6c9b69b heimdal-com_err: fix the build for systems with older 'com_err' library
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Oct  5 21:36:41 UTC 2010 on sn-devel-104
2010-10-05 21:36:41 +00:00
Günther Deschner
cef5a36cd1 selftest: make it more obvious we only expect the printjob tests to fail.
Guenther
2010-10-05 22:55:30 +02:00
Günther Deschner
b75674c2eb Revert "libndr: fix "excess elements in struct initializer" warning."
This reverts commit a416ff26d6.
2010-10-05 22:55:30 +02:00
Günther Deschner
a578ac028f s3-waf: add slightly different mkbuildoptions awk script for waf.
This allows to run make test (w/o smbtorture4 for now) using waf.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 18:24:55 UTC 2010 on sn-devel-104
2010-10-05 18:24:55 +00:00
Günther Deschner
e481b66374 s3-waf: use more of the NDR_ subsystems.
Guenther
2010-10-05 19:43:38 +02:00
Jeremy Allison
4618e25c95 Fix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c.
From pjb1008@cam.ac.uk - Service numbers start from 0.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Oct  5 17:32:34 UTC 2010 on sn-devel-104
2010-10-05 17:32:34 +00:00
Matthias Dieter Wallnöfer
aabfb7162c s4:subtree_delete LDB module - remove the DN from an error message
It may looks funny but the DN output prevents older ADUC versions (tested with
release 2000) to perform subtree deletes properly. Version 2008 has this fixed.

Additionally some smaller changes ("%u" for printing unsigned integers,
module name prefix, nicer line-wrap).

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Oct  5 16:48:19 UTC 2010 on sn-devel-104
2010-10-05 16:48:19 +00:00
Matthias Dieter Wallnöfer
0fb9671a01 s4:setup/provision_rootdse_add.ldif - provide informations in the right order
Doesn't change much - but nicer to read.

Btw: is the testdata/samba3 stuff still needed ("provision_samba3sam.ldif"...)?
It seems a bit outdated.
2010-10-05 16:06:05 +00:00
Günther Deschner
505eaa9493 s3-selftest: enable smb2 torture tests against samba3.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 14:38:07 UTC 2010 on sn-devel-104
2010-10-05 14:38:07 +00:00
Günther Deschner
9bcb88ff25 s4-selftest: move spoolss to skip list.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 13:51:28 UTC 2010 on sn-devel-104
2010-10-05 13:51:28 +00:00
Günther Deschner
a416ff26d6 libndr: fix "excess elements in struct initializer" warning.
Guenther
2010-10-05 13:09:05 +00:00
Günther Deschner
caeb819861 s3-reg_parse: fix uninitialized variable in srprs_key().
Guenther
2010-10-05 13:09:05 +00:00
Günther Deschner
0a1ce77e29 s3-libndr: handle NDR_ERR_IPV6ADDRESS case in ndr_errstr().
Guenther
2010-10-05 13:09:05 +00:00
Jelmer Vernooij
2b58efb1fc land: Fix failure detection.
What subprocess.Popen.poll() returns is a exit code, not a status.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Oct  5 13:05:25 UTC 2010 on sn-devel-104
2010-10-05 13:05:25 +00:00
Jelmer Vernooij
c94db22a12 land: Simplify retry checker. 2010-10-05 12:24:05 +00:00
Kamen Mazdrashki
5218bcf76f s4-provision: Reset "debuglevel" after "provision" take place
Otherwise "provision" resets our current debug level and
we don't get debug messages we may expect onwards

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Oct  5 11:32:50 UTC 2010 on sn-devel-104
2010-10-05 11:32:50 +00:00
Kamen Mazdrashki
fb0add6605 s4-libnet_vampire: Reparent result.lp_ctx - we have already referenced it
which leads to warning that we are trying to steal
a context with references
2010-10-05 10:51:14 +00:00
Kamen Mazdrashki
9c27099715 s4-test: Fix PYTHONPATH for python.drs_ tests 2010-10-05 10:51:14 +00:00
Kamen Mazdrashki
dd380e3459 s4-test: Use absolute path for 'samba4srcdir' 2010-10-05 10:51:14 +00:00
Günther Deschner
4aa8aaa6d2 s3-waf: convert NSS_INFO into a subsystem.
We don't do the fancy symlinking to idmap modules though.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 10:50:53 UTC 2010 on sn-devel-104
2010-10-05 10:50:53 +00:00
Günther Deschner
d10a601ce0 s3-waf: add RPCCLI_WINREG subsystem.
Guenther
2010-10-05 10:10:19 +00:00
Volker Lendecke
ea08cd280c s3: Stop using the write cache after an oplock break
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Oct  5 10:09:38 UTC 2010 on sn-devel-104
2010-10-05 10:09:38 +00:00
Matthias Dieter Wallnöfer
af5308ef9c s4:samldb LDB module - simplify/unify the message handling on add and modify operations
- Perform only shallow copies (should be enough)
- Perform only one copy per operation (also on modifications)
- Build a new request on modify operations if needed ("modified" flag) - this
  makes it look cleaner
- Fix an important bug: the "el" pointers could have changed after
  modifications. Therefore we have to refresh them on the FLAG_DELETE checks

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Oct  5 09:24:57 UTC 2010 on sn-devel-104
2010-10-05 09:24:57 +00:00
Matthias Dieter Wallnöfer
ca035b35fe s4:samldb LDB module - assign better memory contexts on two places 2010-10-05 08:43:19 +00:00
Matthias Dieter Wallnöfer
0e5b77bec4 s4:kdc - use "userAccountControl" always unsigned
It doesn't change much but it's nicer to have it consistent.
2010-10-05 08:43:19 +00:00
Matthias Dieter Wallnöfer
933aef0bf4 s4:ldb_modules.c - fix a typo 2010-10-05 08:43:19 +00:00
Andrew Tridgell
a9ee39cadf s4-test: changed the gentest test to use a fixed seed.
we need our test suite to produce repeatable results

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct  5 08:43:00 UTC 2010 on sn-devel-104
2010-10-05 08:43:00 +00:00
Matthieu Patou
906e3f1297 torture: complete dfs referral tests
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Oct  5 08:01:39 UTC 2010 on sn-devel-104
2010-10-05 08:01:39 +00:00
Matthieu Patou
8a0095b930 dfs: Fix wrong size of referral, change order of dc referral
Order of referral is now like w2k8/w2k8r2 as it seems it has an
influence on how clients manage to get it.
2010-10-05 11:19:40 +04:00
Matthieu Patou
52d32e08a4 idl: dfsblobs fix glitches in the implementation 2010-10-05 11:19:40 +04:00