summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-05-05Fixed issue with return in a void function found by Björn JACKE <bj@SerNet.DE>Jeremy Allison1-1/+2
Jeremy.
2010-05-05s3-libsmb: Fixed a recursion in cli_pull_print.Andreas Schneider1-1/+1
2010-05-04Fix bug #7263 - Unable to print using Samba 3.5.1 and cups-1.1.23-40.46 on ↵Luca Olivetti1-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.
2010-05-04s3-spoolss: Remove duplicate macro.Simo Sorce1-5/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.Andreas Schneider4-4/+46
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04s3-libnetjoin: omit admin password in generated ndr_print function.Günther Deschner1-2/+2
Guenther
2010-05-04s3-idl: update the 2nd build_idl.sh scriptAndrew Tridgell1-9/+13
2010-05-04s3-idl: auto-build IDL files in Samba3Andrew Tridgell1-2/+2
2010-05-04s3-idl: removed gen_ndr files from source3/ as wellAndrew Tridgell26-21879/+1
2010-05-04s3: Fix a memleak in check_pac_checksumVolker Lendecke1-2/+8
2010-05-03s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a ↵Günther Deschner1-8/+8
connection. Guenther
2010-05-03s3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing ↵Günther Deschner1-4/+23
cupsaddsmb to fail. Guenther
2010-05-03s3-lanman: fix api_DosPrintQEnum().Günther Deschner1-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
2010-05-03s3-lanman: exit early for unsupported levels in api_PrintJobInfo().Günther Deschner1-17/+17
Guenther
2010-05-03Consolidate all get SEC_DESC into single procedure get_secdescMatthew McGillis1-44/+37
2010-05-03always pass filename as const charMatthew McGillis1-2/+2
2010-05-02s3: Unify DEBUG_KRB5_TKT_REGAIN and DEBUG_KRB5_TKT_RENEWALVolker Lendecke1-1/+1
I don't think it makes sense to #ifdef this one case separately. Metze, Bo Yang, please check!
2010-05-02s3: Fix a typoVolker Lendecke1-1/+1
2010-05-02s3: Fix the code order in append_auth_dataVolker Lendecke1-7/+7
This is to comply with the comment "currently, anything from here on potentially overwrites extra_data." Günther, please check!
2010-04-30Plumb the SMB2 front end into the blocking lock backend.Jeremy Allison6-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.
2010-04-30smbd: move printfile_offset() within write_file()Simo Sorce4-13/+19
2010-04-29Carefully label SMB1-specific locking calls.Jeremy Allison7-11/+27
Jeremy.
2010-04-29Move the global blocking lock records into the smb1 state.Jeremy Allison4-49/+46
Jeremy
2010-04-29Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2-10/+39
Based on an initial patch from Ira Cooper <samba@ira.wakeful.net>. Jeremy.
2010-04-29s3: range-check idmap script outputVolker Lendecke1-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.
2010-04-29s3: Fix an uninitialized variable in idmap_tdb2_sid_to_id()Volker Lendecke1-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.
2010-04-29s3: Fix some nonempty blank linesVolker Lendecke1-14/+14
2010-04-29s3-lanman: fix api_DosPrintQGetInfo().Günther Deschner1-4/+28
Found by torture test. Guenther
2010-04-29s3-pdb_ldap: fix memleak.Günther Deschner1-2/+2
Guenther
2010-04-29s3-lanman: fix api_DosPrintQEnum.Günther Deschner1-10/+22
Found by torture test. Guenther
2010-04-28Update (C) for 2010.Jeremy Allison7-1/+8
Jeremy.
2010-04-28s3-selftest: enable RAP-PRINTING against s3.Günther Deschner1-1/+1
Guenther
2010-04-28s3-lanman: support level 0 NetPrintQEnum RAP query.Günther Deschner1-0/+1
Guenther
2010-04-28Connect set security descriptor into SMB2 code.Jeremy Allison3-8/+23
Jeremy.
2010-04-28s3:smbd: make fsp->fake_file_handle a talloc child of fspStefan Metzmacher1-1/+1
metze
2010-04-28s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in ↵Stefan Metzmacher1-1/+15
pipe_read_andx_done() metze
2010-04-28s3: Make a debug msg more readableVolker Lendecke1-1/+1
2010-04-27Fix the "allow_smb2" bug being set to false that was driving me mad :-).Jeremy Allison1-1/+5
The first packet from a rebooted Win7 on an SMB2 connection is an SMB1 negprot... Jeremy.
2010-04-27Don't return a potentially uninitialized NT_STATUS. We can now see user ↵Jeremy Allison1-1/+1
lists in Windows ACLs. Jeremy.
2010-04-27Add debug statements so I can track the flow of RPC data.Jeremy Allison1-2/+27
Jeremy.
2010-04-28s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().Günther Deschner1-37/+115
With this, I think, all implemented RAP printing calls are routed over SPOOLSS. Torture tests to follow... Guenther
2010-04-28s3-lanman: fix debug message in api_WPrintJobEnumerate().Günther Deschner1-1/+1
Guenther
2010-04-28s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().Günther Deschner1-1/+0
Guenther
2010-04-28s3-lanman: remove unused code.Günther Deschner1-134/+0
Guenther
2010-04-28s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.Günther Deschner1-152/+215
Guenther
2010-04-27Don't return an intermediate reply on async on a pipe call (Windows doesn't).Jeremy Allison1-0/+5
Jeremy.
2010-04-28s3-lanman: use spoolss for api_PrintJobInfo().Günther Deschner1-13/+88
Guenther
2010-04-28s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).Günther Deschner3-2/+74
Guenther
2010-04-28s3-lanman: remove unsupported print_job_set_place().Günther Deschner3-20/+0
Guenther
2010-04-27Fix more S3 build breakage. Matthias, please ensure S3 builds whenJeremy Allison1-2/+2
changing common code. Jeremy.