summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-24s3: Simplify (bool != True) to !boolVolker Lendecke1-1/+1
2010-04-24Implement oplocks within SMB2. Plumb into the existing SMB1 oplock system.Jeremy Allison5-17/+112
Seems to work but needs more tests (to be added). Jeremy.
2010-04-23When sending the initial async response, this is never part of a chain.Jeremy Allison1-1/+1
Get the reply flags correct. Jeremy.
2010-04-23Don't free the entire tevent_req on cancel, only the part we need (the ↵Jeremy Allison1-9/+12
immediate event). Jeremy.
2010-04-23libwbclient: Test WBC_CHANGE_PASSWORD_LEVEL_RESPONSEVolker Lendecke1-5/+75
2010-04-23s3: Allow pdb password change using WINBINDD_PAM_CHNG_PSWD_AUTH_CRAPVolker Lendecke1-0/+15
2010-04-23s3: init_dc_connection() can't init for internal domainsVolker Lendecke1-0/+4
This fixes a crash in winbindd_dual_pam_chng_pswd_auth_crap when given global_sam_name() in the domain field
2010-04-23libwbclient: Actually copy something in wbcChangeUserPasswordExVolker Lendecke1-8/+8
The length argument for memcpy was initialized to 0 and not initialized
2010-04-23s3: replace some data_blob_talloc by data_blob_constVolker Lendecke1-8/+4
2010-04-23libwbclient: Remove some pointless BAIL_ON_WBC_ERROR macro callsVolker Lendecke1-12/+12
2010-04-23s3: Convert WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP to the new async APIVolker Lendecke5-47/+133
2010-04-23s3-smbd: group print relate data in own structureSimo Sorce8-21/+52
2010-04-23Allow smb2 create requests to be cancelled.Jeremy Allison6-32/+98
Jeremy.
2010-04-23Fix bug #7384 - dptr_Close has a bitmap leak.Ira Cooper1-3/+1
s3: Fix to dptr_Close This fixes a bitmap "leak" in dptr_Close by making it use the same internal routines the rest of the code does.
2010-04-23At simo's request return struct tevent_req *treq -> treq. For consistency :-(.Jeremy Allison1-80/+80
2010-04-23Rename - no functional change. Stop all variables being called "req".Jeremy Allison1-130/+129
tevent_req -> treq struct smb_request -> smb1req struct smbd_smb2_request -> smb2req Jeremy.
2010-04-23s3-spoolss: Added a winreg_get_printer function.Andreas Schneider2-0/+279
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_create_printer function.Andreas Schneider2-0/+341
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_update_printer function.Andreas Schneider2-0/+385
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_get_driver_list function.Simo Sorce2-0/+94
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_del_driver function.Simo Sorce2-0/+105
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_get_driver function.Simo Sorce2-0/+281
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_add_driver function.Simo Sorce2-0/+246
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Move info_ctr conversion to a public helper.Simo Sorce2-6/+25
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Fixed winreg_delete_printer_key if key is NULL or emtpy.Andreas Schneider1-7/+11
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Add date and version winreg helpers.Simo Sorce1-0/+129
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added more winreg hepler functions.Andreas Schneider1-0/+20
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added winreg helper functionsSimo Sorce1-0/+125
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg function to query a dword.Andreas Schneider1-0/+75
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a function to get the ChangeID from a printer.Andreas Schneider2-0/+90
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a function to update the ChangeID of a printer.Andreas Schneider2-0/+120
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added winreg helper functions to write registry values.Andreas Schneider1-0/+104
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Fixed return values of winreg_printer_deleteform1.Andreas Schneider1-0/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added missing return value to winreg_printer_enumforms1 docs.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Use const values for notify functions.Andreas Schneider2-12/+12
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-time: Added a function to get the startup time of the server.Andreas Schneider2-0/+14
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-lanman: fix uninitialized variable in api_RDosPrintJobDel().Günther Deschner1-1/+1
Guenther
2010-04-23s3-selftest: enable RPC-SPOOLSS-DRIVER against s3.Günther Deschner1-0/+1
Guenther
2010-04-23s4-smbtorture: skip tests when no local driver directory is around.Günther Deschner1-0/+4
Guenther
2010-04-23s3-selftest: add print$ share with two arch dirs.Günther Deschner1-0/+8
(make test variant) Guenther
2010-04-23s3-selftest: add print$ share with two arch dirs.Günther Deschner1-0/+8
Guenther
2010-04-23s3-winbind: fix setup_domain_child() callers.Günther Deschner1-2/+2
Volker, please check. Guenther
2010-04-23s4-smbtorture: use server_name for all printerdriver delete and enum operations.Günther Deschner1-12/+16
With this s3 passes the RPC-PRINTER-DRIVER test. Guenther
2010-04-23s3-spoolss: make switch in _spoolss_AddPrinterDriver() a bit more clear.Günther Deschner1-4/+6
Guenther
2010-04-23s4-smbtorture: allow to upload or remove any file belonging to a driver.Günther Deschner1-0/+30
Guenther
2010-04-23s3: Fix a winbind crash when scanning trustsVolker Lendecke1-0/+6
add_trusted_domain() for a new domain always needs to be followed by a setup_domain_child(). This was not always done, in particular not when walking to the forest root for additional trusts. This is a minimal patch, we need to fix add_trusted_domain().
2010-04-22Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.Jeremy Allison8-85/+357
Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy.
2010-04-23s3: Fix a cut&paste error in a debug message in check_oem_password()Volker Lendecke1-1/+2
2010-04-23s3-spoolss: make sure AddPrinterDriver calls into AddPrinterDriverEx.Günther Deschner1-19/+27
Not vice versa. Also disable some info levels in AddPrinterDriver according to MS-RPRN 3.1.4.4.1. Found by torture test. Guenther
2010-04-23s4-smbtorture: fix test_EnumPrinterDrivers_findone().Günther Deschner1-8/+8
Guenther