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
Günther Deschner [Tue, 27 Apr 2010 11:15:04 +0000 (13:15 +0200)]
s4-smbtorture: setup all members of level 3,4,6,8 driver add.
Guenther
Günther Deschner [Tue, 27 Apr 2010 09:30:35 +0000 (11:30 +0200)]
s4-smbtorture: use a torture_printer_context and upload own driver for RPC-SPOOLSS-PRINTER test.
Guenther
Günther Deschner [Tue, 27 Apr 2010 08:38:36 +0000 (10:38 +0200)]
s4-smbtorture: split RPC-SPOOLSS-PRINTER into more tests.
Guenther
Günther Deschner [Mon, 26 Apr 2010 21:35:19 +0000 (23:35 +0200)]
s4-smbtorture: finally test REG_MULTI_SZ in winreg/driverinfo consistency tests.
Guenther
Günther Deschner [Tue, 27 Apr 2010 14:38:40 +0000 (16:38 +0200)]
s3: use shared registry functions.
Guenther
Günther Deschner [Tue, 27 Apr 2010 14:37:56 +0000 (16:37 +0200)]
s4: use shared registry functions.
Guenther
Günther Deschner [Tue, 27 Apr 2010 14:37:06 +0000 (16:37 +0200)]
registry: add some shared registry helper functions.
Guenther
Günther Deschner [Mon, 26 Apr 2010 21:21:07 +0000 (23:21 +0200)]
s4-smbtorture: remove some typecasts in rap tests.
Guenther
Andrew Tridgell [Tue, 27 Apr 2010 13:39:57 +0000 (23:39 +1000)]
s4-netlogon: fixed getDcNameEx2 for blank inputs
w2k8r2 returns the local DC information on no inputs for
getDcNameEx2. This is needed for starting dsa.msc (ADUC) on
Win7.
CDLAP on the same call returns an error. This uses a parameter
fill_on_blank_request to distinguish the two cases.
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 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 13:45:12 +0000 (15:45 +0200)]
s4:smb_server: use tsocket_address_string() to display the client address
metze
Stefan Metzmacher [Tue, 27 Apr 2010 13:44:40 +0000 (15:44 +0200)]
s4:smb_server: remove unused socket_address functions
metze
Stefan Metzmacher [Tue, 27 Apr 2010 13:06:33 +0000 (15:06 +0200)]
s4:ntvfs/ipc: remote // debug comments
metze
Andrew Tridgell [Tue, 27 Apr 2010 11:56:51 +0000 (21:56 +1000)]
s4-torture: not all platforms have defines like AF_AX25
all we need are invalid values here, so just use fixd high values.
Stefan Metzmacher [Mon, 26 Apr 2010 11:38:00 +0000 (13:38 +0200)]
s4:ntvfs: remove socket_address based functions
metze
Stefan Metzmacher [Mon, 26 Apr 2010 11:37:12 +0000 (13:37 +0200)]
s4:ntvfs/ipc: pass the already given tsocket_address structures to the named_pipe_auth code
metze
Stefan Metzmacher [Mon, 26 Apr 2010 11:34:44 +0000 (13:34 +0200)]
s4:smb_server: pass tsocket_addresses to the ntvfs layer
metze
Stefan Metzmacher [Mon, 26 Apr 2010 11:40:15 +0000 (13:40 +0200)]
s4:ntvfs: add tsocket based addresses to ntvfs_context
metze
Stefan Metzmacher [Mon, 26 Apr 2010 11:39:36 +0000 (13:39 +0200)]
s4:rpc_server: remove 'socket_address' based functions
metze
Stefan Metzmacher [Mon, 26 Apr 2010 11:27:51 +0000 (13:27 +0200)]
s4:rpc_server/srvsvc: pass tsocket_address to the ntvfs layer
metze
Stefan Metzmacher [Mon, 26 Apr 2010 11:22:01 +0000 (13:22 +0200)]
s4:rpc_server/spoolss: use tsocket_address in dcesrv_spoolss_check_server_name()
metze
Stefan Metzmacher [Mon, 26 Apr 2010 11:18:41 +0000 (13:18 +0200)]
s4:rpc_server/netlogon: use tsocket_address in dcesrv_netr_DsRGetDCNameEx2()
metze
Stefan Metzmacher [Mon, 26 Apr 2010 11:06:07 +0000 (13:06 +0200)]
s4:rpc_server: remember the local and remote address
metze
Stefan Metzmacher [Mon, 26 Apr 2010 11:56:06 +0000 (13:56 +0200)]
s4:service_named_pipe: use the passed client and server addresses
This gives the rpc server code the correct client and server
ip addresses for ncacn_np.
metze
Stefan Metzmacher [Tue, 27 Apr 2010 08:22:25 +0000 (10:22 +0200)]
s4:cldap_server: allow src_address = NULL in fill_netlogon_samlogon_response()
If we don't have the client address, we assume it's a local call,
maybe ncalrpc.
metze
Stefan Metzmacher [Tue, 27 Apr 2010 08:21:28 +0000 (10:21 +0200)]
s4:dsdb/common: if we don't have the ip of the client return the server site as client site
metze
Stefan Metzmacher [Tue, 27 Apr 2010 08:41:46 +0000 (10:41 +0200)]
lib/tsocket: add tsocket_address_is_unix() function
metze
Stefan Metzmacher [Tue, 27 Apr 2010 08:34:15 +0000 (10:34 +0200)]
lib/tsocket: add tsocket_address_is_inet() function
metze
Andrew Tridgell [Tue, 27 Apr 2010 09:45:49 +0000 (19:45 +1000)]
s4-test: make spnupdate work without make install
thanks to metze for noticing this
Andrew Tridgell [Tue, 27 Apr 2010 08:38:47 +0000 (18:38 +1000)]
s4-provision: setup spn_update_list in provision
Andrew Tridgell [Tue, 27 Apr 2010 08:38:25 +0000 (18:38 +1000)]
s4-dns: install samba_spnupdate
Andrew Tridgell [Tue, 27 Apr 2010 08:38:04 +0000 (18:38 +1000)]
s4-dns: call spn update command alongside dns update
call samba_spnupdate at the same time as samba_spnupdate
Andrew Tridgell [Tue, 27 Apr 2010 08:37:12 +0000 (18:37 +1000)]
s4-param: added a "spn update command" option
used by SPN update code
Andrew Tridgell [Tue, 27 Apr 2010 08:25:55 +0000 (18:25 +1000)]
s4-dsdb: added samba_spnupdate
this script adds all our required servicePrincipalName entries at
runtime. The admin can add more entries to spn_update_list as needed