1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

67017 Commits

Author SHA1 Message Date
Volker Lendecke
a0d3ffbf92 s3: Fix some 64-bit warnings 2010-09-25 15:01:29 -07:00
Jelmer Vernooij
0a18f89e8a pyteven: Fix build warnings. 2010-09-25 12:20:58 -07:00
Jelmer Vernooij
296ff486e4 Check in configure/Makefile for those projects that have waf as primary build system. 2010-09-25 12:20:57 -07:00
Jelmer Vernooij
e68afdc02f pytevent: Add more tests. 2010-09-25 12:20:57 -07:00
Jelmer Vernooij
ddb3c48f1a pytevent: Fill in client side fnuctions. 2010-09-25 12:20:57 -07:00
Jelmer Vernooij
ba5d034d53 selftest: If a testsuite is killed by a signal, let selftest die. 2010-09-25 12:20:56 -07:00
Jelmer Vernooij
465cff7531 tevent: Add infrastructure for python bindings. 2010-09-25 12:20:56 -07:00
Jelmer Vernooij
1f22b63b34 tevent: Switch to using waf by default. 2010-09-25 12:20:56 -07:00
Volker Lendecke
e81db37a87 s3: Fix bug 7470
S_IREAD and S_IWRITE are not standard.

Thanks to Joachim Schmitz <schmitz@hp.com> for reporting!
2010-09-25 10:59:15 -07:00
Andrew Tridgell
85ba79063f ldb: mark the location of a lot more ldb requests 2010-09-25 10:38:45 -07:00
Andrew Tridgell
5568fcd88b s4-dsdb: added tagging of requests in dsdb modules
this allows you to call dsdb_req_chain_debug() in gdb or when writing
debug code to see the request chain
2010-09-25 10:38:45 -07:00
Andrew Tridgell
f4893e7d33 ldb: added request location tracking
this is used to help debug async ldb requests. The ldb request handle
now contains a location string and the parent request pointer. This
allows us to print a backtrace of ldb requests in the dsdb modules.
2010-09-25 10:38:45 -07:00
Andrew Tridgell
d72dbe847e s4-repl: make getncchanges a bit less verbose
this should reduce some of the clutter in make test
2010-09-25 10:38:45 -07:00
Andrew Tridgell
c53210bf06 s4-net: added --ipaddress option to net commands
this allows override of server IP address, bypassing NBT or DNS name
resolution of DCs

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-25 10:38:45 -07:00
Andrew Tridgell
3d7a4cf5b6 s4-pynet: added server keyword to Net() initialisation
this sets up server_address in the libnet context

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-25 10:38:45 -07:00
Andrew Tridgell
805d9425c2 s4-libnet: added server_address option in libnet context
this is used by libnet_LookupDCs 

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-25 10:38:45 -07:00
Andrew Tridgell
a360428588 s4-finddcs: allow override of server IP address
this will be used to implement --ipaddress option to net commands

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-25 10:38:45 -07:00
Andrew Tridgell
bd228f9858 s4-repl: don't store repsFrom on DNs other than NC heads
we don't want a refsFrom on the Rid Manage$ DN 

Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-25 10:38:45 -07:00
Andrew Tridgell
781796c557 s4-pycredentials: avoid a tallloc_free on ref
with the new py object structure, we need to unlink not free
2010-09-25 10:38:44 -07:00
Andrew Tridgell
a1d52540a3 s4-repl: use namingContexts from rootDSE to initialise partition list
this is preferable to looking for the hasMasterNCs attribute on
nTDSDSA objects.
2010-09-25 10:38:44 -07:00
Andrew Tridgell
370446769d s4-repl: force on WRIT_REP when we are a writable replica
this ensures we always mark ourselves as writeable when we are not
an RODC
2010-09-25 10:38:44 -07:00
Andrew Tridgell
3aea12d0ab s4-repl: use dreplsrv_partition_source_dsa_by_guid to find source dsa
this avoids a list walk in the calling code
2010-09-25 10:38:44 -07:00
Andrew Tridgell
ca847b593d torture: fixed a valgrind error in SMB2-CREATE
the lock structure had uninitialised elements, so we sent a random
length.

This also adds a 1 byte write, so there is real data that is being
truncated with the 2nd open
2010-09-25 10:38:44 -07:00
Nadezhda Ivanova
99f0891944 s4-dsdb: Fixed a call to the wrong ops function in dsdb_module_search_dn. 2010-09-25 10:19:11 -07:00
Günther Deschner
8afb252aba s3-waf: fix debug2html.
Guenther
2010-09-24 23:57:23 -07:00
Günther Deschner
f3561e5cfc s3-waf: add missing idmap module objectfiles.
Guenther
2010-09-24 23:43:15 -07:00
Günther Deschner
f2316f86fa s3-waf: convert DISPLAY_SEC into a subsystem.
Guenther
2010-09-24 23:43:09 -07:00
Günther Deschner
5d54dc2f97 s3-waf: fix libnetapi and libaddns unresolved symbols.
Guenther
2010-09-24 21:53:42 -07:00
Günther Deschner
96e982c2ba s3-waf: install header files for our libraries.
Guenther
2010-09-24 21:53:40 -07:00
Günther Deschner
4e6d7fa527 s3-waf: convert LIBEVENTLOG into a subsystem.
Guenther
2010-09-24 21:10:48 -07:00
Günther Deschner
bd5f932eef s4-waf: add NDR_EVENTLOG.
Guenther
2010-09-24 21:10:47 -07:00
Günther Deschner
204ba65772 s4-waf: rename subsystem NDR_LSAPRC to NDR_LSA.
Guenther
2010-09-24 21:10:47 -07:00
Günther Deschner
db4bec3f4c s3-waf: convert LIBNET et al into subsystems.
Guenther
2010-09-24 21:09:45 -07:00
Günther Deschner
fd9ae125bc s3-waf: convert PASSWD_UTIL into a subsystem.
Guenther
2010-09-24 21:09:33 -07:00
Volker Lendecke
e325a5b674 talloc: Add a warning about talloc_autofree_context() and dlclose() 2010-09-24 17:21:42 -07:00
Günther Deschner
e90c707f14 s3-waf: convert READLINE into a subsystem.
Guenther
2010-09-24 12:42:05 -07:00
Günther Deschner
929b22024a s3-waf: convert PROFILE into a subsystem.
Guenther
2010-09-24 12:27:57 -07:00
Günther Deschner
0541e07fd9 s3-waf: convert AFS_SETTOKEN and AFS into subsystems.
Guenther
2010-09-24 12:14:23 -07:00
Günther Deschner
fa3eb7f5d4 s3-waf: let winbind depend on SRV_NDR_WBINT and RPCCLI_NDR_WBINT.
Guenther
2010-09-24 12:14:23 -07:00
Günther Deschner
1bec7e56a2 s3-waf: convert LOCKING into a subsystem.
Guenther
2010-09-24 12:14:22 -07:00
Günther Deschner
2b76785311 s3-waf: add RPC_NDR_WBINT to librpc/wscript_build.
Guenther
2010-09-24 12:14:11 -07:00
Günther Deschner
44b0a03367 s3-waf: add autogen-waf.sh to source3.
Guenther
2010-09-24 11:26:11 -07:00
Günther Deschner
c54881b2e1 s3-waf: add wscript_build to s3 librpc dir for NDR_ subsystems.
Guenther
2010-09-24 11:12:39 -07:00
Andrew Bartlett
c9b19d9b69 s4-kerberos Rework keytab handling to export servicePrincipalName entries
This creates keytab entries with all the servicePrincipalNames listed
in the secrets.ldb entry.

Andrew Bartlett
2010-09-24 15:07:56 +10:00
Jeremy Allison
d8814b1a48 Fix bug 7694 - Crash bug with invalid SPNEGO token.
Found by the CodeNomicon test suites at the SNIA plugfest.

http://www.codenomicon.com/

If an invalid SPNEGO packet contains no OIDs we crash in the SMB1/SMB2 server
as we indirect the first returned value OIDs[0], which is returned as NULL.

Jeremy.
2010-09-23 21:44:24 -07:00
Günther Deschner
0a1d153b25 s3-waf: add check for seteuid method.
Thanks to Kai and Metze!

Guenther
2010-09-23 18:15:09 -07:00
Günther Deschner
00be7ea413 s3-waf: fix the build.
Guenther
2010-09-23 16:43:08 -07:00
Günther Deschner
260ad23727 s3-waf: add more diroptions.
Guenther
2010-09-23 16:43:07 -07:00
Kai Blin
0b0a717255 s3 waf: more correctly generate symbols for pdb/vfs/auth/etc. modules 2010-09-23 16:30:46 -07:00
Andrew Bartlett
0bc3e15931 selftest Don't run 'speed' tests for very long
'make test' is too long, and the main thing we need with these
tests is to ensure they don't segfault - there is no need to benchmark
every box in the build farm, and we have no 'fail' metric in any case.

Andrew Bartlett
2010-09-24 09:25:44 +10:00