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

56441 Commits

Author SHA1 Message Date
Anatoliy Atanasov
97a9ae15b5 s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_FULL_SYNC_PACKET in getncchanges
When this flag is specified in the request we shouldn't use the
uptodateness vector in the request.
2009-09-23 17:10:12 -07:00
Anatoliy Atanasov
71c862cd91 idl: regenerate idl 2009-09-23 15:50:58 -07:00
Anatoliy Atanasov
c9dc6506e6 s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_CRITICAL_ONLY req in getncchanges 2009-09-23 15:50:51 -07:00
Stefan Metzmacher
5925e2952c Revert "r20074: this values seem to be typos in drsuapi"
This reverts commit 1dfd365d57

This change was from and the flags I was seeing have another meaning.

metze

Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-23 15:50:42 -07:00
Andrew Bartlett
f28219d1a1 s4:ldif_handlers Fix memory leak in objectCategory LDIF handler 2009-09-23 14:01:30 -07:00
Andrew Tridgell
10f86114de s4-drs: fill in more guids and SIDs, plus filter rDN
In DsGetNCChanges we need to fill in the parentGUID and objectGUID of
each object, plus we need to filter out the rDN from the meta data,
and always send the instanceType
2009-09-23 14:01:30 -07:00
Andrew Tridgell
075f9e2c29 s4-dsdb: cope with windows sending extra pad bytes 2009-09-23 14:01:30 -07:00
Andrew Tridgell
6fba3a22fe s4-dsdb: added dsdb_find_sid_by_dn() 2009-09-23 14:01:29 -07:00
Andrew Tridgell
af4c1f7fc6 s4-drsserver: fixed addition of sort control 2009-09-23 14:01:29 -07:00
Andrew Tridgell
9b7de7f491 fixed spelling 2009-09-23 14:01:29 -07:00
Andrew Tridgell
523fb6d72b s4-drs: ignore zero value elements in DRS add operations
w2k8 sometimes sends us a new object via DRS with an attribute with no
values
2009-09-23 14:01:29 -07:00
Andrew Tridgell
87b6f2e863 s4-netlogon: always set the dNSHostName in GetDomainInfo
This seems to be what w2k8 does
2009-09-23 14:01:28 -07:00
Andrew Tridgell
b60854ec46 regenerate IDL 2009-09-23 14:01:28 -07:00
Andrew Tridgell
c94e3ff064 s4-netlogon: make GetDomainInfo response match w2k8 2009-09-23 13:57:59 -07:00
Andrew Tridgell
5c51560d43 s4-cldap: return domainFunctionality from SAM 2009-09-23 13:57:59 -07:00
Andrew Tridgell
a50672b44b idl: fixed string termination for netlogon GetDomainInfo 2009-09-23 13:57:59 -07:00
Andrew Tridgell
43f7d7e1b1 s4-nbt: added NBT_SERVER_DNS_FOREST 2009-09-23 13:57:59 -07:00
Volker Lendecke
cd749ef8bd s3:gencache: Make gencache_del() return success for expired entries
This fixes nasty error messages from "net cache flush"
2009-09-23 18:50:33 +02:00
Volker Lendecke
aece84f22d s3:gencache: Remove some over-paranoid locking 2009-09-23 18:50:33 +02:00
Volker Lendecke
76d95b9a2d s3:gencache: Add a "was_expired" argument to gencache_get_data_blob
This is set to true if the routine returns failure due to an existing but
expired entry.
2009-09-23 18:50:33 +02:00
Jelmer Vernooij
adf66e75c0 Check for PyString_FromString being NULL. 2009-09-23 15:24:10 +02:00
Jelmer Vernooij
c5615211d4 provision: Avoid linking in multiple copies of security python module. 2009-09-23 15:24:10 +02:00
Volker Lendecke
0724649a8a s3:winbind: Fix an uninitialized variable 2009-09-23 06:25:24 +02:00
Andrew Tridgell
ee4f7f1209 s4-drsserver: sort by DN to give tree order
This might help the windows client with ordered requests. Later we
need to support the "ancestors" mode flag.
2009-09-22 17:10:06 -07:00
Andrew Tridgell
83bef7d047 s4-ldb: server side sort args are const char * 2009-09-22 17:10:06 -07:00
Andrew Tridgell
1dfcd4c22c s4-ldb: fixed call argument order for ldb_dn_from_ldb_val
This caused _lots_ of problems, especially in server side sort
2009-09-22 17:10:06 -07:00
Andrew Tridgell
bb3bdb3a62 s4-ldb: added a bunch more debug for DC join
These additional debug messages were added to help us track down
w2k8->s4 domain join
2009-09-22 17:10:06 -07:00
Andrew Tridgell
4a74b28397 s4-ldb: when tracing, show ldb_set_debug messages 2009-09-22 17:10:06 -07:00
Andrew Tridgell
9b752399c1 s4-ldbmodules: allow instanceType to be specified by clients
This is needed for the WSPP ADS testsuite
2009-09-22 17:10:05 -07:00
Andrew Tridgell
fb84edabbe s4-util: windows only accepts lowercase hex encodings for extended DNs 2009-09-22 17:10:05 -07:00
Andrew Tridgell
430ee62e0c s4-torture: add some debug info to RPC-HANDLES 2009-09-22 17:10:05 -07:00
Andrew Tridgell
8a090265b7 s4-rpcserver: added support for shared handles
This supports shared RPC handles across connections on all RPC
interfaces.

It turns out that w2k3 and w2k8 don't actually support this on all
pipes. We need to test which pipes we should enable this on.
2009-09-22 17:10:05 -07:00
Andrew Tridgell
a971b87a9e s4-lsa: added support for QuerySecurity on LSA
This follows the sd pattern from samba3
2009-09-22 17:10:05 -07:00
Andrew Tridgell
69cb91a2eb s4-rpcserver: added shared association groups
This patch allows us to share association groups and their rpc handles
between connections. This is needed for some DRSUAPI behaviour when
recent windows clients connect.
2009-09-22 17:10:05 -07:00
Andrew Tridgell
a30d613086 s4-rpcserver: run all RPC operations in a single task
This will make it much easier to implement shared handles with
association groups. It also means we can shared the ldb between RPC
connections.
2009-09-22 17:10:05 -07:00
Andrew Tridgell
5d16b9c1bf s4-rpc: remove two unused functions 2009-09-22 17:10:05 -07:00
Andrew Tridgell
2e98ee0907 s4-ldb: only show the outer level of ldb ops when tracing 2009-09-22 17:10:05 -07:00
Andrew Tridgell
ec5d01278a s4-ldb: don't show timestamps on every line of ldb traces
This adds ldb_debug_add() and ldb_debug_end() to format multiline
messages
2009-09-22 17:10:05 -07:00
Michael Adam
1544c2b66c build: use AS_HELP_STRING() for --with-localedir
Michael
2009-09-23 00:53:47 +02:00
Michael Adam
bb77a2a8ae build: add switch "--with-codepagedir=DIR" to configure.
This is to address bug #6444.

Michael
2009-09-23 00:53:47 +02:00
Michael Adam
8b795534bd build: add datadir to "make showlayout"
Michael
2009-09-23 00:53:47 +02:00
Anatoliy Atanasov
68f33428c7 Move the check above the talloc 2009-09-22 14:46:18 -07:00
Günther Deschner
6a8ef6c424 s3-winbindd: Fix Bug #6711: trusts to windows 2008 (2008 r2) not working.
Winbindd should always try to use LSA via an schannel authenticated ncacn_ip_tcp
connection when talking to AD for LSA lookup calls.

In Samba <-> W2k8 interdomain trust scenarios, LookupSids3 and LookupNames4 via an
schannel ncacn_ip_tcp LSA connection are the *only* options to successfully resolve
sids and names.

Guenther
2009-09-22 16:49:31 +02:00
Günther Deschner
58f2deb940 s3-winbindd: add cm_connect_lsa_tcp().
Guenther
2009-09-22 11:38:06 +02:00
Rusty Russell
455d44d961 lib/tevent: a cleaner fix for be4ac22784 segv
Revert 23abcd2318 and fix logic bug.

The current code loops through the event contexts, when it sees a different
one, it notifies the current one (ev) and updates ev to point to the new one.

This is dumb, because:
(1) ev starts as NULL, so this code crashes, and
(2) The final context will not be notified.

The correct fix for this is to update ev to the new one, then notify it.
Volker's fix works because we currently always have one event context.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-09-22 10:50:28 +02:00
Nadezhda Ivanova
f54ef5f20f s4:dsdb Fix of double addition of SD-s
Also add error strings in descriptor module
2009-09-21 20:50:34 -07:00
Andrew Bartlett
399c7160d5 s4:ldb Add 'single-value' support to LDB.
This is currently only triggered via Samba4's schema code.
2009-09-21 20:50:26 -07:00
Nadezhda Ivanova
9e85192e64 Merge branch 'master' of git://git.samba.org/samba 2009-09-21 17:29:28 -07:00
Nadezhda Ivanova
10c6f3f71a Initial Implementation of the DS objects access checks.
Currently disabled. The search will be greatly modified,
also the object tree stuff will be simplified.
2009-09-21 17:27:50 -07:00
Anatoliy Atanasov
b850d7fb08 Add support in the ldb_dn.c code for MS-ADTS:3.1.1.5.1.2 Naming Constraints 2009-09-21 17:18:10 -07:00