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

63774 Commits

Author SHA1 Message Date
Stefan Metzmacher
d823e529b8 s4:torture/rpc/remote_pac: use dcerpc_netr_LogonSamLogon_r() instead of dcerpc_netr_LogonSamLogon()
metze
2010-06-17 10:17:33 +02:00
Stefan Metzmacher
22eb6d7b6b selftest/Samba4: make the naming of passwords more consistent
metze
2010-06-17 09:12:00 +02:00
Stefan Metzmacher
f26c0e5456 selftest/Samba4: let localfl2000dc use 127.0.0.5
Now we have 127.0.0.6-10 available for more servers.

metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
8aed54adbf selftest/Samba4: let localvampiredc use 127.0.0.2
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
6a0db03c80 selftest: use 127.0.0.11-16 for the client
This gives more room for servers.

Note: socket_wrapper currently only supports 127.0.0.1-16
      see MAX_WRAPPED_INTERFACES.

metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
1e8d025a3c selftest/Samba3: remove unused create_clientconf() function
metze
2010-06-17 09:11:58 +02:00
Stefan Metzmacher
9e3511ef1c pidl/wscript: build manpages in build group 'final'
So that waf --target=smbtorture doesn't build them

metze
2010-06-17 09:11:58 +02:00
Stefan Metzmacher
b0b2b4ff8b pidl/wscript: only try to build pidl manpages if pod2man is available
metze
2010-06-17 09:11:57 +02:00
Stefan Metzmacher
e80f576db6 pidl/wscript: call pod2man with the detected perl version
Some systems like SLES11 have a broken perl path in pod2man.

metze
2010-06-17 09:11:57 +02:00
Kai Blin
93280974b8 s3-waf: Fix the OSX 10.4 build by adding an explicit resolv dep on smbclient 2010-06-17 08:10:11 +02:00
Kai Blin
83ad437a9c s3-waf: Add check for iconv 2010-06-17 08:09:49 +02:00
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