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

31252 Commits

Author SHA1 Message Date
Günther Deschner
3ca8d28bb7 spoolss: fix build and version in spoolss_PrinterInfo0 (aka PRINTER_INFO_STRESS).
Guenther
2010-02-26 17:39:21 +01:00
Günther Deschner
ee547e715e s3: remove unused schannel_auth_struct.
Guenther
2010-02-26 11:08:01 +01:00
Jeremy Allison
314a926179 Fix up debug info on smb2_rename code.
Jeremy.
2010-02-25 11:57:54 -08:00
Jeremy Allison
3551eb7cbf Implement rename/move in SMB2 from Windows7.
Jeremy.
2010-02-25 11:15:16 -08:00
Günther Deschner
166a3821c9 s3-nltest: fix uninitialized query level.
Guenther
2010-02-25 19:31:06 +01:00
Günther Deschner
10c8b0fb73 s3-spoolss: Save entire devicemode.
found by RPC-SPOOLSS-PRINTER torture test.

Guenther
2010-02-25 14:35:41 +01:00
Jeremy Allison
d1950d66c4 Make conn_close_all() safe to call from SMB2 sessions (fix crash bug).
Ensure we don't call close_cnum() with SMB2, also talloc_move the
compat_conn pointer from the NULL context onto the tcon context
in SMB2 as it's conceptually owned by that pointer.

Jeremy.
2010-02-24 18:11:07 -08:00
Jeremy Allison
26891651ec Change the credential handling so that we start with maxmux creds,
and then return to the client the number of credits per operation
that they asked for. This is a more sensible algorithm than just
blindly returning "20" on every reply, although we will probably
still need more changes to this going forward.
Jeremy.
2010-02-24 16:16:30 -08:00
Volker Lendecke
d980268680 s3: Make connections_fetch_record() static 2010-02-24 16:11:03 +01:00
Stefan Metzmacher
6346ec0c1c s3:selftest: handle spaces in test names
metze
2010-02-24 11:56:10 +01:00
Stefan Metzmacher
654f1147e1 s3:selftest: make wbinfo_s3 work on the "member" server too.
metze
2010-02-24 11:56:10 +01:00
Stefan Metzmacher
9f2f738a3c s3:test_wbinfo_s3: test --check-secret and --change-secret
metze
2010-02-24 11:56:10 +01:00
Stefan Metzmacher
911287285c s3:rpc_transport_np: handle trans rdata like the output of a normal read
Inspired by bug #7159.

metze
2010-02-24 11:55:36 +01:00
Simo Sorce
1d0938c629 schannel_tdb: make code compilable in both trees 2010-02-23 12:46:50 -05:00
Simo Sorce
3b12c38ac0 s3:schannel streamline interface
Make calling schannel much easier by removing the need to explicitly open the
database. Let the abstraction do it instead.
2010-02-23 12:46:50 -05:00
Simo Sorce
b4c9dc3724 s3:schannel more readable check logic
Make the initial schannel check logic more understandable.
Make it easy to define different policies depending on ther caller's security
requirements (Integrity/Privacy/Both/None)
2010-02-23 12:46:50 -05:00
Simo Sorce
61b7a24f16 s3 move the sitename cache in its own file 2010-02-23 12:46:26 -05:00
Volker Lendecke
c31cf0a1b5 s3: Consolidate some pid_to_procid() calls to procid_self() 2010-02-23 17:20:28 +01:00
Stefan Metzmacher
a2cd203982 s3:spoolss: construct the devmode the same way for level 2 and 8
metze
2010-02-23 16:41:26 +01:00
Stefan Metzmacher
1e9df26ef9 s3:cli_netlogon: keep the the correct negotiate_flags on the cli->dc structure
This should fix the rpccli_netlogon_set_trust_password() against DC's
without netr_ServerPasswordSet2 support.

This fixes bug #7160.

metze
2010-02-23 16:19:58 +01:00
Stefan Metzmacher
ddfd5b69a0 s3:selftest: $WORKGROUP doesn't exist, we should use $DOMAIN
metze
2010-02-23 16:19:41 +01:00
Volker Lendecke
752bffc53f s3: Consolidate server_id_self into the equivalent procid_self() 2010-02-23 15:30:00 +01:00
Björn Jacke
ce7727c1cc s3: add explicit configure option whether or not to enable dmapi support 2010-02-23 15:25:41 +01:00
Andreas Schneider
f33b69753d s3-smb: Remove the obsolete signal type cast.
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal
handlers to return void, only K&R returned int.
2010-02-23 12:23:43 +01:00
Andreas Schneider
c6c21f489d s3-lib: Remove obsolete signal type cast. 2010-02-23 12:23:43 +01:00
Andreas Schneider
5ad801beb9 s3-libads: Remove obsolete signal type cast. 2010-02-23 12:23:43 +01:00
Andreas Schneider
38b0e6b4d7 s3-nmbd: Remove obsolete signal type cast. 2010-02-23 12:23:42 +01:00
Andreas Schneider
069350d7e4 s3-pam_smbpass: Remove obsolete signal type cast. 2010-02-23 12:23:42 +01:00
Andreas Schneider
b9cf55cfea s3-passdb: Remove obsolete signal type cast. 2010-02-23 12:23:42 +01:00
Andreas Schneider
d9f31fea6a s3-print: Remove obsolete signal type cast. 2010-02-23 12:23:42 +01:00
Stefan Metzmacher
f924b77492 s3:winbindd: never mark external domains as internal!
This way we can endup with silently using builtin_passdb_methods
for an ad domain without an inbound trust.

This fixes bug #7170.

metze
2010-02-23 10:23:32 +01:00
Simo Sorce
0c8608bbab s3 Fix the build
I didn't mean to puch the GetForestTrustInformation patch just yet,
now that it is in fix the s3 build ...
2010-02-22 21:18:07 -05:00
Jeremy Allison
2a5060fcef A test "store create time" parameter got commited by accident. Remove it.
Jeremy.
2010-02-22 15:34:15 -08:00
Jeremy Allison
3aee8e73b0 Ensure STREAMERROR deletes any files in the \\testdir
before rmdir and mkdir.
Jeremy.
2010-02-22 15:04:10 -08:00
Jeremy Allison
f1fe808978 Add an "attributes" string to allinfo.
Jeremy.
2010-02-22 14:36:40 -08:00
Volker Lendecke
82f6f3920c s3: Explicitly handle inbuf in cli_trans_done 2010-02-22 23:23:20 +01:00
Volker Lendecke
964210b89a s3: Explicitly handle inbuf in cli_write_andx_done 2010-02-22 23:23:20 +01:00
Volker Lendecke
78d7f27993 s3: Explicitly handle inbuf in cli_read_andx_done 2010-02-22 23:23:20 +01:00
Volker Lendecke
486f734fd8 s3: Explicitly handle inbuf in cli_message_start_done 2010-02-22 23:23:20 +01:00
Volker Lendecke
be62ca1403 s3: Explicitly handle inbuf in cli_dskattr_done 2010-02-22 23:23:20 +01:00
Volker Lendecke
327f93bf1c s3: Explicitly handle inbuf in cli_getatr_done 2010-02-22 23:23:20 +01:00
Volker Lendecke
41ebf583e8 s3: Explicitly handle inbuf in cli_getattrE_done 2010-02-22 23:23:20 +01:00
Volker Lendecke
409fd662b0 s3: Explicitly handle inbuf in cli_open_done 2010-02-22 23:23:19 +01:00
Volker Lendecke
12863ffa56 s3: Explicitly handle inbuf in cli_ntcreate_done 2010-02-22 23:23:19 +01:00
Volker Lendecke
1fab94a31b s3: Explicitly handle inbuf in cli_echo_done 2010-02-22 23:23:19 +01:00
Volker Lendecke
fdd82e69ab s3: Explicitly handle inbuf in cli_negprot_done 2010-02-22 23:23:19 +01:00
Volker Lendecke
160c459b54 s3: Explicitly handle inbuf in cli_tcon_andx_done 2010-02-22 23:23:19 +01:00
Volker Lendecke
036fcafe24 s3: Explicitly handle inbuf in cli_sesssetup_blob_done 2010-02-22 23:23:18 +01:00
Volker Lendecke
47c61b4f15 s3: Explicitly handle inbuf in cli_session_setup_guest_done 2010-02-22 23:23:18 +01:00
Volker Lendecke
299d9c409d s3: Explicitly handle inbuf in cli_smb_oplock_break_waiter_done 2010-02-22 23:23:18 +01:00