summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Add printf why LOCAL-dom_sid_parse failedVolker Lendecke2010-02-201-0/+3
|
* s3: Slightly simplify the logic of completion_remote_filterVolker Lendecke2010-02-201-39/+45
|
* s3: Fix some nonempty blank linesVolker Lendecke2010-02-201-59/+57
|
* s3: Remove a "typedef struct"Volker Lendecke2010-02-201-4/+4
|
* s3: Fix a typoVolker Lendecke2010-02-201-1/+1
|
* s3: Convert cli_qpathinfo_basic to use cli_trans()Volker Lendecke2010-02-204-44/+37
|
* s3: Convert cli_raw_ioctl to use cli_smb()Volker Lendecke2010-02-201-18/+10
|
* s3: Add cli_smb()Volker Lendecke2010-02-202-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.
* librpc/ndr Remove unused macrosAndrew Bartlett2010-02-201-16/+0
| | | | | | | Since the change to the way we pull these OIDs from the wire, these macros are unused. Andrew Bartlett
* s4:credentials Add hooks to extract a named Kerberos credentials cacheAndrew Bartlett2010-02-209-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
* s4:lsa open trusted domain also with dns nameSimo Sorce2010-02-191-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.
* remove trailing tabs and spacesSimo Sorce2010-02-191-9/+9
|
* Second part of fix for bug #7159 - client rpc_transport doesn't cope with ↵Jeremy Allison2010-02-191-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.
* First part of fix for bug #7159 - client rpc_transport doesn't cope with bad ↵Jeremy Allison2010-02-192-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.
* readability reformattingSimo Sorce2010-02-191-28/+36
| | | | stop this function from maiking my eyes bleed
* s4:rpc_server Add a 'if_version' parameter to the bind operation.Andrew Bartlett2010-02-205-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
* librpc When sending endpoint mapper requests, include the minor if_versionAndrew Bartlett2010-02-201-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
* s4-smbtorture: more work on devicemode tests.Günther Deschner2010-02-191-35/+63
| | | | Guenther
* s4-smbtorture: explain failure conditions in printer device mode tests a ↵Günther Deschner2010-02-191-11/+20
| | | | | | little more. Guenther
* s4-smbtorture: add --option=torture:spoolss_check_size=yes.Günther Deschner2010-02-191-0/+6
| | | | | | This disables the size calculation comparison by default. Guenther
* s4-smbtorture: print more comments while running SD and DM tests in ↵Günther Deschner2010-02-191-15/+14
| | | | | | RPC-SPOOLSS-PRINTER. Guenther
* testprogs: ignore GetJob level 3 and 4 against samba for now.Günther Deschner2010-02-192-1/+3
| | | | Guenther
* librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end()Stefan Metzmacher2010-02-191-2/+8
| | | | metze
* s4:selftest Add test for the RPC proxyAndrew Bartlett2010-02-191-0/+3
|
* s4:selftest Add infrastructure for testing against an RPC proxyAndrew Bartlett2010-02-192-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
* misc.idl: Add reference to the slightly odd representation of if_versionAndrew Bartlett2010-02-191-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
* s4:rpc_server Record the remote connections association group IDAndrew Bartlett2010-02-192-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
* s4:winbind Make the 'no SID found' message even more detailedAndrew Bartlett2010-02-192-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
* More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.Jeremy Allison2010-02-181-16/+31
| | | | | | Alignment space calculations are tricky :-). Jeremy.
* s3-spoolss: add support for _spoolss_SetPrinter level 8.Günther Deschner2010-02-191-1/+65
| | | | Guenther
* nss_wrapper: fix segfault in print_group() in the testsuiteMichael Adam2010-02-191-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
* More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.Jeremy Allison2010-02-181-14/+16
| | | | | | | Ensure we calculate the space correctly (including the ss_padding_len) when constructing reply packets. Jeremy.
* s4-smbtorture: add LOCAL-NSS-WRAPPER-DUPLICATES test.Günther Deschner2010-02-181-1/+92
| | | | Guenther
* s4-smbtorture: be more verbose in LOCAL-NSS-WRAPPER.Günther Deschner2010-02-181-4/+4
| | | | Guenther
* s3: optimize strict allocate for XFS on IRIXBjörn Jacke2010-02-181-0/+25
|
* testprogs: add tests for GetJob() to spoolss test.Günther Deschner2010-02-181-0/+106
| | | | Guenther
* Fix bug #7155 - valgrind Conditional jump or move depends on uninitialised ↵Jeremy Allison2010-02-181-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.
* Fix bug #7154 - mangling method = hash can crash storing a name not ↵Jeremy Allison2010-02-181-3/+5
| | | | | | | | | containing a '.' Fix use of uninitialized variable. This can lead to crashes if mangling = hash processes names with no '.'. Jeremy.
* testprogs: add RPC_S_PROCNUM_OUT_OF_RANGE error.Günther Deschner2010-02-181-0/+2
| | | | Guenther
* spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves ↵Günther Deschner2010-02-184-239/+239
| | | | | | devmode relative pointer down to sd). Guenther
* spoolss: add spoolss_security_descriptor.Günther Deschner2010-02-185-52/+115
| | | | Guenther
* s3: re-run make samba3-idl.Günther Deschner2010-02-185-1263/+1627
| | | | Guenther
* security: make two bitmaps public.Günther Deschner2010-02-181-2/+2
| | | | Guenther
* spoolss: make two bitmaps public.Günther Deschner2010-02-181-2/+2
| | | | Guenther
* spoolss: make all security descriptors and devicemodes 4 byte aligned and ↵Stefan Metzmacher2010-02-181-8/+8
| | | | | | add missing subcontexts. Guenther
* spoolss: set NDR_RELATIVE_REVERSE flag for various unions that have relative ↵Günther Deschner2010-02-181-10/+10
| | | | | | pointers. Guenther
* ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*Stefan Metzmacher2010-02-181-2/+2
| | | | metze
* spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro.Stefan Metzmacher2010-02-181-1/+4
| | | | metze
* libndr: fix ndr_size_* calculation with relative reverse buffersStefan Metzmacher2010-02-181-0/+6
| | | | metze
* libndr: for now align reverse relative pointers to 2 bytes by default.Stefan Metzmacher2010-02-181-0/+3
| | | | | | | This is just a hack and we should let the callers use FLAG_ALIGN2 explicit in future. metze