Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-10 | samdb: Add flags argument to samdb_connect(). | Jelmer Vernooij | 1 | -1/+1 | |
2010-10-05 | dfs: Fix wrong size of referral, change order of dc referral | Matthieu Patou | 1 | -5/+12 | |
Order of referral is now like w2k8/w2k8r2 as it seems it has an influence on how clients manage to get it. | |||||
2010-09-15 | s4-smb: serialise session setup operations | Andrew Tridgell | 2 | -0/+16 | |
the mixture of async and sync code in gensec makes a EOF on a socket during a session setup cause a crash. The simplest solution is to stop processing events on the socket until the session setup is complete. | |||||
2010-09-15 | s4-smb: smbsrv_blob_push_string() can return -1 | Andrew Tridgell | 1 | -8/+11 | |
need to use ssize_t, not size_t for error handling | |||||
2010-08-14 | s4:auth Move struct auth_usersupplied_info to a common location | Andrew Bartlett | 1 | -2/+2 | |
This also changes the calling convention slightly - we should always allocate this with talloc_zero() to allow some elements to be optional. Some elements may only make sense in Samba3, which I hope will use this common structure. Andrew Bartlett | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 10 | -65/+65 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-29 | s4:smb_server/smb2/find.c - remove unused code | Matthias Dieter Wallnöfer | 1 | -3/+0 | |
Spotted by the Solaris 10 compiler | |||||
2010-06-29 | s4:smb_server/blob.c - remove unused code | Matthias Dieter Wallnöfer | 1 | -8/+0 | |
Spotted by the Solaris 10 compiler | |||||
2010-05-20 | s4:auth Change auth_generate_session_info to take flags | Andrew Bartlett | 1 | -1/+13 | |
This allows us to control what groups should be added in what use cases, and in particular to more carefully control the introduction of the 'authenticated' group. In particular, in the 'service_named_pipe' protocol, we do not have control over the addition of the authenticated users group, so we key of 'is this user the anonymous SID'. This also takes more care to allocate the right length ptoken->sids Andrew Bartlett | |||||
2010-05-18 | s4:smb_server/smb/trans2.c - remove unused define "DEFAULT_SITE_NAME" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
Obviously this isn't needed and in general site names shouldn't be hardcoded anymore (except there is a good reason). | |||||
2010-05-18 | s4:smb_server: Implement GET_DFS_REFERRAL for domain referral requests | Matthieu Patou | 1 | -1/+871 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-18 | s4:smb_server: fix trailling whitespace in trans2.c | Matthieu Patou | 1 | -25/+25 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 3 | -6/+6 | |
2010-04-28 | s4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW | Stefan Metzmacher | 1 | -1/+5 | |
metze | |||||
2010-04-27 | s4:smb_server: use tsocket_address_string() for debugging the client address | Stefan Metzmacher | 1 | -8/+8 | |
metze | |||||
2010-04-27 | s4:smb_server: use tsocket_address_string() for debugging the client address | Stefan Metzmacher | 1 | -8/+9 | |
metze | |||||
2010-04-27 | s4:smb_server: use tsocket_address_string() to display the client address | Stefan Metzmacher | 1 | -3/+5 | |
metze | |||||
2010-04-27 | s4:smb_server: remove unused socket_address functions | Stefan Metzmacher | 1 | -16/+0 | |
metze | |||||
2010-04-27 | s4:smb_server: pass tsocket_addresses to the ntvfs layer | Stefan Metzmacher | 2 | -4/+8 | |
metze | |||||
2010-04-14 | s4:auth Change auth_generate_session_info to take an auth context | Andrew Bartlett | 1 | -18/+61 | |
The auth context was in the past only for NTLM authentication, but we need a SAM, an event context and and loadparm context for calculating the local groups too, so re-use that infrustructure we already have in place. However, to avoid problems where we may not have an auth_context (in torture tests, for example), allow a simpler 'session_info' to be generated, by passing this via an indirection in gensec and an generate_session_info() function pointer in the struct auth_context. In the smb_server (for old-style session setups) we need to change the async context to a new 'struct sesssetup_context'. This allows us to use the auth_context in processing the authentication reply . Andrew Bartlett | |||||
2010-04-06 | s4-waf: move to a universal method of recursing into subdirs | Andrew Tridgell | 1 | -2/+2 | |
This works with both standalone lib builds and bundled builds | |||||
2010-04-06 | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 3 | -12/+0 | |
we won't be using the mk -> wscript generator again | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 3 | -0/+6 | |
them | |||||
2010-04-06 | build: waf quicktest nearly works | Andrew Tridgell | 1 | -1/+1 | |
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code | |||||
2010-04-06 | build: commit all the waf build files in the tree | Andrew Tridgell | 3 | -0/+49 | |
2010-03-05 | s4-pvfs: move the private ntcreatex flags to private_flags | Andrew Tridgell | 2 | -6/+2 | |
Re-using two of the create_options bits was bound to eventually cause problems, and indeed, Windows7 now uses one of those bits when opening text files. Fixes bug 7189 | |||||
2010-02-02 | Change uint_t to unsigned int in source4 | Matt Kraai | 6 | -24/+24 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-12-24 | s4:auth: change auth_check_password_send/recv to tevent_req | Stefan Metzmacher | 1 | -13/+26 | |
metze | |||||
2009-12-24 | s4:gensec: change gensec_update_send/recv to tevent_req | Stefan Metzmacher | 2 | -10/+27 | |
metze | |||||
2009-12-24 | s4:smb_server: fix mixing socket_address and tsocket_address | Stefan Metzmacher | 1 | -6/+9 | |
metze | |||||
2009-12-22 | s4:auth Change 'get_challenge' API to be more like Samba3 | Andrew Bartlett | 1 | -4/+1 | |
It is just easier to fill in the known to be 8 byte challenge than stuff about with allocated pointers. Andrew Bartlett | |||||
2009-12-10 | s4-server: use GUID_to_ndr_blob() in cldap and smb servers | Andrew Tridgell | 2 | -9/+6 | |
2009-12-10 | s4-smb2: use new GUID function in smb2 negprot | Andrew Tridgell | 1 | -3/+2 | |
2009-11-27 | s4:smb_server/smb2: don't reset highest_smb2_seqnum on SMB2 Cancel | Stefan Metzmacher | 1 | -2/+4 | |
metze | |||||
2009-11-27 | s4-smb2: sequence numbers are not checked in SMB2_OP_CANCEL | Andrew Tridgell | 1 | -1/+2 | |
2009-11-25 | s4/libcli: rename previously reserved field in SMB2 LOCK struct | Steven Danneman | 1 | -1/+1 | |
The lock.in.reserved field has been renamed lock_sequence in the SMB 2.1 dialect. See MS-SMB 2.2.26. | |||||
2009-10-25 | s4-samdb: reduce the number of samdb opens at startup | Andrew Tridgell | 1 | -14/+0 | |
Using common parameters means that the ldb_wrap code can return a reference rather than a new database | |||||
2009-10-17 | s4-smbserver: removed bogus initialisation of two union arms | Andrew Tridgell | 2 | -2/+0 | |
Thanks to Metze for spotting this. | |||||
2009-10-15 | s4-smb: fill in fnum as well for root_fid | Andrew Tridgell | 2 | -1/+3 | |
This helps with the CIFS NTVFS backend, but doesn't solve all problems | |||||
2009-10-15 | s4-smbserver: fixed root_fid in nttrans create | Andrew Tridgell | 1 | -1/+1 | |
2009-10-15 | s4-smb: declare root_fid as a file handle | Andrew Tridgell | 2 | -2/+2 | |
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code. | |||||
2009-09-19 | s4-smbd: minimise includes in smbd/ and smb_server | Andrew Tridgell | 19 | -37/+0 | |
2009-09-18 | s4-server: kill main daemon if a task fails to initialise | Andrew Tridgell | 2 | -2/+2 | |
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state. | |||||
2009-08-05 | changed BCC handling for SMBwriteX to handle broken MacOSX client | Andrew Tridgell | 1 | -13/+8 | |
see bug #6610 The MacOSX SMB client sets the BCC value in SMBwriteX calls to zero instead of the correct size. Checking against WindowsXP, I've found that Windows uses the maximum of the computed buffer size and the given BCC value. I've changed Samba4 to do the same to allow MacOSX to work. I've limited this change to non-chained packets to ensure we don't get the possibility of exploits based on overlapping chained requests | |||||
2009-08-05 | on buffer overflow windows gives SMBSRV:ERRerror here | Andrew Tridgell | 1 | -1/+1 | |
2009-08-04 | fixed support for readx greater than 64k | Andrew Tridgell | 1 | -1/+2 | |
This fixes bug 6547, where smbclient in S3 reads more than 64k at a time with readx. | |||||
2009-07-01 | use the new talloc_reparent in two places | Andrew Tridgell | 1 | -1/+1 | |
2009-06-09 | s4:smb2srv: don't allow the related flag on the first request in a ↵ | Stefan Metzmacher | 1 | -0/+7 | |
compounded chain metze | |||||
2009-06-09 | s4:smb2srv: correctly fail remaining compounded requests after a failure | Stefan Metzmacher | 2 | -5/+18 | |
metze | |||||
2009-06-09 | s4:smb2srv: remove old TODO comment, we already check the seqnum | Stefan Metzmacher | 1 | -2/+0 | |
metze |