summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Make aio_ex owned by a talloc context, not neccessarily on the null context.Jeremy Allison2010-06-071-8/+12
|
* Move "write_though" into aio_ex struct.Jeremy Allison2010-06-071-5/+5
|
* s3:smbd add utility function to check if there are open pipesSimo Sorce2010-06-073-8/+16
|
* s3:rpc make num_pipe_handles get an actual pipe as argumentSimo Sorce2010-06-073-6/+6
| | | | Let the function abstract out how handles are counted
* s3:rpc handles are used by all pipes, use better nameSimo Sorce2010-06-072-1/+1
|
* s3:rpc fix potential out of bound memory accessSimo Sorce2010-06-071-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.
* s3: fix build on platforms without st_blocks and st_blksize stat struct membersBjörn Jacke2010-06-071-0/+9
| | | | This fixes bug 7474.
* s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSPAndrew Bartlett2010-06-073-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
* s3:auth Change auth_ntlmssp_server_info API to return NTSTATUSAndrew Bartlett2010-06-075-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
* s3:named pipe proxy Improve error messages when named pipes fail to forwardAndrew Bartlett2010-06-071-3/+6
| | | | | | I hope this helps the next person who needs to debug this. Andrew Bartlett
* s3:smbd Give the kerberos session key a parentAndrew Bartlett2010-06-071-0/+2
| | | | | | I can't see what would free this, so this should prevent a memory leak. Andrew Bartlett
* s3:smbd Fix segfault if register_existing_vuid() failsAndrew Bartlett2010-06-071-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
* s3:auth Rename user_info->domain -> user_info->mapped.domain_nameAndrew Bartlett2010-06-0710-38/+37
| | | | | | | This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett
* s3:auth Rename user_info->client_domain -> user_info->client.domain_nameAndrew Bartlett2010-06-076-9/+9
| | | | | | | This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett
* s3:auth fix header comment for internal_username -> mapped.account_nameAndrew Bartlett2010-06-071-1/+1
|
* s3:auth Rename user_info->internal_username -> user_info->mapped.account_nameAndrew Bartlett2010-06-0712-31/+31
| | | | | | | This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett
* s3:auth Rename user_info->smb_name -> user_info->client.account_nameAndrew Bartlett2010-06-0711-30/+32
| | | | | | | This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett
* s3:auth make sure the primary group sid is usableSimo Sorce2010-06-071-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>
* s3:auth return the full passwd struct from check_accountSimo Sorce2010-06-071-12/+6
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:passdb Export function to calculate the proper primary group sidSimo Sorce2010-06-073-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>
* s3:auth remove unused structure memberSimo Sorce2010-06-073-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>
* s3:auth create nt token from info3 directlySimo Sorce2010-06-073-38/+167
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:auth handle unix domain sids in samuSimo Sorce2010-06-075-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>
* 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