John H Terpstra
50882e2077
Fix typo reported by Söderlund David <david.soderlund@baesystems.se>.
2010-06-16 08:56:42 -05:00
Günther Deschner
b4364add89
s3-auth: in make_user_info_for_reply_enc make sure to check length and data
...
pointer of nt and lm hash.
This fixes kernel cifs client with sec=ntlmv2.
Guenther
2010-06-16 14:42:23 +02:00
Günther Deschner
fe90496ce5
s3-build: allow to build bin/ndrdump4 (just as bin/smbtorture4)
...
Jelmer, please check.
Guenther
2010-06-16 14:42:23 +02:00
Günther Deschner
5b17d34d62
ntlmssp: add decode_NTLMv2_RESPONSE to IDL.
...
Guenther
2010-06-16 14:42:23 +02:00
Günther Deschner
06417abc7c
s3-auth: fix debug message in check_winbind_security().
...
Guenther
2010-06-16 14:42:23 +02:00
Andreas Schneider
a75feeaa23
s3-tdb: Added missing out of memory check in rename_file_with_suffix().
2010-06-16 14:31:40 +02:00
Stefan Metzmacher
6dbcffb51d
s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.
...
This is needed to remove samba specifc symbols from the bundled
ldb, in order to get the ABI right.
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-16 14:07:28 +02:00
Günther Deschner
8843eea2e0
s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo().
...
Guenther
2010-06-16 12:20:05 +02:00
Günther Deschner
185adc4c81
Revert "s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo()."
...
This reverts commit 1f1c04010a
.
2010-06-16 12:18:32 +02:00
Günther Deschner
bd4bbd9beb
pidl: make sure to fill in cli->pipes_struct->hdr_req.opnum in s3 server dispatch tables.
...
Guenther
2010-06-16 12:15:24 +02:00
Günther Deschner
439e7590c9
s3-lanman: Fix return code for "" printqname in api_DosPrintQGetInfo().
...
Guenther
2010-06-16 12:15:24 +02:00
Günther Deschner
1a86532fce
s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname.
...
Guenther
2010-06-16 12:15:24 +02:00
Günther Deschner
1f1c04010a
s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo().
...
Guenther
2010-06-16 12:15:24 +02:00
Günther Deschner
14f2525f9e
s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd.
...
Guenther
2010-06-16 12:15:24 +02:00
Andreas Schneider
47ae4a518c
s3-spoolss: Provide a memory context for clean_up_driver_struct().
...
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would
segfault with a talloc bad magic value.
2010-06-16 12:03:46 +02:00
Andrew Bartlett
18f3e5113a
s4:dsdb Allow renames with (now removed) linked attributes
...
It is important to allow the rename, even if we just have one-way
links, as this happens on deleted objects, which have the backlinks
alredy removed by repl_meta_data.
Andrew Bartlett
2010-06-16 12:05:31 +10:00
Andrew Bartlett
0687a0c9dc
s4:selftest Change domain name for functional level 2000 DC
2010-06-16 09:57:52 +10:00
Andrew Bartlett
35237d5356
s4:libnet Remove 'ads min function level' checks.
...
We support Windows 2000 native now.
Andrew Bartlett
2010-06-16 09:57:52 +10:00
Andrew Bartlett
25abcb6818
s4:dsdb Fix linked_attributes to cope with the Feb 2010 changes to DLIST
...
The DLIST macros changed in behaviour in Feb 2010, and walking the
lists backwards is no longer safe if you don't use the macros.
Andrew Bartlett
2010-06-16 09:57:52 +10:00
Andrew Bartlett
5150f8597a
s4:dsdb Assert that we can't get backlinks as input in linked_attributes
...
The objectclass_attr module should prevent users creating such links,
and the mrepl_meta_data module should only create them in functional
level 2003 or above.
Andrew Bartlett
2010-06-16 09:57:52 +10:00
Andrew Bartlett
f9018bc0ea
s4:selftest Add test environment for functional level 2000
...
This required that we pass the name of the realm down as a parameter,
so we can start up two different realms.
Andrew Bartlett
2010-06-16 09:57:52 +10:00
Andrew Bartlett
d523e946b1
s4:provision Add import for DS_DOMAIN_FUNCTION_2000
2010-06-16 09:57:51 +10:00
Andrew Bartlett
814cb8895d
s4:provision Allow functional level 2000 to be chosen
2010-06-16 09:57:51 +10:00
Andrew Bartlett
697cd13978
s4:selftest Add vampire_dc test environment
...
This starts a domain controller, after running 'net vampire' to
populate it. We don't use it as the 'all' environment yet, as the
rest of the code isn't quite ready to handle it.
Andrew Bartlett
2010-06-16 09:57:51 +10:00
Andrew Bartlett
ec6839ac26
s4:dsdb use dsdb_module_modify() rather than ldb_next_request()
...
This does exactly the same thing, but with less code.
Andrew Bartlett
2010-06-16 09:57:51 +10:00
Andrew Bartlett
ffa787772f
s4:dsdb Handle backlinks for Windows 2000 level linked attributes
...
This revives the code from 5964acfa74
,
before tridge and I simplified this too much, and removed the Windows
2000 functional level linked attribute support.
By telling the linked_attributes module that repl_meta_data has
handled the links, we avoid a conflict for the new style (functional
level 2003 and above) linked attributes. However, we still need
backlinks for 2000 style linked attributes, so this allows that code
in the linked_attributes module to be revived to handle those.
Andrew Bartlett
2010-06-16 09:57:51 +10:00
Andrew Bartlett
ecfce7365c
s4:dsdb Add control for signaling between repl_meta_data and linked_attributes
...
This control will allow the linked_attributes module to know if
repl_meta_data has already handled the creation of forward and back
links.
Andrew Bartlett
2010-06-16 09:57:51 +10:00
Jeremy Allison
81f70834ca
Remove unused function.
2010-06-15 15:33:44 -07:00
Jelmer Vernooij
2c125595fb
waf: Fix installation of pidl manapges.
2010-06-16 00:05:53 +02:00
Aravind Srinivasan
6da487580e
s4 torture: RAW-SEARCH: break out some of the old search levels
...
* Added two new parameters: raw_search_search and raw_ea_size which
can be enabled/disabled based on whether the server supports
RAW_SEARCH_SEARCH and/or RAW_SEARCH_EA_SIZE levels
* Skip unsupported levels from the server and give a warning rather
than failing.
Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-15 13:48:15 -07:00
Tim Prouty
2170a59215
s4 torture: RAW-SEARCH: Only test supported info levels
2010-06-15 13:48:15 -07:00
Jelmer Vernooij
a4a127ea5a
s4-waf: Fix build of libldb_ildap against system ldb.
2010-06-15 20:52:01 +02:00
Jelmer Vernooij
773e47f4a9
wafsamba: Fix include path inheritance from module subsystems.
2010-06-15 20:35:22 +02:00
Jelmer Vernooij
d913aacfe4
dcerpc-samr: Fix library name.
2010-06-15 17:22:46 +02:00
Jelmer Vernooij
8c88c9c500
Attempt to fix SamDB test infrastructure (not used in Samba anywhere, only in OpenChange).
2010-06-15 17:21:39 +02:00
Jelmer Vernooij
026fcc6a4f
ldb: Bump version number, use same ABI version for Samba4 and non-Samba 4 versions.s
2010-06-15 13:15:51 +02:00
Jelmer Vernooij
fb7a98aa32
ldb: Fix included ldb build.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
de68718d3d
wafsamba: Fix filenames for ldb modules.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
0d7f8fb73d
wafsamba: Fix building of modules as shared libraries.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
12b4647289
wafsamba: Improve assertion error message to include the module.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
e27ef3dd6d
ldb: Only build standard ldb modules when building bundled ldb.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
7fe9e6cd69
dsdb: Fix includes when building against system ldb.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
419928b8df
wafsamba: Only add init function if not building module as shared library.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
6c9336110c
dsdb: Build modules as external modules when using system ldb.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
9ac0a876a7
ldb-samba: Add missing dependency on credentials code.
2010-06-15 13:15:50 +02:00
Günther Deschner
60ea59331b
s3-waf: fix the build.
...
Guenther
2010-06-15 11:43:30 +02:00
Andrew Bartlett
b16e602660
s4:dsdb Move linked attribute restrictions to objectclass_attrs
...
This puts more of the schema restrictions in one place.
Andrew Bartlett
2010-06-15 10:54:09 +10:00
Andrew Bartlett
8ea4118472
s4:dsdb Add const to dsdb_dn functions that operate on an ldb_val.
...
Andrew Bartlett
2010-06-15 10:53:50 +10:00
Andrew Bartlett
0800c9e6f1
s4:selftest Remove unused basedn specification in selftest env setup
2010-06-15 10:53:43 +10:00
Andrew Bartlett
982f688c02
s4:selftest Remove becomedc tests from knownfail, these should now pass
...
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15 10:51:35 +10:00