Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-20 | s3: Add cli_smb() | Volker Lendecke | 2 | -0/+43 | |
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 | librpc/ndr Remove unused macros | Andrew Bartlett | 1 | -16/+0 | |
Since the change to the way we pull these OIDs from the wire, these macros are unused. Andrew Bartlett | |||||
2010-02-20 | s4:credentials Add hooks to extract a named Kerberos credentials cache | Andrew Bartlett | 9 | -66/+203 | |
This allows the integration of external tools that can't be linked into C or python, but need to authenticate as the local machine account. The machineaccountccache script demonstrates this, and debugging has been improved in cli_credentials_set_secrets() by passing back and error string. Andrew Bartlett | |||||
2010-02-19 | s4:lsa open trusted domain also with dns name | Simo Sorce | 1 | -3/+7 | |
When searching for a trusted domain object to open, search also the DNS Name attributes for a match. W2K8R2 uses the DNS domain if available. | |||||
2010-02-19 | remove trailing tabs and spaces | Simo Sorce | 1 | -9/+9 | |
2010-02-19 | Second part of fix for bug #7159 - client rpc_transport doesn't cope with ↵ | Jeremy Allison | 1 | -0/+6 | |
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 | First part of fix for bug #7159 - client rpc_transport doesn't cope with bad ↵ | Jeremy Allison | 2 | -0/+16 | |
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 | readability reformatting | Simo Sorce | 1 | -28/+36 | |
stop this function from maiking my eyes bleed | |||||
2010-02-20 | s4:rpc_server Add a 'if_version' parameter to the bind operation. | Andrew Bartlett | 5 | -6/+8 | |
This allows the interface version to be forwarded to the remote server in the RPC proxy, both in the endpoint lookup and the subsequent bind. Andrew Bartlett | |||||
2010-02-20 | librpc When sending endpoint mapper requests, include the minor if_version | Andrew Bartlett | 1 | -1/+16 | |
The minor version (in the upper 16 bits of syntax->if_version) needs to be pushed as the right hand side of the endpoint mapper floor (the same floor as the interface UUID and major if_version). Andrew Bartlett | |||||
2010-02-19 | s4-smbtorture: more work on devicemode tests. | Günther Deschner | 1 | -35/+63 | |
Guenther | |||||
2010-02-19 | s4-smbtorture: explain failure conditions in printer device mode tests a ↵ | Günther Deschner | 1 | -11/+20 | |
little more. Guenther | |||||
2010-02-19 | s4-smbtorture: add --option=torture:spoolss_check_size=yes. | Günther Deschner | 1 | -0/+6 | |
This disables the size calculation comparison by default. Guenther | |||||
2010-02-19 | s4-smbtorture: print more comments while running SD and DM tests in ↵ | Günther Deschner | 1 | -15/+14 | |
RPC-SPOOLSS-PRINTER. Guenther | |||||
2010-02-19 | testprogs: ignore GetJob level 3 and 4 against samba for now. | Günther Deschner | 2 | -1/+3 | |
Guenther | |||||
2010-02-19 | librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end() | Stefan Metzmacher | 1 | -2/+8 | |
metze | |||||
2010-02-19 | s4:selftest Add test for the RPC proxy | Andrew Bartlett | 1 | -0/+3 | |
2010-02-19 | s4:selftest Add infrastructure for testing against an RPC proxy | Andrew Bartlett | 2 | -11/+117 | |
This also changes the 'testenv' code to use a new environment 'all' (we may wish to make other complex tests depend on this in future), and exports more names in more namespaces. Andrew Bartlett | |||||
2010-02-19 | misc.idl: Add reference to the slightly odd representation of if_version | Andrew Bartlett | 1 | -0/+3 | |
I found this confusing, so explian for the next poor programmer who has to get up to speed with this quickly. Andrew Bartlett | |||||
2010-02-19 | s4:rpc_server Record the remote connections association group ID | Andrew Bartlett | 2 | -6/+39 | |
By recording the association group the remote server assigned to our proxied RPC connection, we can ensure we use the same value when the client wishes to use it. This isn't stored in a private pointer, as mapiproxy will want to use this feature too. Andrew Bartlett | |||||
2010-02-19 | s4:winbind Make the 'no SID found' message even more detailed | Andrew Bartlett | 2 | -5/+26 | |
Now we give the user a clue as to what may be wrong, and the file path that we could not find the domain SID in. Andrew Bartlett | |||||
2010-02-18 | More fixes for bug #7146 - Samba miss-parses authenticated RPC packets. | Jeremy Allison | 1 | -16/+31 | |
Alignment space calculations are tricky :-). Jeremy. | |||||
2010-02-19 | s3-spoolss: add support for _spoolss_SetPrinter level 8. | Günther Deschner | 1 | -1/+65 | |
Guenther | |||||
2010-02-19 | nss_wrapper: fix segfault in print_group() in the testsuite | Michael Adam | 1 | -1/+1 | |
Running 'TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMR-LARGE-DC LOCAL-NSS-WRAPPER" make test' from s3 made smbtorture4 crash on my box. Michael | |||||
2010-02-18 | More fixes for bug #7146 - Samba miss-parses authenticated RPC packets. | Jeremy Allison | 1 | -14/+16 | |
Ensure we calculate the space correctly (including the ss_padding_len) when constructing reply packets. Jeremy. | |||||
2010-02-18 | s4-smbtorture: add LOCAL-NSS-WRAPPER-DUPLICATES test. | Günther Deschner | 1 | -1/+92 | |
Guenther | |||||
2010-02-18 | s4-smbtorture: be more verbose in LOCAL-NSS-WRAPPER. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2010-02-18 | s3: optimize strict allocate for XFS on IRIX | Björn Jacke | 1 | -0/+25 | |
2010-02-18 | testprogs: add tests for GetJob() to spoolss test. | Günther Deschner | 1 | -0/+106 | |
Guenther | |||||
2010-02-18 | Fix bug #7155 - valgrind Conditional jump or move depends on uninitialised ↵ | Jeremy Allison | 1 | -0/+1 | |
value(s) error when "mangling method = hash" The charset array allocated in init_chartest() is allocated by MALLOC, but only some elements of it being set after allocation. Fix is to memset to zero after allocation. Jeremy. | |||||
2010-02-18 | Fix bug #7154 - mangling method = hash can crash storing a name not ↵ | Jeremy Allison | 1 | -3/+5 | |
containing a '.' Fix use of uninitialized variable. This can lead to crashes if mangling = hash processes names with no '.'. Jeremy. | |||||
2010-02-18 | testprogs: add RPC_S_PROCNUM_OUT_OF_RANGE error. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-02-18 | spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves ↵ | Günther Deschner | 4 | -239/+239 | |
devmode relative pointer down to sd). Guenther | |||||
2010-02-18 | spoolss: add spoolss_security_descriptor. | Günther Deschner | 5 | -52/+115 | |
Guenther | |||||
2010-02-18 | s3: re-run make samba3-idl. | Günther Deschner | 5 | -1263/+1627 | |
Guenther | |||||
2010-02-18 | security: make two bitmaps public. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-02-18 | spoolss: make two bitmaps public. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-02-18 | spoolss: make all security descriptors and devicemodes 4 byte aligned and ↵ | Stefan Metzmacher | 1 | -8/+8 | |
add missing subcontexts. Guenther | |||||
2010-02-18 | spoolss: set NDR_RELATIVE_REVERSE flag for various unions that have relative ↵ | Günther Deschner | 1 | -10/+10 | |
pointers. Guenther | |||||
2010-02-18 | ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_* | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-02-18 | spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro. | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2010-02-18 | libndr: fix ndr_size_* calculation with relative reverse buffers | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2010-02-18 | libndr: for now align reverse relative pointers to 2 bytes by default. | Stefan Metzmacher | 1 | -0/+3 | |
This is just a hack and we should let the callers use FLAG_ALIGN2 explicit in future. metze | |||||
2010-02-18 | libndr: implement LIBNDR_RELATIVE_REVERSE handling | Stefan Metzmacher | 2 | -3/+87 | |
This is based on Guenther's initial code. metze | |||||
2010-02-18 | libndr: store a subcontext buffer size in ndr_push_subcontext_start. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2010-02-18 | libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used ↵ | Stefan Metzmacher | 1 | -1/+6 | |
with the RELATIVE_REVERSE flag metze | |||||
2010-02-18 | libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processing | Günther Deschner | 3 | -0/+7 | |
can be disabled for single structure elements. Guenther | |||||
2010-02-18 | libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag. | Günther Deschner | 2 | -0/+4 | |
Guenther | |||||
2010-02-18 | libndr: change subcontext buffer allocation to allocate on subcontext_start. | Günther Deschner | 1 | -3/+7 | |
Guenther | |||||
2010-02-18 | librpc/ndr: make ndr_push_relative_ptr2() static | Stefan Metzmacher | 2 | -2/+1 | |
metze |