1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

62370 Commits

Author SHA1 Message Date
Günther Deschner
03d83128dd s4-smbtorture: add RAP-PRINTING suite.
Guenther
2010-04-28 23:23:37 +02:00
Günther Deschner
1764bcecf2 s4-smbtorture: add smbcli_rap_netprintqenum.
Guenther
2010-04-28 23:23:37 +02:00
Günther Deschner
42003e5661 s3: re-run make samba3-idl
Guenther
2010-04-28 23:23:37 +02:00
Günther Deschner
b66602898a rap: add rap_NetPrintQEnum to IDL.
Guenther
2010-04-28 23:23:37 +02:00
Jeremy Allison
ac09506d36 Connect set security descriptor into SMB2 code.
Jeremy.
2010-04-28 14:13:22 -07:00
Günther Deschner
37e9019119 s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
query some existing values.

Guenther
2010-04-28 17:06:17 +02:00
Günther Deschner
6cb21806e8 s4-smbtorture: add a test that adds a printer incl. devicemode.
Guenther
2010-04-28 17:06:17 +02:00
Stefan Metzmacher
d5cc067367 s3:smbd: make fsp->fake_file_handle a talloc child of fsp
metze
2010-04-28 15:46:58 +02:00
Stefan Metzmacher
4783f84264 s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in pipe_read_andx_done()
metze
2010-04-28 15:46:23 +02:00
Stefan Metzmacher
ae1c040b51 s4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW
metze
2010-04-28 15:46:01 +02:00
Stefan Metzmacher
21ec116bbf libcli/named_pipe_auth: we need to hide length of the message mode header from the caller
metze
2010-04-28 15:45:38 +02:00
Stefan Metzmacher
6129aa0cf5 s4:web_server: use tsocket_address functions to get the local ip and port
metze
(cherry picked from commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405)
2010-04-28 15:45:02 +02:00
Günther Deschner
a53b09141c s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer Data.
Guenther
2010-04-28 15:11:41 +02:00
Kamen Mazdrashki
eed665d653 s4/net_drs: Fix Connection name printed 2010-04-28 12:11:03 +03:00
Kamen Mazdrashki
bf49ac99c9 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
2010-04-28 12:11:03 +03:00
Volker Lendecke
5197d76faa s3: Make a debug msg more readable 2010-04-28 10:55:50 +02:00
Jeremy Allison
c9a3661c4b 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.
2010-04-27 22:15:17 -07:00
Andrew Bartlett
3c585e9a80 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
2010-04-28 10:39:57 +10:00
Jeremy Allison
4d1f0436bd Don't return a potentially uninitialized NT_STATUS. We can now see user lists in Windows ACLs.
Jeremy.
2010-04-27 17:09:40 -07:00
Jeremy Allison
33256e41e1 Add debug statements so I can track the flow of RPC data.
Jeremy.
2010-04-27 17:07:44 -07:00
Günther Deschner
f56d9006d5 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
2010-04-28 01:27:40 +02:00
Günther Deschner
c88ff10d69 s3-lanman: fix debug message in api_WPrintJobEnumerate().
Guenther
2010-04-28 01:27:40 +02:00
Günther Deschner
566ea59b27 s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().
Guenther
2010-04-28 01:27:40 +02:00
Günther Deschner
fe1f503a95 s3-lanman: remove unused code.
Guenther
2010-04-28 01:27:40 +02:00
Günther Deschner
f23bcb5c5e s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.
Guenther
2010-04-28 01:27:40 +02:00
Jeremy Allison
f11a5d196d Don't return an intermediate reply on async on a pipe call (Windows doesn't).
Jeremy.
2010-04-27 16:07:12 -07:00
Günther Deschner
f4f9d54721 s3-lanman: use spoolss for api_PrintJobInfo().
Guenther
2010-04-28 00:10:41 +02:00
Günther Deschner
d6d8c3ffe3 s4-smbtorture: also try renaming jobname in test_DoPrintTest_check_jobs().
Guenther
2010-04-28 00:10:41 +02:00
Günther Deschner
b87b1de834 s4-smbtorture: allow to pass down spoolss_JobInfoContainer to SetJob functions.
Guenther
2010-04-28 00:10:41 +02:00
Günther Deschner
2af449391b 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
2010-04-28 00:10:40 +02:00
Günther Deschner
1691eb73da s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).
Guenther
2010-04-28 00:10:40 +02:00
Günther Deschner
2b7002f385 s3-lanman: remove unsupported print_job_set_place().
Guenther
2010-04-28 00:10:40 +02:00
Jeremy Allison
ce8595f68e Fix more S3 build breakage. Matthias, please ensure S3 builds when
changing common code.

Jeremy.
2010-04-27 12:10:20 -07:00
Marcel Ritter
e6f59613fe Install spn_update_list to setup/ dir
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-04-27 21:05:00 +02:00
Matthias Dieter Wallnöfer
079897709e s3:libads/ldap.c - fix a build breakage 2010-04-27 20:45:06 +02:00
Matthias Dieter Wallnöfer
d1db751ff8 Revert "s4:web_server: use tsocket_address functions to get the local ip and port"
This reverts commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405.

This broke the build.
2010-04-27 18:45:42 +02:00
Matthias Dieter Wallnöfer
79a29a8cd6 s4:cldap_server/netlogon.c - handle the domain SID correctly 2010-04-27 18:45:41 +02:00
Matthias Dieter Wallnöfer
eceffe6909 nbt: samlogon/netlogon structures - unify denominations 2010-04-27 18:45:41 +02:00
Matthias Dieter Wallnöfer
3f1bd92306 s4:fill_netlogon_samlogon_response - reorder assign operations (to be consistent) 2010-04-27 18:45:40 +02:00
Matthias Dieter Wallnöfer
a89ba9e21d s4:fill_netlogon_samlogon_response - use "lp_workgroup" for the short netbios domainname
This call is only for the DC mode.
2010-04-27 18:45:40 +02:00
Matthias Dieter Wallnöfer
7efb436698 s4:torture - DsRAddressToSitenames[Ex]W testsuite - make it IPv4-only compatible 2010-04-27 18:45:40 +02:00
Günther Deschner
8f8e7c788a Revert "s3-build: Remove --enable-merged support."
This reverts commit f8fc7fcbeb8141c5b2775e2219bae17c55ad4a3c.

Was that pushed by coincidence ? merged build is really, really required over
here.
2010-04-27 18:14:09 +02:00
Günther Deschner
158d41b6b4 s4-smbtorture: make sure to zero the add driver info 8 struct before adding drivers.
Guenther
2010-04-27 17:56:50 +02:00
Günther Deschner
7532640a74 s3-spoolss: publish "Monitor" in winreg for drivers.
Found by torture test.

Guenther
2010-04-27 17:56:48 +02:00
Günther Deschner
70ec7e0700 s3-spoolss: fix winreg attribute for storing datatype.
Found by torture test (and checked with w2k, w2k3 and w2k8).

Guenther
2010-04-27 17:56:47 +02:00
Günther Deschner
03a9ac4e2b s3-spoolss: fix some uninitialized variables.
Guenther
2010-04-27 17:55:55 +02:00
Stefan Metzmacher
b764145ac8 s3:smbd: keep local and remote tsocket_address per connection
metze
2010-04-27 17:22:31 +02:00
Björn Jacke
8f74d38c3a s3/packaging: make rpm build work by overriding strict linker flags 2010-04-27 17:20:22 +02:00
Stefan Metzmacher
7ca576e5c4 s4:rpc_server: remove unused socket_address based functions
metze
2010-04-27 17:05:30 +02:00
Stefan Metzmacher
9a1a00199c s4:web_server: use tsocket_address functions to get the local ip and port
metze
2010-04-27 17:05:30 +02:00