summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:auth set the resolved user sid in the fake sam accountSimo Sorce2010-06-071-0/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:auth check the user is valid firstSimo Sorce2010-06-071-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>
* s3:auth make sure we set the right usernameSimo Sorce2010-06-071-0/+5
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-waf: Build rpc_server/srv_spoolss_util.c too.Andreas Schneider2010-06-071-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-lsa: Fix static list of luids in our privileges implementation.Günther Deschner2010-06-071-9/+9
| | | | | | The high/low order changed while moving to LSA defines. Found by torture test. Guenther
* s3-privileges: use LUID defines from lsa IDL.Günther Deschner2010-06-075-36/+26
| | | | Guenther
* Fix bug with incorrect flag values for inherited ace in some cases.Matthew McGillis2010-06-071-0/+5
|
* Fix a long-standing bug with async io that would only be triggered by SMB2.Jeremy Allison2010-06-042-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.
* s3:build: add shared lib flag for HP-UX compilerBjörn Jacke2010-06-051-1/+3
|
* s3: fix build on Heimdal based systems like NetBSD5Björn Jacke2010-06-051-3/+3
|
* s3-rpcclient: allow to add access_mask in cmd_spoolss_open_printer_ex().Günther Deschner2010-06-051-5/+7
| | | | Guenther
* Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr.Jeremy Allison2010-06-041-0/+1
|
* wait_for_aio_completion() should return 0 on non-aio compiled case.Jeremy Allison2010-06-041-1/+1
|
* Rename req -> smbreq.Jeremy Allison2010-06-041-26/+26
|
* Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). SimplifiesJeremy Allison2010-06-044-40/+10
| | | | | | the code and eliminates find_aio_ex(). Jeremy.
* s3-rpc: Create a file with all functions for a internal named pipe.Andreas Schneider2010-06-045-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>
* s3-rpc: Seperate rpc_srv_register for plain connection.Andreas Schneider2010-06-045-129/+276
| | | | | | This will make it possible to create plain rpc named pipe connnections. Reviewed-by: Simo Sorce <idra@samba.org>
* s3-auth: Moved smbd user functions to a generic place.Andreas Schneider2010-06-044-139/+140
| | | | Reviewed-by: Simo Sorce <idra@samba.org>
* s3-smbd: Remove unneeded dependency of map_username to globals.c.Andreas Schneider2010-06-043-7/+3
| | | | Reviewed-by: Simo Sorce <idra@samba.org>
* s3-selftest: do not call main RPC-SPOOLSS testsuite.Günther Deschner2010-06-041-1/+1
| | | | | | | The tests formerly available in there can now be accessed via RPC-SPOOLSS-PRINTSERVER. Guenther
* ѕ3:Makefile: use PIC instead of PIE flags for shared libsBjörn Jacke2010-06-041-4/+4
| | | | otherwise shared lib builds are broken on some platforms
* Allow us to cope correctly with NT_STATUS_MORE_PROCESSING_REQUIRED when ↵Jeremy Allison2010-06-031-1/+7
| | | | | | downgrading from krb5 to NTLMSSP over SMB2. Jeremy.
* Found by Guenther - fix up our fallback paths from krb5 to NTLMSSP when ↵Jeremy Allison2010-06-031-8/+29
| | | | | | using SMB2. Jeremy.
* s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().Günther Deschner2010-06-034-67/+45
| | | | | | This fixes some invalid typecasts. Guenther
* s3: Fix the build of the nfsv4 acl codeVolker Lendecke2010-06-031-1/+2
|
* s3: remove authdata.hGünther Deschner2010-06-033-38/+8
| | | | Guenther
* s3-build: pure cosmetics, use better names for gen_ndr code pieces.Günther Deschner2010-06-032-15/+11
| | | | Guenther
* s3-build: only include generated spoolss headers (not ndr headers).Günther Deschner2010-06-035-2/+4
| | | | Guenther
* s3: remove rpc_secdes.h completely.Günther Deschner2010-06-033-28/+3
| | | | Guenther
* s3-security: use shared "Standard access rights.".Günther Deschner2010-06-0310-31/+21
| | | | Guenther
* security: move generic_mapping and standard_mapping to security.idl.Günther Deschner2010-06-031-17/+0
| | | | Guenther
* s3-security: use shared "File Object specific access rights".Günther Deschner2010-06-033-56/+3
| | | | Guenther
* s3-security: use shared "Generic access rights".Günther Deschner2010-06-032-9/+2
| | | | Guenther
* s3-security: use shared Security Access Masks Rights.Günther Deschner2010-06-032-9/+2
| | | | Guenther
* s3-security: move ALL_SECURITY_INFORMATION to the only user.Günther Deschner2010-06-032-7/+7
| | | | Guenther
* s3-security: remove duplicate Extra W2K flags.Günther Deschner2010-06-032-11/+5
| | | | Guenther
* s3-security: use shared SECINFO_DACL define.Günther Deschner2010-06-0316-41/+39
| | | | Guenther
* s3-security: use shared SECINFO_SACL define.Günther Deschner2010-06-038-14/+13
| | | | Guenther
* s3-security: use shared SECINFO_GROUP define.Günther Deschner2010-06-0313-29/+28
| | | | Guenther
* s3-security: use shared SECINFO_OWNER define.Günther Deschner2010-06-0313-29/+28
| | | | Guenther
* s3-security: remove some more shared secdesc defines.Günther Deschner2010-06-032-13/+3
| | | | Guenther
* Ensure we remove SMB2 cancel requests from the active queueJeremy Allison2010-06-021-0/+1
| | | | | | now we don't remove them in the talloc destructor. Jeremy.
* Fix a crash bug found by Ira Cooper <samba@ira.wakeful.net>.Jeremy Allison2010-06-021-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.
* s3: remove unused librpc/ndr/sid.c.Günther Deschner2010-06-036-63/+4
| | | | Guenther
* Move to using a DATA_BLOB inside of struct aio_extra, not a char *.Jeremy Allison2010-06-021-16/+16
| | | | | | Will make using AIO in SMB2 easier. Jeremy.
* s3-selftest: Fix blackbox smbclient s3 tests during make selftest.Günther Deschner2010-06-022-7/+7
| | | | Guenther
* s3: Allow previous password to be stored and use it to check ticketsMatthieu Patou2010-06-024-41/+137
| | | | | | | | This patch is to fix bug 7099. It stores the current password in the previous password key when the password is changed. It also check the user ticket against previous password. Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Add vfs_linux_xfs_sgidVolker Lendecke2010-06-023-0/+112
| | | | | http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 shows an old Linux XFS bug that still exists: Under certain circumstances the SGID bit is not inherited.
* s3-waf: Fix up smbclient dependenciesKai Blin2010-06-021-3/+2
|
* s3-waf: Fixed dependencies of the the krbclient subsystem.Kai Blin2010-06-021-0/+1
|