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

63763 Commits

Author SHA1 Message Date
Kai Blin
7a1c24705d s3-waf: Work around missing *netgrent prototypes on OSX 10.4 2010-06-17 08:09:49 +02:00
Matthias Dieter Wallnöfer
d9c81e3ea5 s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the read of the IP packet version
This should make it clearer by the use of the standardised "sa_family_t" type
and hopefully fixes the problems on platforms other than Linux (NetBSD in the
buildfarm for example).
2010-06-16 21:47:22 +02:00
Matthias Dieter Wallnöfer
ad7859dfff s4:ldif_handlers.c - fix warning 2010-06-16 21:45:15 +02:00
Jeremy Allison
7e388c8b27 Remove an unused chunk of code (will make it easier to talloc'ize prs_XXX).
Jeremy.
2010-06-16 10:27:54 -07:00
Jeremy Allison
5a77d648d9 Remove two unused functions (prs_force_dynamic, prs_set_session_key).
Jeremy.
2010-06-16 10:26:47 -07:00
Jelmer Vernooij
1614bcf0ec codepages-waf: When built with --with-fhs, install to
$prefix/share/samba, not $prefix/share.
2010-06-16 19:15:30 +02:00
Günther Deschner
aa76e8263d lib/crypto: only include what is needed.
Guenther
2010-06-16 18:58:04 +02:00
Jelmer Vernooij
65ca3e4ee9 pidl-waf: Avoid relying on MakeMaker when installing pidl manpages. 2010-06-16 18:25:04 +02:00
Jelmer Vernooij
bd8fcd869d s4: Fix build when there is a system-provided ldb. 2010-06-16 18:13:18 +02:00
Günther Deschner
a6f1c111ff s4-smbtorture: Remind myself we need to add a test for SMBsplretq in RAP-PRINTING.
Guenther
2010-06-16 17:10:15 +02:00
Günther Deschner
cfb67b1a16 s3-docs: Fix some of ntlm_auth ntlm-server-1 protocol documentation.
Guenther
2010-06-16 17:10:14 +02:00
John H Terpstra
7af7e94952 Merge branch 'master' of git+ssh://git.samba.org/data/git/samba 2010-06-16 08:57:44 -05:00
John H Terpstra
50882e2077 Fix typo reported by Söderlund David <david.soderlund@baesystems.se>. 2010-06-16 08:56:42 -05:00
Matthias Dieter Wallnöfer
12fdfc9430 s4:ldap.py - add another test about linked attributes
In addition this test makes sure that the bug regarding the search with deleted
linked attributes in the filter has been fixed.
2010-06-16 15:34:42 +02:00
Andrew Bartlett
53afe4e018 s4:ldif-handlers Add a custom handler for DNs that knows about deleted values
In Samba we my store a deleted DN for a linked attribute.  We must
ensure that we can't match on it, or else searches for member= will
still reveal it.

Andrew Bartlett
2010-06-16 15:34:42 +02:00
Matthias Dieter Wallnöfer
5779c21e41 s4:provision.py - we do now support the "Windows 2000 Native" domain function level 2010-06-16 15:34:41 +02:00
Matthias Dieter Wallnöfer
233ce18a17 s4:linked attributes LDB module - strip trailing whitespaces 2010-06-16 15:34:41 +02:00
Matthias Dieter Wallnöfer
e190683b59 s4:linked_attributes LDB module - cosmetics
- unsigned counters for LDB objects
- we tend to have the "ret" variable always as the last declaration to see
  which type of error a function returns
2010-06-16 15:34:41 +02: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