summaryrefslogtreecommitdiff
path: root/source3/smbd/lanman.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-28s3-lanman: Make sure that job_info is not undefined.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-06-16s3-lanman: Fix return code for "" printqname in api_DosPrintQGetInfo().Günther Deschner1-0/+5
Guenther
2010-06-12s3: Explicitly pass sconn to the api_ functionsVolker Lendecke1-41/+77
2010-05-28s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation.Günther Deschner1-16/+16
54 + 4 = 58 (and not 60). Found by torture test. Guenther
2010-05-28s3:auth use info3 in auth_serversupplied_infoSimo Sorce1-4/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-27s3: Remove an unused variableVolker Lendecke1-1/+0
2010-05-27s3-lanman: use samr for api_RNetUserGetInfo.Günther Deschner1-27/+130
Following MS-RAP 3.2.5.13 NetUserGetInfo Command. Guenther
2010-05-26s3-lanman: remove defines now provided by IDL.Günther Deschner1-10/+0
Guenther
2010-05-26s3-lanman: parse encrypted and min_pwd_length in api_SetUserPassword().Günther Deschner1-3/+25
Guenther
2010-05-26s3-lanman: use samr for api_SetUserPassword().Günther Deschner1-38/+123
Guenther
2010-05-26s3-lanman: Migrated to rpc_connect_spoolss_pipe().Simo Sorce1-28/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-20s3-lanman: Fix various RAP printing calls according to win98 testing and ↵Günther Deschner1-10/+10
MS-RAP docs. Guenther
2010-05-18s3-rpc_client: move protos to init_spoolss.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_spoolss.hGünther Deschner1-0/+1
Guenther
2010-05-12s3-lanman: use samr for api_SamOEMChangePassword().Günther Deschner1-9/+49
Guenther
2010-05-09s3-lanman: use srvsvc for api_RNetServerGetInfo().Günther Deschner1-45/+47
Following MS-RAP 3.2.5.3 NetServerGetInfo Command. Guenther
2010-05-09s3-spoolss: Make spoolss_Time_to_time_t public.Simo Sorce1-15/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-lanman: use srvsvc for api_RNetShareAdd().Günther Deschner1-34/+42
Guenther
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-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-04-29s3-lanman: fix api_DosPrintQGetInfo().Günther Deschner1-4/+28
Found by torture test. Guenther
2010-04-29s3-lanman: fix api_DosPrintQEnum.Günther Deschner1-10/+22
Found by torture test. Guenther
2010-04-28s3-lanman: support level 0 NetPrintQEnum RAP query.Günther Deschner1-0/+1
Guenther
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-28s3-lanman: use spoolss for api_PrintJobInfo().Günther Deschner1-13/+88
Guenther
2010-04-28s3-lanman: remove unsupported print_job_set_place().Günther Deschner1-9/+0
Guenther
2010-04-26s3: use generated rap header.Günther Deschner1-0/+1
Guenther
2010-04-23s3-lanman: fix uninitialized variable in api_RDosPrintJobDel().Günther Deschner1-1/+1
Guenther
2010-04-19s3-lanman: use spoolss for api_WPrintJobGetInfo().Günther Deschner1-21/+54
Guenther
2010-04-19s3-lanman: use spoolss for api_WPrintJobEnumerate().Günther Deschner1-11/+142
Guenther
2010-04-08s3-lanman: use spoolss for api_RDosPrintJobDel().Günther Deschner1-15/+59
Guenther
2010-04-08s3-lanman: use spoolss for api_WPrintQueueCtrl().Günther Deschner1-7/+70
Guenther
2010-03-15Switch over to using get_currect_XXX() accessor functions.Jeremy Allison1-3/+8
Jeremy.
2010-03-15Rever e80ceb1d7355c8c46a2ed90d5721cf367640f4e8 "Remove more uses of "extern ↵Jeremy Allison1-8/+3
struct current_user current_user;"." As requested by Volker, split this into smaller commits. Jeremy.
2010-03-12Remove more uses of "extern struct current_user current_user;".Jeremy Allison1-3/+8
Use accessor functions to get to this value. Tidies up much of the user context code. Volker, please look at the changes in smbd/uid.c to familiarize yourself with these changes as I think they make the logic in there cleaner. Cause smbd/posix_acls.c code to look at current user context, not stored context on the conn struct - allows correct use of these function calls under a become_root()/unbecome_root() pair. Jeremy.
2010-02-14s3-smbd: convert lanman and notify code to TYPESAFE_QSORT()Andrew Tridgell1-6/+2
2010-02-09Fix bug #7122 - Reading a large browselist fails (server returns invalid ↵Jeremy Allison1-3/+3
values in subsequent SMBtrans replies) There are two problems: 1). The server is off-by-one in the end of buffer space test. 2). The server returns 0 in the totaldata (smb_vwv1) and totalparams (smb_vwv0) fields in the second and subsequent SMBtrans replies. This patch fixes both. Jeremy.
2010-02-09s3:smbd: use StrCaseCmp() instead of strcasecmpStefan Metzmacher1-4/+3
metze
2010-02-09s3:smbd: Fix really ugly bool vs. int bug!!!Stefan Metzmacher1-2/+2
A comparison function for qsort needs to return an 'int'! Otherwise you'll get random results depending on the compiler and the architecture... metze
2010-02-08s3:smbd: implement api_RNetServerEnum3Stefan Metzmacher1-1/+212
This is needed to support large browse lists. metze
2010-02-08s3:smbd: add/improve some DEBUG messages in api_RNetServerEnum2()Stefan Metzmacher1-4/+6
metze
2010-02-08s3:smbd: rename api_RNetServerEnum => api_RNetServerEnum2Stefan Metzmacher1-3/+3
metze
2010-01-11s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfoGiovanni Bajo1-1/+3
Windows seems to allow this http://lists.samba.org/archive/samba-technical/2009-November/068116.html has a dump of this.
2010-01-10s3: Remove the typedef for "auth_serversupplied_info"Volker Lendecke1-1/+1
2009-12-08s3-spoolss: use driver level info8 everywhere in spoolss server internally.Günther Deschner1-25/+25
Guenther