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

17415 Commits

Author SHA1 Message Date
Stefan Metzmacher
3c9f3c32d1 s4:drsuapi.idl: fix some fields in drsuapi_DsRemoveDSServer()
metze
2008-10-02 12:20:59 +02:00
Stefan Metzmacher
1e24fd3ba2 s4:rootdse: for now don't pass down controls for the rootdse search
metze
2008-10-02 12:20:58 +02:00
Stefan Metzmacher
81b3358f2a s4:partition: register DOMAIN_SCOPE and SEARCH_OPTIONS controls
metze
2008-10-02 12:20:58 +02:00
Stefan Metzmacher
551bbd853c s4:partition: pass down the SEARCH_OPTIONS control as uncritical
metze
2008-10-02 12:20:58 +02:00
Stefan Metzmacher
3ebf3f316b s4:linked_attributes: fix a crash bug when the definition of a target attribute is missing
Windows 2003 has a broken schema where the definition of msDS-IsDomainFor
is missing (which is supposed to be the backlink of the msDS-HasDomainNCs
attribute.

Our schema is extracted from windows 2003, so we have the problem.

As the NET-API-BECOME-DC test triggers this bug, windows 2003
seems to just skip creating a backlink.

metze
2008-10-02 12:20:57 +02:00
Stefan Metzmacher
8aff443030 s4:kludge_acl: just fake support for the SD_FLAGS control
metze
2008-10-02 12:20:57 +02:00
Stefan Metzmacher
aec5a08774 s4:extended_dn: add support for <GUID=...>, <SID=...> or <WKGUID=...,DC=...> as basedn
We resolve them into the real basedn before do the real search.

metze
2008-10-02 12:20:40 +02:00
Stefan Metzmacher
5fc7fb48a0 s4:lib/ldb: fix stupid <SID=...> dn parsing bugs
metze
2008-10-02 11:41:10 +02:00
Volker Lendecke
af1c802791 The IRIX compiler does not like embedded unnamed unions 2008-10-02 08:09:25 +02:00
Andrew Tridgell
14378d7c4c add a test for a LSA lookupnames with a NULL string 2008-09-30 14:03:01 -07:00
Andrew Tridgell
2c978bbfa9 handle NULL strings in strchr_m() and strrchr_m()
This is needed for the LSA server code which needs to cope with a NULL
names passed to lsa_LookupNames3()
2008-09-30 13:57:23 -07:00
Andrew Tridgell
69fe3a5ddd fixed a number of places in our LSA server where we should return the
sid/name array even when all are unmapped. If we don't fill in the
array then the windows client runtime crashes
2008-09-30 13:42:30 -07:00
Andrew Tridgell
f84093df86 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-09-30 13:02:09 -07:00
root
687ce0b60a Use a getatr instead to make things cleaner.
Jeremy.
2008-09-30 12:44:24 -07:00
Jeremy Allison
a238f17e27 Add in test name visible on the wire or in debug logs so you can see when particular tests start.
Jeremy.
2008-09-30 12:33:00 -07:00
Matthias Dieter Wallnöfer
ee97097783 Use UTF8 rather than the possibly different UNIX charset. 2008-09-30 18:10:04 +02:00
Andrew Tridgell
ef6fc37add check call status not rpc fault code when calling to different levels
of calls
2008-09-30 08:46:22 -07:00
Andrew Tridgell
dab5d4abbc cope with NULL attr 2008-09-30 08:46:22 -07:00
Andrew Tridgell
be050125b6 - make bcast name resolution match other name resolution modules for
host not found errors

- when we have no resolve context return NT_STATUS_OBJECT_NAME_NOT_FOUND
2008-09-30 08:46:00 -07:00
Jelmer Vernooij
40a6a28170 Move Samba4-specific files into source4/ 2008-09-30 17:11:39 +02:00
Jelmer Vernooij
e0af9601e1 Fix FHS flag, rename to --enable-fhs since it's a feature flag
and doesn't take any arguments.
2008-09-30 16:41:21 +02:00
Andrew Tridgell
4f07894c29 The author of the upstream code asked for this code to be GPLv2+ not GPLv3 2008-09-30 07:17:02 -07:00
Andrew Tridgell
717b36c672 merged a bugfix for the idtree code from the Linux kernel. This
matches commit 7aae6dd80e265aa9402ed507caaff4a5dba55069 in the kernel.

Many thanks to Jim Houston for pointing out this fix to us
2008-09-30 07:14:31 -07:00
Jelmer Vernooij
3d8323fbff Compare sids in samba3sam tests. 2008-09-30 16:02:21 +02:00
Jelmer Vernooij
a36b6c5a42 Make Sid member variables accessible from Python. 2008-09-30 16:02:09 +02:00
Jelmer Vernooij
7f1c02cd7a Enable winreg Python tests - authentication works now. 2008-09-30 15:24:46 +02:00
Jelmer Vernooij
ae38514534 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-09-30 14:57:51 +02:00
Stefan Metzmacher
394f24b374 s4:drsblob: fix the build
metze
2008-09-30 09:05:45 +02:00
Stefan Metzmacher
e622325155 s4:smb_server/smb: FLAGS2_SMB_SECURITY_SIGNATURES should only be echoed, not set always
metze
2008-09-30 08:42:47 +02:00
Andrew Bartlett
04edf11bee Rework to match new trustDomainPasswords IDL 2008-09-29 22:34:36 -07:00
Andrew Bartlett
64195b72be Fix parsing of the trust passwords in LSA CreateTrustedDomainEx* 2008-09-29 22:34:35 -07:00
Andrew Bartlett
15b6861981 Use the new 'samba4' name for our internal hdb plugin. 2008-09-29 22:34:35 -07:00
Andrew Bartlett
6ad78f01a5 Rename hdb_ldb to hdb_samba4 and load as a plugin into the kdc.
This avoids one more custom patch to the Heimdal code, and provides a
more standard way to produce hdb plugins in future.

I've renamed from hdb_ldb to hdb_samba4 as it really is not generic
ldb.

Andrew Bartlett
2008-09-29 22:34:35 -07:00
Andrew Bartlett
8dd35fabbb NetApp found that we never set the smb signing flags2.
This was found during testing at the CIFS plugfest.

No other client seems to honour or use this bit, but it is quite
ligitimately required by the spec.

Andrew Bartlett
2008-09-29 22:34:35 -07:00
Andrew Tridgell
d87e9ba56b setup the loadparm context for ldb in testjoin 2008-09-29 21:59:50 -07:00
Andrew Tridgell
8104968004 return a more useful error message when no name resolution methods are
available
2008-09-29 21:59:04 -07:00
Stefan Metzmacher
45645426c2 s4:selftest: make sure we test RPC-OBJECTUUID with seal
metze
2008-09-30 06:47:25 +02:00
Stefan Metzmacher
40e7769959 s4:torture/rpc: add RPC-OBJECTUUID
This test shows that object uuids should be ignored
if they're present in a dcerpc request.

metze
2008-09-30 06:47:25 +02:00
Stefan Metzmacher
844b331d25 s4:rpc_server: correctly handle dcerpc requests with object uuids
metze
2008-09-30 06:47:24 +02:00
Stefan Metzmacher
eb1de4f0ed s4:librpc/rpc: correctly sign or seal rpc request with an object guid
metze
2008-09-30 06:47:23 +02:00
Stefan Metzmacher
abe0af4ab4 dcerpc.idl: add DCERPC_PFC_OFFSET
metze
2008-09-30 06:47:23 +02:00
Stefan Metzmacher
3ff298c37b s4:selftest: add "smb.signing" to anon signing tests
metze
2008-09-30 06:47:22 +02:00
Jelmer Vernooij
ac5e69a999 dcesrv: Remove use of global_loadparm. 2008-09-30 06:10:32 +02:00
Jelmer Vernooij
454122ab09 make sure dcerpc is always initialized. 2008-09-30 06:05:05 +02:00
Jelmer Vernooij
2400b1fea2 Fix segfault. 2008-09-30 04:22:54 +02:00
Jelmer Vernooij
4a1dabd836 wmi: Use cli_credentials. 2008-09-30 04:22:24 +02:00
Jelmer Vernooij
5bbd73c0ff Remove two more uses of global loadparm by remember required
details for secondary DCE/RPC connections.
2008-09-30 04:01:47 +02:00
Jelmer Vernooij
2ba4a79210 Eliminate another global_loadparm. 2008-09-30 03:20:46 +02:00
Jelmer Vernooij
235b729309 Cope with API changes. 2008-09-30 03:07:08 +02:00
Jelmer Vernooij
181ee01da6 Pass session options around; saves another use of global_loadparm. 2008-09-30 02:47:19 +02:00