1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

31896 Commits

Author SHA1 Message Date
Andrew Bartlett
72e65a0521 s3:winbindd Provide a winbindd_register_handlers() helper function for s3compat
This function provides a useful entry point for s3compat to set things
up in winbindd.

Andrew Bartlett
2010-05-13 10:12:27 +10:00
Andrew Bartlett
f5c0f90da5 s3:winbindd Split helper functions to allow s3compat to call them
This provides a more useful entry point for s3compat.

Andrew Bartlett
2010-05-13 10:12:27 +10:00
Andrew Bartlett
7f70b53dd6 s3:Winbindd Move winbindd_event_context to a different file
This allows this function to be easily replaced in s3compat

Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
cdf0704272 s3:winbindd Rename 'children' to 'winbindd_children' and make static 2010-05-13 10:12:26 +10:00
Andrew Bartlett
4ef847a3b7 s3:libsmb/namecache Remove namecache_enable()
No caller honours the return value, and this call only prints a
DEBUG().  Removing this reduces the number of initialisation
boilerplate calls s3compat has to make.

Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
426d92eedb s3:smbd Remove calls to namecache_enable()
This only prints a DEBUG()

Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
82fb4ebca7 s3:winbindd Remove call to namecache_enable().
This call only prints a DEBUG()

Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
468fb4fee4 s3:auth Make get_ntlm_challenge more like Samba4
This helps with the upcoming NTLMSSP merge, and allows errors to be returned.

Andrew Bartlett
2010-05-13 10:12:26 +10:00
Jeremy Allison
1101c62144 Pass more SMB2 oplock tests. Only oplock stream tests left to fix.
Jeremy.
2010-05-12 15:19:45 -07:00
Olaf Flebbe
d5c3db6f88 work around AIX6.1 name space pollution rename mod_name to module_name 2010-05-12 07:15:07 +02:00
Günther Deschner
70f707c219 s3-rap: fix cli_oem_change_password() and give room for the convert reply word.
Any servers I could find so far return it.

Guenther
2010-05-12 00:22:13 +02:00
Günther Deschner
99a7ebc556 s3-lanman: use samr for api_SamOEMChangePassword().
Guenther
2010-05-12 00:22:02 +02:00
Günther Deschner
3ce8bcdd83 s3-selftest: enable RAP-SAM against Samba 3.
Guenther
2010-05-12 00:20:49 +02:00
Jeremy Allison
4955ccfff5 Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to go on this test.
Jeremy.
2010-05-11 14:00:38 -07:00
Andrew Bartlett
454b0b3f20 s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA
All the callers just want the PAC_LOGON_INFO, so search for that in
ads_verify_ticket(), and don't bother the callers with the rest of the
PAC.

This change makes sense on it's own (removing boilerplate wrappers
that just confuse the code), but it also makes it much easier to
implement a matching ads_verify_ticket() function in Samba4 for the
s3compat proposal.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-11 22:52:37 +02:00
Michael Adam
04e1954224 s3:configure: fix a message 2010-05-11 16:42:22 +02:00
Stefan Metzmacher
4fcd5446d3 s3:Makefile: build smbtorture4 as static binary with socket_wrapper support
metze
2010-05-11 16:11:37 +02:00
Jeremy Allison
ae9fe3cc8e SMB2 always have level2 oplock capability. Correct mapping from break messages to SMB2 oplock levels.
Jeremy.
2010-05-10 14:23:44 -07:00
Jeremy Allison
a776933de6 Stop us crashing in SMB2-OPLOCK test. Don't allow more than one outstanding immediate event.
Jeremy.
2010-05-10 13:58:41 -07:00
Jeremy Allison
0085a3bd2e Fix the processing of unlocks followed by locks. We now pass SMB2-LOCK test.
Jeremy.
2010-05-10 11:29:34 -07:00
Jeremy Allison
a9a3c83b41 Fix more of the SMB2-LOCK tests. Correctly unlock locks on error.
Jeremy.
2010-05-10 11:09:41 -07:00
Günther Deschner
83736066a3 s3-rpcclient: fix two more invalid typecasts in spoolss commands.
Guenther
2010-05-10 14:51:14 +02:00
Jelmer Vernooij
ed39e9b67f s3: Work around dependency bug in Samba 4 waf build in merged build. 2010-05-10 14:48:41 +02:00
Volker Lendecke
36e736871e s3: Test for "__attribute__((destructor))" 2010-05-10 14:11:14 +02:00
Günther Deschner
7887d99a60 s3-net: Fix Bug #7417. 'net rpc user password' can set the wrong password.
Guenther
2010-05-10 10:36:39 +02:00
Günther Deschner
8a2a8217f8 s3-proto: add missing protoype for dcerpc_fault_to_nt_status().
Guenther
2010-05-09 23:47:56 +02:00
Günther Deschner
e6c4df43c8 s3-lanman: use srvsvc for api_RNetServerGetInfo().
Following MS-RAP 3.2.5.3 NetServerGetInfo Command.

Guenther
2010-05-09 23:42:31 +02:00
Simo Sorce
3c1e9a8c33 s3-spoolss: Make spoolss_Time_to_time_t public.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-09 23:33:40 +02:00
Günther Deschner
ecc3413bf5 s3-libsmb: fix argument order for tevent_req_default_print in cli_pull_print().
Andreas, please check.

Guenther
2010-05-09 00:42:54 +02:00
Volker Lendecke
58b5a16444 s3: Fix the build 2010-05-08 22:04:32 +02:00
Günther Deschner
4afdb5a2a7 s3: move BASE_RID to main includes.h (in preparation to separate passdb).
Guenther
2010-05-08 01:45:39 +02:00
Günther Deschner
b83ab96b16 s3-passdb: moving account_pol.c into passdb.
Guenther
2010-05-08 01:45:27 +02:00
Jelmer Vernooij
961993bc91 s3-merged: Make sure bin/ exists when copying in bin/smbtorture4. 2010-05-07 18:34:00 +02:00
Jelmer Vernooij
169aabae70 s3-merged: Use newly added waf reconfigure subcommand. 2010-05-07 18:34:00 +02:00
Jelmer Vernooij
95421552be Reintroduce merged build, using waf to build smbtorture4. 2010-05-07 18:34:00 +02:00
Jelmer Vernooij
674a78d60a Revert "Revert "s3-build: Remove --enable-merged support.""
This reverts commit 8f8e7c788a.
2010-05-07 18:34:00 +02:00
Jelmer Vernooij
c18d58b854 samba3: Generate C files from IDL in source3/librpc/gen_ndr rather than
librpc/gen_ndr.

This is done to make it possible to run waf in the source4/ tree at
the same time, since waf has problems with files that were generated by
something else.
2010-05-07 18:34:00 +02:00
Jeremy Allison
5b7163a23d Only MULTIPLE-UNLOCK test left to fix !
Jeremy.
2010-05-07 07:25:13 -07:00
Jeremy Allison
31b12622cf When tearing down the connection make sure we close all files before
freeing the global context, as we close access to the locking db
before freeing the global context.

Jeremy.
2010-05-07 06:54:16 -07:00
Jeremy Allison
adf4833792 This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context.
Jeremy.
2010-05-07 06:20:50 -07:00
Björn Jacke
e8c3da1fc0 idl: get the logic of the prevous commit right 2010-05-07 13:45:00 +02:00
Björn Jacke
10e0641e34 idl: fix Unix builds by replacing bashism
test -nt is not portable - tridge, please check!
2010-05-07 13:38:00 +02:00
Björn Jacke
5910f4cade s3:configure: search fdatasync also in librt
Sun^W Oracle Solaris has it there ...
2010-05-07 12:53:53 +02:00
Björn Jacke
358a3855c2 s3:configure: use correct SONAMEFLAG on Solaris depending on which linker is being used 2010-05-07 11:58:09 +02:00
Jeremy Allison
4ad1943d29 Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them next :-).
Jeremy.
2010-05-07 01:20:26 -07:00
Jeremy Allison
882fb1828f Fix crash in cancel-tdis lock test. Correctly shut down connection.
Jeremy.
2010-05-07 00:33:59 -07:00
Jeremy Allison
1c7a60ef41 Fix cancel by close lock test.
Jeremy.
2010-05-06 15:39:21 -07:00
Jeremy Allison
516f7c571e Fix SMB2 lock tests up to cancel-by-close.
Jeremy.
2010-05-06 09:07:49 -07:00
Jeremy Allison
a77a8a5e35 Fix more SMB2 locking. We still crash but this won't last :-).
Jeremy.
2010-05-06 08:22:13 -07:00
Günther Deschner
049416c285 s3-spoolss: make several notify functions static.
Guenther
2010-05-06 13:41:51 +02:00