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
Volker Lendecke
d122bfc064
s3: Add a talloc_move for the inbuf to cli_smb_recv
2010-02-22 23:23:18 +01:00
Volker Lendecke
65914ed819
s3: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send
...
I hate macros....
2010-02-21 20:42:39 +01:00
Volker Lendecke
15edc96f49
s3: Use the status from cli_raw_ioctl in torture_ioctl_test
2010-02-21 11:42:41 +01:00
Volker Lendecke
77dd1b29bb
s3: Make string_to_sid survive the LOCAL-string_to_sid test
2010-02-20 21:35:03 +01:00
Volker Lendecke
e38908ea65
s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some tests
2010-02-20 21:35:03 +01:00
Volker Lendecke
1e8a84aac7
s3: Add printf why LOCAL-dom_sid_parse failed
2010-02-20 21:35:03 +01:00
Volker Lendecke
2beaa19029
s3: Slightly simplify the logic of completion_remote_filter
2010-02-20 18:59:30 +01:00
Volker Lendecke
48d6ed7cac
s3: Fix some nonempty blank lines
2010-02-20 18:59:30 +01:00
Volker Lendecke
1f451d122e
s3: Remove a "typedef struct"
2010-02-20 18:59:30 +01:00
Volker Lendecke
f27857e655
s3: Fix a typo
2010-02-20 18:59:30 +01:00
Volker Lendecke
8930a9c520
s3: Convert cli_qpathinfo_basic to use cli_trans()
2010-02-20 18:59:30 +01:00
Volker Lendecke
b69a74eeca
s3: Convert cli_raw_ioctl to use cli_smb()
2010-02-20 18:59:29 +01:00
Volker Lendecke
89e6a5263e
s3: Add cli_smb()
...
This is a sync wrapper around cli_smb_send/cli_smb_recv. This is a hack to
speed up converting libsmb/ away from cli_send_smb/cli_receive_smb. Some
routines in libsmb/ are only called in one place in smbtorture for example,
where making it async right now is not worth it. With cli_smb_send/cli_smb_recv
in place, pushing the asynchronosity out one level is "just" boilerplate code
that is easy to do should it become necessary.
2010-02-20 18:59:29 +01:00
Jeremy Allison
0055e33dbe
Second part of fix for bug #7159 - client rpc_transport doesn't cope with bad server data returns.
...
If server returns zero on a NP read. Report pipe broken.
Prevents client from looping if it thinks there should be
more data.
Jeremy.
2010-02-19 14:26:22 -08:00
Jeremy Allison
ad77ae1d58
First part of fix for bug #7159 - client rpc_transport doesn't cope with bad server data returns.
...
Ensure that subreq is *always* talloc_free'd in the _done
function, as it has an event timeout attached. If the
read requests look longer than the cli->timeout, then
the timeout fn is called with already freed data.
Jeremy.
2010-02-19 14:26:12 -08:00
Jeremy Allison
91a4db6358
More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.
...
Alignment space calculations are tricky :-).
Jeremy.
2010-02-18 16:12:04 -08:00
Günther Deschner
13533e12fd
s3-spoolss: add support for _spoolss_SetPrinter level 8.
...
Guenther
2010-02-19 00:42:25 +01:00
Jeremy Allison
11a87cd31e
More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.
...
Ensure we calculate the space correctly (including the ss_padding_len)
when constructing reply packets.
Jeremy.
2010-02-18 15:03:30 -08:00
Björn Jacke
c0ebca237c
s3: optimize strict allocate for XFS on IRIX
2010-02-18 22:45:46 +01:00