Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | s3-spoolss: Fixed the DeviceMode handling in winreg. | Andreas Schneider | 2010-05-05 | 1 | -115/+97 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-spoolss: Added winreg security descriptor functions. | Andreas Schneider | 2010-05-05 | 2 | -36/+329 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-spoolss: Migrated winreg to spoolss_create_default_secdesc. | Andreas Schneider | 2010-05-05 | 1 | -81/+6 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-spoolss: make sure to return success in winreg_get_driver_list() for a | Günther Deschner | 2010-05-05 | 1 | -0/+4 | |
| | | | | | | non-existing architecture / version combination. Guenther | |||||
* | s3-spoolss: talloc_steal the returned driver_list in winreg_get_driver_list(). | Günther Deschner | 2010-05-05 | 1 | -2/+5 | |
| | | | | | | Otherwise the function would return a pointer to a freed list. Guenther | |||||
* | s3-spoolss: Fixed winreg_printer_query_XXX. | Simo Sorce | 2010-05-05 | 1 | -8/+9 | |
| | | | | | | | A cast to an incorrectly sized pointer was breaking on 64bit architectures where size_t is 64bit. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-spoolss: Added a winreg_printer_query_binary function. | Andreas Schneider | 2010-05-05 | 1 | -0/+71 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-spoolss: Added a generic spoolss_create_default_secdesc function. | Andreas Schneider | 2010-05-05 | 2 | -0/+86 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-spoolss: Added a function to create a default spoolss_DeviceMode. | Andreas Schneider | 2010-05-05 | 2 | -0/+80 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3: Fix bug 5972 -- remove -L testparm parameter | Volker Lendecke | 2010-05-05 | 1 | -6/+0 | |
| | | | | | Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> to point out that this does not work and to agree it's not worth fixing :-) | |||||
* | s3-spoolss: Fixed memory error in winreg_get_driver. | Andreas Schneider | 2010-05-05 | 1 | -1/+34 | |
| | | | | | | | The strings in the structure need to be initialized with an empty string. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-spoolss: Added a sharename arg to winreg_update_printer. | Andreas Schneider | 2010-05-05 | 2 | -1/+6 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-spoolss: Added missing servername option to winreg_{create,get}_printer. | Andreas Schneider | 2010-05-05 | 2 | -6/+24 | |
| | | | | | | | This is needed to be able to pass the correct servername from Printer_entry. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-spoolss: Added missing Printer Driver in winreg_{update,get}_printer. | Andreas Schneider | 2010-05-05 | 1 | -0/+17 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-net: fix crash in rap_share_add(). | Günther Deschner | 2010-05-05 | 1 | -1/+1 | |
| | | | | Guenther | |||||
* | s3-build: don't rebuild/link on every make run | Andrew Tridgell | 2010-05-05 | 1 | -2/+2 | |
| | ||||||
* | Fixed issue with return in a void function found by Björn JACKE <bj@SerNet.DE> | Jeremy Allison | 2010-05-05 | 1 | -1/+2 | |
| | | | | Jeremy. | |||||
* | s3-libsmb: Fixed a recursion in cli_pull_print. | Andreas Schneider | 2010-05-05 | 1 | -1/+1 | |
| | ||||||
* | Fix bug #7263 - Unable to print using Samba 3.5.1 and cups-1.1.23-40.46 on ↵ | Luca Olivetti | 2010-05-04 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | SLES10. Fix cups encryption setting I had the same problem and it's due to the fact that samba doesn't respect the "cups encryption" setting since lp_cups_encrypt changes the value: if you set "cups encryption=no", the first call will change it to HTTP_ENCRYPT_NEVER, since that is 1 (i.e. true), the next call will change it to HTTP_ENCRYPT_ALWAYS and after that it'll remain set as HTTP_ENCRYPT_ALWAYS. This patch fixes this problem. Don't mix up the HTTP_ENCRYPT_XXX constants up with the enumeration constants (True, False, Auto) used in the loadparm code. | |||||
* | s3-spoolss: Remove duplicate macro. | Simo Sorce | 2010-05-04 | 1 | -5/+0 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function. | Andreas Schneider | 2010-05-04 | 4 | -4/+46 | |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | |||||
* | s3-libnetjoin: omit admin password in generated ndr_print function. | Günther Deschner | 2010-05-04 | 1 | -2/+2 | |
| | | | | Guenther | |||||
* | s3-idl: update the 2nd build_idl.sh script | Andrew Tridgell | 2010-05-04 | 1 | -9/+13 | |
| | ||||||
* | s3-idl: auto-build IDL files in Samba3 | Andrew Tridgell | 2010-05-04 | 1 | -2/+2 | |
| | ||||||
* | s3-idl: removed gen_ndr files from source3/ as well | Andrew Tridgell | 2010-05-04 | 26 | -21879/+1 | |
| | ||||||
* | s3: Fix a memleak in check_pac_checksum | Volker Lendecke | 2010-05-04 | 1 | -2/+8 | |
| | ||||||
* | s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a ↵ | Günther Deschner | 2010-05-03 | 1 | -8/+8 | |
| | | | | | | connection. Guenther | |||||
* | s3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing ↵ | Günther Deschner | 2010-05-03 | 1 | -4/+23 | |
| | | | | | | cupsaddsmb to fail. Guenther | |||||
* | s3-lanman: fix api_DosPrintQEnum(). | Günther Deschner | 2010-05-03 | 1 | -1/+7 | |
| | | | | | | | | | | This was a subtile bug where the OpenPrinter call (called directly via dispatcher table) was modifiying r->in.printername in a way that all printers on a server had the printername stripped off the server unc. Once we switch to full NDR marshalling in inter RAP<->RPC server communication there is no danger anymore to have these kind of nasty effects. Guenther | |||||
* | s3-lanman: exit early for unsupported levels in api_PrintJobInfo(). | Günther Deschner | 2010-05-03 | 1 | -17/+17 | |
| | | | | Guenther | |||||
* | Consolidate all get SEC_DESC into single procedure get_secdesc | Matthew McGillis | 2010-05-03 | 1 | -44/+37 | |
| | ||||||
* | always pass filename as const char | Matthew McGillis | 2010-05-03 | 1 | -2/+2 | |
| | ||||||
* | s3: Unify DEBUG_KRB5_TKT_REGAIN and DEBUG_KRB5_TKT_RENEWAL | Volker Lendecke | 2010-05-02 | 1 | -1/+1 | |
| | | | | | | I don't think it makes sense to #ifdef this one case separately. Metze, Bo Yang, please check! | |||||
* | s3: Fix a typo | Volker Lendecke | 2010-05-02 | 1 | -1/+1 | |
| | ||||||
* | s3: Fix the code order in append_auth_data | Volker Lendecke | 2010-05-02 | 1 | -7/+7 | |
| | | | | | | | | This is to comply with the comment "currently, anything from here on potentially overwrites extra_data." Günther, please check! | |||||
* | Plumb the SMB2 front end into the blocking lock backend. | Jeremy Allison | 2010-04-30 | 6 | -43/+531 | |
| | | | | | | | | | | Metze, you'll probably be happier with this work as it doesn't abuse tevent in the way you dislike. This is a first cut at the code, which will need lots of testing but I'm hoping this will give people an idea of where I'm going with this. Jeremy. | |||||
* | smbd: move printfile_offset() within write_file() | Simo Sorce | 2010-04-30 | 4 | -13/+19 | |
| | ||||||
* | Carefully label SMB1-specific locking calls. | Jeremy Allison | 2010-04-29 | 7 | -11/+27 | |
| | | | | Jeremy. | |||||
* | Move the global blocking lock records into the smb1 state. | Jeremy Allison | 2010-04-29 | 4 | -49/+46 | |
| | | | | Jeremy | |||||
* | Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values. | Jeremy Allison | 2010-04-29 | 2 | -10/+39 | |
| | | | | | | Based on an initial patch from Ira Cooper <samba@ira.wakeful.net>. Jeremy. | |||||
* | s3: range-check idmap script output | Volker Lendecke | 2010-04-29 | 1 | -0/+13 | |
| | | | | | Not doing so results in the id mapping succeeding once unchecked and later on being refused, because when reading from the tdb we do the checks. | |||||
* | s3: Fix an uninitialized variable in idmap_tdb2_sid_to_id() | Volker Lendecke | 2010-04-29 | 1 | -0/+1 | |
| | | | | | When we find an invalid record in the database, there's no point in checking the non-existing value against the range limits. | |||||
* | s3: Fix some nonempty blank lines | Volker Lendecke | 2010-04-29 | 1 | -14/+14 | |
| | ||||||
* | s3-lanman: fix api_DosPrintQGetInfo(). | Günther Deschner | 2010-04-29 | 1 | -4/+28 | |
| | | | | | | Found by torture test. Guenther | |||||
* | s3-pdb_ldap: fix memleak. | Günther Deschner | 2010-04-29 | 1 | -2/+2 | |
| | | | | Guenther | |||||
* | s3-lanman: fix api_DosPrintQEnum. | Günther Deschner | 2010-04-29 | 1 | -10/+22 | |
| | | | | | | Found by torture test. Guenther | |||||
* | Update (C) for 2010. | Jeremy Allison | 2010-04-28 | 7 | -1/+8 | |
| | | | | Jeremy. | |||||
* | s3-selftest: enable RAP-PRINTING against s3. | Günther Deschner | 2010-04-28 | 1 | -1/+1 | |
| | | | | Guenther | |||||
* | s3-lanman: support level 0 NetPrintQEnum RAP query. | Günther Deschner | 2010-04-28 | 1 | -0/+1 | |
| | | | | Guenther | |||||
* | Connect set security descriptor into SMB2 code. | Jeremy Allison | 2010-04-28 | 3 | -8/+23 | |
| | | | | Jeremy. |