Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2010-06-04 | Fix a long-standing bug with async io that would only be triggered by SMB2. | Jeremy Allison | 2 | -5/+129 | |
On normal or shutdown close, ensure we wait for any pending IO to complete before returning. Implement a blocking aio_suspend inside vfs_aio_fork.c. These changes pass make test when the aio_fork module is used by default on the test shares. Jeremy. | |||||
2010-06-05 | s3:build: add shared lib flag for HP-UX compiler | Björn Jacke | 1 | -1/+3 | |
2010-06-05 | s3: fix build on Heimdal based systems like NetBSD5 | Björn Jacke | 1 | -3/+3 | |
2010-06-05 | s3-rpcclient: allow to add access_mask in cmd_spoolss_open_printer_ex(). | Günther Deschner | 1 | -5/+7 | |
Guenther | |||||
2010-06-04 | Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr. | Jeremy Allison | 1 | -0/+1 | |
2010-06-04 | wait_for_aio_completion() should return 0 on non-aio compiled case. | Jeremy Allison | 1 | -1/+1 | |
2010-06-04 | Rename req -> smbreq. | Jeremy Allison | 1 | -26/+26 | |
2010-06-04 | Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). Simplifies | Jeremy Allison | 4 | -40/+10 | |
the code and eliminates find_aio_ex(). Jeremy. | |||||
2010-06-04 | s3-rpc: Create a file with all functions for a internal named pipe. | Andreas Schneider | 5 | -205/+256 | |
This makes it possible to use the samr rpc server in winbind without linking in smbd. Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-06-04 | s3-rpc: Seperate rpc_srv_register for plain connection. | Andreas Schneider | 5 | -129/+276 | |
This will make it possible to create plain rpc named pipe connnections. Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-06-04 | s3-auth: Moved smbd user functions to a generic place. | Andreas Schneider | 4 | -139/+140 | |
Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-06-04 | s3-smbd: Remove unneeded dependency of map_username to globals.c. | Andreas Schneider | 3 | -7/+3 | |
Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-06-04 | s3-selftest: do not call main RPC-SPOOLSS testsuite. | Günther Deschner | 1 | -1/+1 | |
The tests formerly available in there can now be accessed via RPC-SPOOLSS-PRINTSERVER. Guenther | |||||
2010-06-04 | ѕ3:Makefile: use PIC instead of PIE flags for shared libs | Björn Jacke | 1 | -4/+4 | |
otherwise shared lib builds are broken on some platforms | |||||
2010-06-03 | Allow us to cope correctly with NT_STATUS_MORE_PROCESSING_REQUIRED when ↵ | Jeremy Allison | 1 | -1/+7 | |
downgrading from krb5 to NTLMSSP over SMB2. Jeremy. | |||||
2010-06-03 | Found by Guenther - fix up our fallback paths from krb5 to NTLMSSP when ↵ | Jeremy Allison | 1 | -8/+29 | |
using SMB2. Jeremy. | |||||
2010-06-03 | s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2(). | Günther Deschner | 4 | -67/+45 | |
This fixes some invalid typecasts. Guenther | |||||
2010-06-03 | s3: Fix the build of the nfsv4 acl code | Volker Lendecke | 1 | -1/+2 | |
2010-06-03 | s3: remove authdata.h | Günther Deschner | 3 | -38/+8 | |
Guenther | |||||
2010-06-03 | s3-build: pure cosmetics, use better names for gen_ndr code pieces. | Günther Deschner | 2 | -15/+11 | |
Guenther | |||||
2010-06-03 | s3-build: only include generated spoolss headers (not ndr headers). | Günther Deschner | 5 | -2/+4 | |
Guenther | |||||
2010-06-03 | s3: remove rpc_secdes.h completely. | Günther Deschner | 3 | -28/+3 | |
Guenther | |||||
2010-06-03 | s3-security: use shared "Standard access rights.". | Günther Deschner | 10 | -31/+21 | |
Guenther | |||||
2010-06-03 | security: move generic_mapping and standard_mapping to security.idl. | Günther Deschner | 1 | -17/+0 | |
Guenther | |||||
2010-06-03 | s3-security: use shared "File Object specific access rights". | Günther Deschner | 3 | -56/+3 | |
Guenther | |||||
2010-06-03 | s3-security: use shared "Generic access rights". | Günther Deschner | 2 | -9/+2 | |
Guenther | |||||
2010-06-03 | s3-security: use shared Security Access Masks Rights. | Günther Deschner | 2 | -9/+2 | |
Guenther | |||||
2010-06-03 | s3-security: move ALL_SECURITY_INFORMATION to the only user. | Günther Deschner | 2 | -7/+7 | |
Guenther | |||||
2010-06-03 | s3-security: remove duplicate Extra W2K flags. | Günther Deschner | 2 | -11/+5 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_DACL define. | Günther Deschner | 16 | -41/+39 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_SACL define. | Günther Deschner | 8 | -14/+13 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_GROUP define. | Günther Deschner | 13 | -29/+28 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_OWNER define. | Günther Deschner | 13 | -29/+28 | |
Guenther | |||||
2010-06-03 | s3-security: remove some more shared secdesc defines. | Günther Deschner | 2 | -13/+3 | |
Guenther | |||||
2010-06-02 | Ensure we remove SMB2 cancel requests from the active queue | Jeremy Allison | 1 | -0/+1 | |
now we don't remove them in the talloc destructor. Jeremy. | |||||
2010-06-02 | Fix a crash bug found by Ira Cooper <samba@ira.wakeful.net>. | Jeremy Allison | 1 | -4/+5 | |
A create call comes in, goes async (on the oplock request). At a later time (just before a cancel request is received) it completes, and goes through smbd_smb2_request_reply() to send the reply to the create call. However, the output socket queue is full, so when tstream_writev_queue_send() is called from smbd_smb2_request_reply(), the smb2req stays on the "being processed" queue on sconn->smb2.requests, as only when tstream_writev_queue_send() completes is smbd_smb2_request_writev_done() get called, which will TALLOC_FREE the smb2req (and thus take if off the queue). The cancel comes in, gets processed and looks through the requests on the queue, and BANG - hits the smb2req that has already been processed and is outgoing.... Remove the request from the queue once tstream_writev_queue_send() is called and not in the talloc destructor function. Jeremy. |