Stefan Metzmacher [Thu, 29 Apr 2010 11:10:49 +0000 (13:10 +0200)]
samr
Stefan Metzmacher [Wed, 28 Apr 2010 15:46:28 +0000 (17:46 +0200)]
HACK CHAIN3
Stefan Metzmacher [Wed, 28 Apr 2010 15:45:42 +0000 (17:45 +0200)]
fix async chained requests
Stefan Metzmacher [Wed, 28 Apr 2010 15:45:11 +0000 (17:45 +0200)]
fix tevent_queue crash
Stefan Metzmacher [Wed, 28 Apr 2010 12:38:19 +0000 (14:38 +0200)]
debug pipe read
Stefan Metzmacher [Tue, 27 Apr 2010 14:13:57 +0000 (16:13 +0200)]
Revert "HACK: winbind only one connection to our domain"
This reverts commit
1a3035c8aac8689c7886a1eec261c85ab480044a.
Stefan Metzmacher [Tue, 6 Apr 2010 12:48:33 +0000 (14:48 +0200)]
HACK: winbind only one connection to our domain
Stefan Metzmacher [Wed, 31 Mar 2010 19:35:29 +0000 (21:35 +0200)]
TODO TEST s3:winbindd: avoid connecting our primary domain from each child
We can lookup the trust details in the trusted domain cache
instead of doinf network roundtrips and have multiple
open connections to our primary domain (without mutex
on the schannel state)
ADASDASD
Stefan Metzmacher [Tue, 27 Apr 2010 13:15:09 +0000 (15:15 +0200)]
s3:rpc_server: make use of the npa_tstream code to connect to named pipes
This way we use the newest protocol, which is able to pass
the local and remote address of the SMB connection.
And we correctly support message mode named pipes
without the hack that analyzes the content for DCERPC pdus.
metze
Stefan Metzmacher [Tue, 27 Apr 2010 13:08:02 +0000 (15:08 +0200)]
s3:Makefile.in: add npa_tstream.o to the build of smbd
metze
Stefan Metzmacher [Tue, 27 Apr 2010 13:12:32 +0000 (15:12 +0200)]
s3:rpc_server: pass down local and remote tsocket_address to np_open()
metze
Stefan Metzmacher [Wed, 28 Apr 2010 13:15:23 +0000 (15:15 +0200)]
s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipes
metze
Stefan Metzmacher [Wed, 28 Apr 2010 13:05:30 +0000 (15:05 +0200)]
s3:rpc_server: add np_read_in_progress() function
metze
Stefan Metzmacher [Thu, 29 Apr 2010 05:51:32 +0000 (07:51 +0200)]
s4: remove unused references to swat
metze
Stefan Metzmacher [Thu, 29 Apr 2010 06:29:56 +0000 (08:29 +0200)]
s4:dynconfig: fix fhs variables and list them all explicit
This adds 'samba' subdirs to smb.conf and setup.
metze
Stefan Metzmacher [Thu, 29 Apr 2010 06:29:45 +0000 (08:29 +0200)]
s4:dynconfig: reorder non fhs variables
metze
Günther Deschner [Thu, 29 Apr 2010 00:41:51 +0000 (02:41 +0200)]
rap: fill in rap_PrintQueue2 IDL.
Guenther
Günther Deschner [Thu, 29 Apr 2010 00:39:44 +0000 (02:39 +0200)]
s4-smbtorture: implement and test level 3 and 5 of PrintQEnum RAP.
Guenther
Günther Deschner [Wed, 28 Apr 2010 23:13:06 +0000 (01:13 +0200)]
s4-smbtorture: add NDR_PRINT macros for RAP tests (when called with -d10).
Guenther
Günther Deschner [Wed, 28 Apr 2010 22:52:17 +0000 (00:52 +0200)]
s3-pdb_ldap: fix memleak.
Guenther
Günther Deschner [Wed, 28 Apr 2010 22:29:05 +0000 (00:29 +0200)]
s3-lanman: fix api_DosPrintQEnum.
Found by torture test.
Guenther
Günther Deschner [Wed, 28 Apr 2010 21:42:00 +0000 (23:42 +0200)]
s4-rap: add rap print helpers.
Guenther
Andrew Bartlett [Wed, 28 Apr 2010 22:51:01 +0000 (08:51 +1000)]
s4:libnet Make 'net vampire' more robust to command line arguments
When we have just joined a domain, we know a bit about that domain.
Use these to override previous guesses as to what domain and realm to
use for the rest of the join.
Andrew Bartlett
Andrew Bartlett [Wed, 28 Apr 2010 21:58:48 +0000 (07:58 +1000)]
s4:howto Improve OpenLDAP backend instructions
Anatoliy Atanasov [Mon, 26 Apr 2010 06:56:59 +0000 (09:56 +0300)]
s4/rodc: RODC FAS initial implementation
Kamen Mazdrashki [Fri, 23 Apr 2010 22:21:15 +0000 (01:21 +0300)]
s4/tort: Add simple unit test for dsdb_schema_info object creation
Kamen Mazdrashki [Fri, 23 Apr 2010 13:35:21 +0000 (16:35 +0300)]
s4/dsdb: schemaInfo revision may be 0
In case schemaInfo value is still not set, WinAD supplies
schemaInfo blob with revision = 0 and GUID_ZERO
Kamen Mazdrashki [Fri, 23 Apr 2010 12:37:10 +0000 (15:37 +0300)]
s4/dsdb: remove unused dsdb_schema_info_create() function
Kamen Mazdrashki [Thu, 22 Apr 2010 15:11:39 +0000 (18:11 +0300)]
s4/dsdb: Update Schema cache with updated schemaInfo value
Error checking is simplified and my leave leeks.
I did it this way to make code more readable, and if we
get error in those lines, it will be WERR_NOMEM in which
case we are in a much deeper troubles than delayed freeing
of few bytes.
Kamen Mazdrashki [Thu, 22 Apr 2010 14:59:22 +0000 (17:59 +0300)]
s4/samldb: Create initial schemaInfo value if it doesn't exists yet
Kamen Mazdrashki [Thu, 22 Apr 2010 14:24:15 +0000 (17:24 +0300)]
s4/dsdb: Use default schemaInfo value when no such value is given
Having no value for schemaInfo is totally OK as it turns out.
In such cases, we should use a default value with
all fields set to 0.
Kamen Mazdrashki [Thu, 22 Apr 2010 01:39:04 +0000 (04:39 +0300)]
s4/test: schemaInfo may not to be set yet
On newly provisioned Forest schemaInfo is not initially set.
It should be created after firs Schema modification
Kamen Mazdrashki [Wed, 21 Apr 2010 23:55:03 +0000 (02:55 +0300)]
Revert "s4/dsdb: Set schemaInfo attribute value during provisioning"
This reverts commit
8149094eddebd9a0e8b7c123c2ed54d00164bb26.
Windows implementation does not set schemaInfo attribute value
until first Schema update request.
This way, newly provisioned forest returns no schemaInfo value.
I think it won't be bad for us to have this value preset, but
I want to mimic Win AD behavior as close as possible.
Andrew Tridgell [Wed, 28 Apr 2010 23:22:12 +0000 (09:22 +1000)]
idl: we only need ndr_rap.[ch] and rap.h
Andrew Tridgell [Wed, 28 Apr 2010 22:26:19 +0000 (08:26 +1000)]
s4-idl: added generated files from rap.idl
Andrew Tridgell [Wed, 28 Apr 2010 21:47:57 +0000 (07:47 +1000)]
s4-waf: added --enable-build-farm configure option
this adds a smbtorture.static binary which s3 will use in the build
farm
Andrew Tridgell [Wed, 28 Apr 2010 21:47:19 +0000 (07:47 +1000)]
build: added enabled=True/False option to SAMBA_BINARY()
Jeremy Allison [Wed, 28 Apr 2010 21:56:12 +0000 (14:56 -0700)]
Update (C) for 2010.
Jeremy.
Günther Deschner [Wed, 28 Apr 2010 21:20:46 +0000 (23:20 +0200)]
s4-selftest: skip RAP-PRINTING tests.
Guenther
Günther Deschner [Wed, 28 Apr 2010 21:19:33 +0000 (23:19 +0200)]
s3-selftest: enable RAP-PRINTING against s3.
Guenther
Günther Deschner [Wed, 28 Apr 2010 21:11:37 +0000 (23:11 +0200)]
s3-lanman: support level 0 NetPrintQEnum RAP query.
Guenther
Günther Deschner [Wed, 28 Apr 2010 21:08:14 +0000 (23:08 +0200)]
s4-smbtorture: link in ../../librpc/gen_ndr/ndr_rap.o.
Guenther
Günther Deschner [Wed, 28 Apr 2010 16:29:18 +0000 (18:29 +0200)]
s4-smbtorture: add test for rap_NetPrintQEnum.
Guenther
Günther Deschner [Fri, 23 Apr 2010 22:45:40 +0000 (00:45 +0200)]
s4-smbtorture: add RAP-PRINTING suite.
Guenther
Günther Deschner [Wed, 28 Apr 2010 10:50:58 +0000 (12:50 +0200)]
s4-smbtorture: add smbcli_rap_netprintqenum.
Guenther
Günther Deschner [Wed, 28 Apr 2010 15:43:47 +0000 (17:43 +0200)]
s3: re-run make samba3-idl
Guenther
Günther Deschner [Wed, 28 Apr 2010 10:50:45 +0000 (12:50 +0200)]
rap: add rap_NetPrintQEnum to IDL.
Guenther
Jeremy Allison [Wed, 28 Apr 2010 21:13:22 +0000 (14:13 -0700)]
Connect set security descriptor into SMB2 code.
Jeremy.
Günther Deschner [Wed, 28 Apr 2010 15:03:30 +0000 (17:03 +0200)]
s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
query some existing values.
Guenther
Günther Deschner [Wed, 28 Apr 2010 15:00:53 +0000 (17:00 +0200)]
s4-smbtorture: add a test that adds a printer incl. devicemode.
Guenther
Stefan Metzmacher [Tue, 27 Apr 2010 13:20:25 +0000 (15:20 +0200)]
s3:smbd: make fsp->fake_file_handle a talloc child of fsp
metze
Stefan Metzmacher [Wed, 28 Apr 2010 12:36:10 +0000 (14:36 +0200)]
s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in pipe_read_andx_done()
metze
Stefan Metzmacher [Wed, 28 Apr 2010 10:27:09 +0000 (12:27 +0200)]
s4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW
metze
Stefan Metzmacher [Wed, 28 Apr 2010 08:43:19 +0000 (10:43 +0200)]
libcli/named_pipe_auth: we need to hide length of the message mode header from the caller
metze
Stefan Metzmacher [Wed, 28 Apr 2010 12:52:40 +0000 (14:52 +0200)]
s4:web_server: use tsocket_address functions to get the local ip and port
metze
(cherry picked from commit
9a1a00199c2603376eacfdba7e7d0d55bc64f405)
Günther Deschner [Wed, 28 Apr 2010 11:34:31 +0000 (13:34 +0200)]
s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer Data.
Guenther
Kamen Mazdrashki [Mon, 26 Apr 2010 12:48:18 +0000 (15:48 +0300)]
s4/net_drs: Fix Connection name printed
Kamen Mazdrashki [Sun, 25 Apr 2010 21:22:53 +0000 (00:22 +0300)]
s4/dsdb: dsdb_validate_invocation_id() should validate by objectGUID
This function is used in DRSUpdateRefs() implementation where we
get DSA's objectGUID rather than invocationId
Volker Lendecke [Wed, 28 Apr 2010 08:54:57 +0000 (10:54 +0200)]
s3: Make a debug msg more readable
Jeremy Allison [Wed, 28 Apr 2010 05:15:17 +0000 (22:15 -0700)]
Fix the "allow_smb2" bug being set to false that was driving me mad :-).
The first packet from a rebooted Win7 on an SMB2 connection is an SMB1
negprot...
Jeremy.
Andrew Bartlett [Wed, 28 Apr 2010 00:39:05 +0000 (10:39 +1000)]
s4:provisionbackend Don't loop forever waiting for OpenLDAP
We need to give a good error when we can't get OpenLDAP to accept our
connections.
Andrew Bartlett
Jeremy Allison [Wed, 28 Apr 2010 00:09:40 +0000 (17:09 -0700)]
Don't return a potentially uninitialized NT_STATUS. We can now see user lists in Windows ACLs.
Jeremy.
Jeremy Allison [Wed, 28 Apr 2010 00:07:44 +0000 (17:07 -0700)]
Add debug statements so I can track the flow of RPC data.
Jeremy.
Günther Deschner [Tue, 27 Apr 2010 23:11:19 +0000 (01:11 +0200)]
s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().
With this, I think, all implemented RAP printing calls are routed over SPOOLSS.
Torture tests to follow...
Guenther
Günther Deschner [Tue, 27 Apr 2010 23:10:49 +0000 (01:10 +0200)]
s3-lanman: fix debug message in api_WPrintJobEnumerate().
Guenther
Günther Deschner [Tue, 27 Apr 2010 23:07:08 +0000 (01:07 +0200)]
s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().
Guenther
Günther Deschner [Tue, 27 Apr 2010 21:12:40 +0000 (23:12 +0200)]
s3-lanman: remove unused code.
Guenther
Günther Deschner [Tue, 27 Apr 2010 20:55:11 +0000 (22:55 +0200)]
s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.
Guenther
Jeremy Allison [Tue, 27 Apr 2010 23:07:12 +0000 (16:07 -0700)]
Don't return an intermediate reply on async on a pipe call (Windows doesn't).
Jeremy.
Günther Deschner [Tue, 27 Apr 2010 17:58:32 +0000 (19:58 +0200)]
s3-lanman: use spoolss for api_PrintJobInfo().
Guenther
Günther Deschner [Tue, 27 Apr 2010 22:05:41 +0000 (00:05 +0200)]
s4-smbtorture: also try renaming jobname in test_DoPrintTest_check_jobs().
Guenther
Günther Deschner [Tue, 27 Apr 2010 21:33:05 +0000 (23:33 +0200)]
s4-smbtorture: allow to pass down spoolss_JobInfoContainer to SetJob functions.
Guenther
Günther Deschner [Tue, 27 Apr 2010 21:31:25 +0000 (23:31 +0200)]
s4-smbtorture: be more liberal when spoolss_SetJob fails.
For some reason, spoolss_SetJob pausing and resuming of printjob is still racy
on the buildfarm. Converting the fatal assert to a warning for now.
Guenther
Günther Deschner [Tue, 27 Apr 2010 17:57:47 +0000 (19:57 +0200)]
s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).
Guenther
Günther Deschner [Tue, 27 Apr 2010 17:30:49 +0000 (19:30 +0200)]
s3-lanman: remove unsupported print_job_set_place().
Guenther
Jeremy Allison [Tue, 27 Apr 2010 19:10:20 +0000 (12:10 -0700)]
Fix more S3 build breakage. Matthias, please ensure S3 builds when
changing common code.
Jeremy.
Marcel Ritter [Tue, 27 Apr 2010 11:53:04 +0000 (13:53 +0200)]
Install spn_update_list to setup/ dir
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 18:45:06 +0000 (20:45 +0200)]
s3:libads/ldap.c - fix a build breakage
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 16:25:21 +0000 (18:25 +0200)]
Revert "s4:web_server: use tsocket_address functions to get the local ip and port"
This reverts commit
9a1a00199c2603376eacfdba7e7d0d55bc64f405.
This broke the build.
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 16:07:09 +0000 (18:07 +0200)]
s4:cldap_server/netlogon.c - handle the domain SID correctly
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 14:56:36 +0000 (16:56 +0200)]
nbt: samlogon/netlogon structures - unify denominations
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 14:32:46 +0000 (16:32 +0200)]
s4:fill_netlogon_samlogon_response - reorder assign operations (to be consistent)
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 14:31:07 +0000 (16:31 +0200)]
s4:fill_netlogon_samlogon_response - use "lp_workgroup" for the short netbios domainname
This call is only for the DC mode.
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 13:27:40 +0000 (15:27 +0200)]
s4:torture - DsRAddressToSitenames[Ex]W testsuite - make it IPv4-only compatible
Günther Deschner [Tue, 27 Apr 2010 16:00:43 +0000 (18:00 +0200)]
Revert "s3-build: Remove --enable-merged support."
This reverts commit
f8fc7fcbeb8141c5b2775e2219bae17c55ad4a3c.
Was that pushed by coincidence ? merged build is really, really required over
here.
Günther Deschner [Tue, 27 Apr 2010 15:52:47 +0000 (17:52 +0200)]
s4-smbtorture: make sure to zero the add driver info 8 struct before adding drivers.
Guenther
Günther Deschner [Tue, 27 Apr 2010 15:32:34 +0000 (17:32 +0200)]
s3-spoolss: publish "Monitor" in winreg for drivers.
Found by torture test.
Guenther
Günther Deschner [Tue, 27 Apr 2010 14:48:29 +0000 (16:48 +0200)]
s3-spoolss: fix winreg attribute for storing datatype.
Found by torture test (and checked with w2k, w2k3 and w2k8).
Guenther
Günther Deschner [Tue, 27 Apr 2010 15:55:55 +0000 (17:55 +0200)]
s3-spoolss: fix some uninitialized variables.
Guenther
Stefan Metzmacher [Tue, 27 Apr 2010 11:36:21 +0000 (13:36 +0200)]
s3:smbd: keep local and remote tsocket_address per connection
metze
Björn Jacke [Tue, 27 Apr 2010 15:06:55 +0000 (17:06 +0200)]
s3/packaging: make rpm build work by overriding strict linker flags
Stefan Metzmacher [Tue, 27 Apr 2010 14:49:00 +0000 (16:49 +0200)]
s4:rpc_server: remove unused socket_address based functions
metze
Stefan Metzmacher [Tue, 27 Apr 2010 14:36:26 +0000 (16:36 +0200)]
s4:web_server: use tsocket_address functions to get the local ip and port
metze
Stefan Metzmacher [Tue, 27 Apr 2010 14:05:08 +0000 (16:05 +0200)]
s4:smb_server: use tsocket_address_string() for debugging the client address
metze
Stefan Metzmacher [Tue, 27 Apr 2010 14:17:28 +0000 (16:17 +0200)]
s4:wrepl_server: use tsocket_address functions to get the peer ip
metze
Stefan Metzmacher [Tue, 27 Apr 2010 15:04:32 +0000 (17:04 +0200)]
s4:lib/registry: fix the waf build
The pass to a source file is relative to the wscript* file.
metze
Günther Deschner [Tue, 27 Apr 2010 13:56:09 +0000 (15:56 +0200)]
s4-smbtorture: upload the full cups driver, otherwise windows will not allow using it.
Guenther
Günther Deschner [Tue, 27 Apr 2010 13:48:03 +0000 (15:48 +0200)]
s4-smbtorture: only compare level 3 for s3 when checking winreg and spoolss_Driver.
Guenther
Günther Deschner [Tue, 27 Apr 2010 12:13:12 +0000 (14:13 +0200)]
s4-smbtorture: mention architecture of added drivers in debug output.
Guenther
Günther Deschner [Tue, 27 Apr 2010 13:48:52 +0000 (15:48 +0200)]
s4-smbtorture: make sure to not attempt to remove a driver file twice.
Guenther