summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* r11829: remove unused #if 1Stefan Metzmacher2005-11-211-2/+0
| | | | metze
* r11828: split out the async helper function into a new subsystem WB_HELPERStefan Metzmacher2005-11-211-3/+11
| | | | | | to use it in torture tests too metze
* r11827: add more sgroup vs sgroup testsStefan Metzmacher2005-11-211-33/+531
| | | | metze
* r11826: A few steps down the loginVolker Lendecke2005-11-211-3/+242
|
* r11825: Fix a debug msgVolker Lendecke2005-11-211-1/+1
|
* r11824: fixed a valgrind error in the dcerpc_smb codeAndrew Tridgell2005-11-211-1/+2
|
* r11823: make the socket_connect_send() context a child of the local stateAndrew Tridgell2005-11-211-0/+1
| | | | this fixes a valgrind error
* r11822: reworked the socket_connect_multi() code so it is built on top ofAndrew Tridgell2005-11-211-144/+149
| | | | | | | socket_connect_send() rather than the lower level socket code. Also simplified the state structures a fair bit, and added name resolution, fixing a bug where the multi-port connect code did a separate name resolution for each port being tried.
* r11821: got rid of two more unnecessary variables and made the variable namesAndrew Tridgell2005-11-211-60/+58
| | | | a bit more consistent
* r11820: fixed some problems with the socket socket.c code. Andrew Tridgell2005-11-211-68/+72
| | | | | | | | | | | | | | | | - removed the duplicate calls to socket_connect(), instead creating a common function socket_send_connect() used by both code paths - fixed some NULL ptr checks (probably was cut-and-paste bugs) - ensure we use the result of the name resolution - added a few comments - use 'fde' for the file description event. The variable name 'connect_ev' immediately made me think of an event context, not a fde. Using common variable name conventions makes code a bit easier to read
* r11819: simplified the async rpc bind code a little. Andrew Tridgell2005-11-212-207/+225
| | | | | | | | | | | | | | | | | | | | | - removed the struct dcerpc_request_state as all the state information is already available on the dcerpc_pipe structure, so just use that - added a single dcerpc_recv_data() handler for receiving packets from the transport layer. This then does the initial decoding of the dcerpc packet, and then looks at the packet type in order to work out who to dispatch it to. This should allow in-flight async rpc requests to still work while a new bind or alter context is happening - ensure that if the transport indicates the connection is dead that any in-flight bind or alter context requests are given an error - removed full_request_private and instead use separate bind_private and alter_private pointers - added a few comments for some bits I found hard to understand
* r11818: - changed the option torture:echo_TestSleep=yes/no to the more genericAndrew Tridgell2005-11-214-17/+19
| | | | | | | option torture:quick=yes/no. This should be used in all slow tests to enable a quick mode - enabled the test_rpc_quick.sh tests in 'make quicktest'
* r11817: fixed the problem with the RPC join tests. The problem was thatAndrew Tridgell2005-11-211-0/+10
| | | | | revision 11809 had removed the change to the session key function after authentication succeeds.
* r11816: this fixes some of the problems with the recent async rpc changes andAndrew Tridgell2005-11-211-0/+12
| | | | | | ncacn_ip_tcp/ncalrpc. The problem was that svn revision 11809 removed the logic that forced the CONNECT auth type for authenticated binds which don't have an explicit SIGN or SEAL flag set.
* r11815: A bit more comments and spaces for better readability.Rafal Szczesniak2005-11-202-1/+11
| | | | rafal
* r11814: 1) Set name resolution methods according to smb.confRafal Szczesniak2005-11-201-1/+4
| | | | | | | | 2) Set credentials workstation name, otherwise rpc bind function segfaults on auth stage rafal
* r11813: Const-ify name resolution method list and use string listRafal Szczesniak2005-11-202-11/+2
| | | | | | | utilities to set the context field. rafal
* r11812: Convert winbind to the async bind routines. Also remove tridge's ↵Volker Lendecke2005-11-206-93/+203
| | | | | | | | hack for the winbind "bug" :-) Volker
* r11811: Revert 11808, this broke the selftest. No idea why though. Why do we ↵Volker Lendecke2005-11-201-2/+2
| | | | | | | | | | to the resolve_name if it's not used? I know this is my code, but I don't understand why it breaks tests. Volker
* r11810: Fix talloc hierarchyVolker Lendecke2005-11-201-2/+2
|
* r11809: Make dcerpc_bind_auth async.Volker Lendecke2005-11-208-178/+229
| | | | | | | | | | | This also removes dcerpc_bind_auth_password, the only user of dcerpc_bind_auth. And this was not only passwords anyway. Andrew Bartlett, as usual: Please take a close look. Thanks, Volker
* r11808: Fix socket_connect_evVolker Lendecke2005-11-201-2/+2
|
* r11807: Make dcerpc_alter_context async. Same thing: Please look at thisVolker Lendecke2005-11-201-149/+140
| | | | | | closely. Survives RPC-ALTERCONTEXT. Volker
* r11806: Minor cleanupVolker Lendecke2005-11-191-5/+2
|
* r11805: dcerpc_bind_auth is only used in dcerpc_bind_auth_passwordVolker Lendecke2005-11-191-2/+2
|
* r11804: Asyncify the anonymous bind, convert the calls in xplogin.c.Volker Lendecke2005-11-193-86/+256
| | | | | | | Tridge et al, please take a close look at this. It survives my basic rpc-login test as well as rpc-lsa, but this is critical I think. Volker
* r11803: New start for RPC-LOGIN load test, this time async. It's gonna be ↵Volker Lendecke2005-11-191-949/+454
| | | | | | | | | | | fun to see hundreds of logins from a single process.... :-) Does not do all that is necessary yet. But as the old one was #ifdef'ed out, this does not hurt much I think. Volker
* r11802: - add copyrightStefan Metzmacher2005-11-191-4/+10
| | | | | | | - fix crash bug when running as non root - add extra comments in the output metze
* r11801: - added basic SMB2 find supportAndrew Tridgell2005-11-199-11/+165
| | | | | | - added SMB2-SCANFIND test - cleaned up continue flags in EAs and find requests
* r11800: - filled in unknown fields in SMB2 all_info levelAndrew Tridgell2005-11-197-30/+84
| | | | - allow setting of the ALL_EAS flags bits in SMB2 getinfo
* r11797: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison2005-11-191-1/+22
| | | | | <dtucker@zip.com.au> Jeremy.
* r11796: Two more uses of !composite_is_okVolker Lendecke2005-11-181-20/+5
|
* r11795: used a couple more of volkers composite helper functions. TheyAndrew Tridgell2005-11-181-39/+9
| | | | certainly make the code more compact.
* r11794: - fixed a valgrind error in libnet, caused by using a stack variableAndrew Tridgell2005-11-183-10/+8
| | | | | | | | | after the function has returned (the *address variable was assigned into the state). - changed libnet to use event_context_find() instead of event_context_init(), so it works as a child of existing code that uses a event context
* r11791: simplify the SMB2 connect code following some suggestions from volkerAndrew Tridgell2005-11-181-22/+24
|
* r11789: - add the start of a SMB2 serverStefan Metzmacher2005-11-1810-5/+823
| | | | | | | | | | | | - it does Negprot and SessionSetup yet the rest returns NT_STATUS_NOT_IMPLEMENTED - it's off by default, enable with: smbsrv:enable smb2 = yes - negotition in the SMB Negprot isn't supported yet - it's only tested with smbtorture SMB2-CONNECT not with vista as client metze
* r11788: remove unused header filesStefan Metzmacher2005-11-181-3/+0
| | | | metze
* r11787: add missing fileStefan Metzmacher2005-11-181-0/+20
| | | | metze
* r11786: move all SMB protocol specific stuff to smb_server/smb/Stefan Metzmacher2005-11-1812-12/+3
| | | | metze
* r11785: rename conn.c into tcon.cStefan Metzmacher2005-11-182-1/+1
| | | | metze
* r11783: - make the VIUD field in smbsrv_session 64bit, as SMB2 needs itStefan Metzmacher2005-11-186-101/+136
| | | | | | | | | | - add an idtree_limit to limit the max VUID we give the clients it's UINT16_MAX (0xffff) for the SMB protocol - add auth_time to the smbsrv_session statistics - use the session_info as marker for finished and non-finished session setups metze
* r11782: - make the TID 32bit in the smbsrv_tcon structure, as SMB2 usesStefan Metzmacher2005-11-185-17/+50
| | | | | | | | | them - add a idtree_limit to the tcons substructure of smbsrv_connection this controls what the highest TID is we give away to the client it's UINT16_MAX (0xFFFF) for the SMB protocol metze
* r11781: rename tree to tcons to match the sessions substructure of ↵Stefan Metzmacher2005-11-186-35/+35
| | | | | | smbsrv_connection metze
* r11780: it turns out that the MxAc tag isn't a security descriptor, its aAndrew Tridgell2005-11-184-34/+13
| | | | | request that the server return its own MxAc blob which contains the maximum allowed access_mask for the returned file handle
* r11779: fix crash bugStefan Metzmacher2005-11-181-1/+1
| | | | metze
* r11778: - remove unused memory contexts as req is already the temporary ↵Stefan Metzmacher2005-11-181-47/+21
| | | | | | | | | | context for the current request - just use '0', I'll remove the UID_FIELD_INVALID macro completly later - why search for the session we have just create - add TODO notices, I need to dicuss them with abartlet... metze
* r11777: display the security_descriptor in torture_smb2_all_info()Andrew Tridgell2005-11-182-0/+14
|
* r11776: no need to call out to SMB to setup test files for SMB2 any moreAndrew Tridgell2005-11-183-48/+69
|
* r11775: added support for creating files on SMB2 with initial EA lists and ↵Andrew Tridgell2005-11-188-43/+148
| | | | an ACL
* r11774: - move SMB specific initialisation of the smbsrv_connection out of ↵Stefan Metzmacher2005-11-184-27/+73
| | | | | | | | | smb_server.c - add a generic incoming packet handler, which handles the first incoming packet and passes to the protocol specifc packet handler metze