Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-10 | s3: Add a dummy test to prove the maxfd calculation | Volker Lendecke | 1 | -0/+43 | |
To be run in a debugger, there's no way to inspect the internal tevent_select.c maxfd calculation | |||||
2010-06-10 | s3-smbd: Fix typo in comment. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2010-06-10 | s3-passdb: Fix typo in comment. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2010-06-09 | Rename "allow_smb2" -> "using_smb2" and make the usage clearer. | Jeremy Allison | 9 | -24/+33 | |
2010-06-09 | Split out the "finished write processing" code into a function so it can be ↵ | Jeremy Allison | 1 | -40/+62 | |
called by both sync and async code. Jeremy. | |||||
2010-06-09 | Ensure we don't send SMB1 keepalives on an SMB2 connection. | Jeremy Allison | 1 | -0/+6 | |
Jeremy. | |||||
2010-06-09 | Split out the "finished read processing" code into a function so it can be ↵ | Jeremy Allison | 1 | -36/+75 | |
called by both sync and async code. Jeremy. | |||||
2010-06-09 | s3-winbind: Fixed setting default sequence number. | Andreas Schneider | 1 | -1/+1 | |
2010-06-09 | s3: fix calculation of st_blocks in streams_xattr | Björn Jacke | 1 | -3/+3 | |
Thanks to Joachim Schmitz for finding that miscalculation. | |||||
2010-06-09 | s3: fix calculation of st_blocks in init_stat_ex_from_stat | Björn Jacke | 1 | -1/+1 | |
this is just relevant for the very rare systems that don't have the st_blocks struct member. This is a fixup of the fix for bug 7474. Thanks to Joachim Schmitz for spotting this! | |||||
2010-06-09 | s3: Fix bug 7253 | Volker Lendecke | 1 | -1/+8 | |
acct_ctrl is 32 bit in LOGIN_CACHE, but "w" as a format specifier for tdb_unpack only writes 16 bits. Okay on x86, not okay on Solaris. Thanks to Vladimir.Marek@Sun.COM! Volker | |||||
2010-06-08 | Fix a valgrind error found by SMB2-COMPOUND test. | Jeremy Allison | 3 | -0/+31 | |
If a file is closed we must also NULL out all chained_fsp pointers when the fsp is freed to prevent invalid pointer access. Jeremy. | |||||
2010-06-08 | Second part of fix for 7501 - SMB2: CREATE request replies getting mangled. | Jeremy Allison | 1 | -67/+67 | |
Based on code from Ira Cooper <samba@ira.wakeful.net>, and also advice on refactoring the patch into a function call. outbuf vectors can be reallocated by smb2 processing code, so when returning interim responses we must not make assumptions about vector size. Jeremy | |||||
2010-06-08 | Fix for bug 7501 - SMB2: CREATE request replies getting mangled. | Ira Cooper | 1 | -3/+1 | |
Code for dup_smb2_req() was duplicating the wrong vector (i, instead of i+2) when returning a non-minimal SMB2 response. | |||||
2010-06-08 | s3-selftest: disable domain creds smbclient_s3 tests for now. | Günther Deschner | 1 | -2/+2 | |
Not sure they were ever working before. With this patch, make selftest is down to 4 failures from 259 tests. (two times LOCK9 from s3 smbtorture, one spoolss notify test and samba3.posix_s3.unix.info2). Guenther | |||||
2010-06-08 | s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string literal' warning in ↵ | Günther Deschner | 1 | -1/+1 | |
netdomjoin-gui. Patch from Buchan Milne <bgmilne@mandriva.org>. Thanks! Guenther | |||||
2010-06-08 | Revert "s3:smbd Fix segfault if register_existing_vuid() fails" | Volker Lendecke | 1 | -12/+4 | |
This reverts commit 8f1cec5faf4e26de8b9797777059e99f2a66558b. | |||||
2010-06-08 | Revert "s3:smbd Give the kerberos session key a parent" | Volker Lendecke | 1 | -2/+0 | |
This reverts commit 4a7f45b7e1cef13bc28d7ee50dd4b5519bdec397. | |||||
2010-06-08 | Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS" | Volker Lendecke | 5 | -18/+13 | |
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80. Conflicts: source3/auth/auth_ntlmssp.c | |||||
2010-06-08 | s3-waf: fix the the waf build. | Günther Deschner | 1 | -2/+3 | |
Guenther | |||||
2010-06-07 | Make aio_ex owned by a talloc context, not neccessarily on the null context. | Jeremy Allison | 1 | -8/+12 | |
2010-06-07 | Move "write_though" into aio_ex struct. | Jeremy Allison | 1 | -5/+5 | |
2010-06-07 | s3:smbd add utility function to check if there are open pipes | Simo Sorce | 3 | -8/+16 | |
2010-06-07 | s3:rpc make num_pipe_handles get an actual pipe as argument | Simo Sorce | 3 | -6/+6 | |
Let the function abstract out how handles are counted | |||||
2010-06-07 | s3:rpc handles are used by all pipes, use better name | Simo Sorce | 2 | -1/+1 | |
2010-06-07 | s3:rpc fix potential out of bound memory access | Simo Sorce | 1 | -1/+1 | |
memcpy copies memory unconditionally, we are passing "" in some cases here. Use strncpy which will stop reading from src if the null byte is found and will fill with nulls the destination. | |||||
2010-06-07 | s3: fix build on platforms without st_blocks and st_blksize stat struct members | Björn Jacke | 1 | -0/+9 | |
This fixes bug 7474. | |||||
2010-06-07 | s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSP | Andrew Bartlett | 3 | -0/+33 | |
This allows the right hooks to be called in GENSEC when s3compat implements the auth_ntlmssp interface. Otherwise, we can't do the signing or sealing as we have not negoitated it's use. Andrew Bartlett | |||||
2010-06-07 | s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS | Andrew Bartlett | 5 | -13/+18 | |
It's nicer to have an NTSTATUS return, and in s3compat there may be a reason other than 'no memory' why this can fail. Andrew Bartlett | |||||
2010-06-07 | s3:named pipe proxy Improve error messages when named pipes fail to forward | Andrew Bartlett | 1 | -3/+6 | |
I hope this helps the next person who needs to debug this. Andrew Bartlett | |||||
2010-06-07 | s3:smbd Give the kerberos session key a parent | Andrew Bartlett | 1 | -0/+2 | |
I can't see what would free this, so this should prevent a memory leak. Andrew Bartlett | |||||
2010-06-07 | s3:smbd Fix segfault if register_existing_vuid() fails | Andrew Bartlett | 1 | -4/+12 | |
The register_existing_vuid() call will handle both the ntlmssp_end and vuid invalidation internally, so we don't want to do it again. Andrew Bartlett | |||||
2010-06-07 | s3:auth Rename user_info->domain -> user_info->mapped.domain_name | Andrew Bartlett | 10 | -38/+37 | |
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett | |||||
2010-06-07 | s3:auth Rename user_info->client_domain -> user_info->client.domain_name | Andrew Bartlett | 6 | -9/+9 | |
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett | |||||
2010-06-07 | s3:auth fix header comment for internal_username -> mapped.account_name | Andrew Bartlett | 1 | -1/+1 | |
2010-06-07 | s3:auth Rename user_info->internal_username -> user_info->mapped.account_name | Andrew Bartlett | 12 | -31/+31 | |
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett | |||||
2010-06-07 | s3:auth Rename user_info->smb_name -> user_info->client.account_name | Andrew Bartlett | 11 | -30/+32 | |
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett | |||||
2010-06-07 | s3:auth make sure the primary group sid is usable | Simo Sorce | 1 | -13/+30 | |
This function was previously performed under the cover by converting back and forth from info3 to samu and then later from samu to info3. Since we now shortcircuit that in some cases, check explicitly using get_primary_group_sid() Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3:auth return the full passwd struct from check_account | Simo Sorce | 1 | -12/+6 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3:passdb Export function to calculate the proper primary group sid | Simo Sorce | 3 | -86/+136 | |
Don't keep it buried in passdb, this function need to be available for use in places where we do not want to construct an artificial samu struct just to play tricks. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3:auth remove unused structure member | Simo Sorce | 3 | -110/+2 | |
sids are now completely handled using info3, remove dead code that fills server info sids and the structure members themselves Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3:auth create nt token from info3 directly | Simo Sorce | 3 | -38/+167 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3:auth handle unix domain sids in samu | Simo Sorce | 5 | -39/+143 | |
When we generate a user out of thin air we may end up adding sids that are not part of the sam domain (unix domain sids). Handle the case and preserve these sids as extra sids. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3:auth set the resolved user sid in the fake sam account | Simo Sorce | 1 | -0/+3 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3:auth check the user is valid first | Simo Sorce | 1 | -43/+39 | |
It makes no sense to go through all the hoops to build samu and convert it to info3, just to discard them later if the user was not valid. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3:auth make sure we set the right username | Simo Sorce | 1 | -0/+5 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3-waf: Build rpc_server/srv_spoolss_util.c too. | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-06-07 | s3-lsa: Fix static list of luids in our privileges implementation. | Günther Deschner | 1 | -9/+9 | |
The high/low order changed while moving to LSA defines. Found by torture test. Guenther | |||||
2010-06-07 | s3-privileges: use LUID defines from lsa IDL. | Günther Deschner | 5 | -36/+26 | |
Guenther | |||||
2010-06-07 | Fix bug with incorrect flag values for inherited ace in some cases. | Matthew McGillis | 1 | -0/+5 | |