summaryrefslogtreecommitdiffstats
path: root/source3/smbd/lanman.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-lanman: Fix various RAP printing calls according to win98 testing and ↵Günther Deschner2010-05-201-10/+10
| | | | | | MS-RAP docs. Guenther
* s3-rpc_client: move protos to init_spoolss.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_spoolss.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-lanman: use samr for api_SamOEMChangePassword().Günther Deschner2010-05-121-9/+49
| | | | Guenther
* s3-lanman: use srvsvc for api_RNetServerGetInfo().Günther Deschner2010-05-091-45/+47
| | | | | | Following MS-RAP 3.2.5.3 NetServerGetInfo Command. Guenther
* s3-spoolss: Make spoolss_Time_to_time_t public.Simo Sorce2010-05-091-15/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-lanman: use srvsvc for api_RNetShareAdd().Günther Deschner2010-05-051-34/+42
| | | | Guenther
* s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a ↵Günther Deschner2010-05-031-8/+8
| | | | | | connection. Guenther
* s3-lanman: fix api_DosPrintQEnum().Günther Deschner2010-05-031-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 Deschner2010-05-031-17/+17
| | | | Guenther
* s3-lanman: fix api_DosPrintQGetInfo().Günther Deschner2010-04-291-4/+28
| | | | | | Found by torture test. Guenther
* s3-lanman: fix api_DosPrintQEnum.Günther Deschner2010-04-291-10/+22
| | | | | | Found by torture test. Guenther
* s3-lanman: support level 0 NetPrintQEnum RAP query.Günther Deschner2010-04-281-0/+1
| | | | Guenther
* s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().Günther Deschner2010-04-281-37/+115
| | | | | | | With this, I think, all implemented RAP printing calls are routed over SPOOLSS. Torture tests to follow... Guenther
* s3-lanman: fix debug message in api_WPrintJobEnumerate().Günther Deschner2010-04-281-1/+1
| | | | Guenther
* s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().Günther Deschner2010-04-281-1/+0
| | | | Guenther
* s3-lanman: remove unused code.Günther Deschner2010-04-281-134/+0
| | | | Guenther
* s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.Günther Deschner2010-04-281-152/+215
| | | | Guenther
* s3-lanman: use spoolss for api_PrintJobInfo().Günther Deschner2010-04-281-13/+88
| | | | Guenther
* s3-lanman: remove unsupported print_job_set_place().Günther Deschner2010-04-281-9/+0
| | | | Guenther
* s3: use generated rap header.Günther Deschner2010-04-261-0/+1
| | | | Guenther
* s3-lanman: fix uninitialized variable in api_RDosPrintJobDel().Günther Deschner2010-04-231-1/+1
| | | | Guenther
* s3-lanman: use spoolss for api_WPrintJobGetInfo().Günther Deschner2010-04-191-21/+54
| | | | Guenther
* s3-lanman: use spoolss for api_WPrintJobEnumerate().Günther Deschner2010-04-191-11/+142
| | | | Guenther
* s3-lanman: use spoolss for api_RDosPrintJobDel().Günther Deschner2010-04-081-15/+59
| | | | Guenther
* s3-lanman: use spoolss for api_WPrintQueueCtrl().Günther Deschner2010-04-081-7/+70
| | | | Guenther
* Switch over to using get_currect_XXX() accessor functions.Jeremy Allison2010-03-151-3/+8
| | | | Jeremy.
* Rever e80ceb1d7355c8c46a2ed90d5721cf367640f4e8 "Remove more uses of "extern ↵Jeremy Allison2010-03-151-8/+3
| | | | | | | | struct current_user current_user;"." As requested by Volker, split this into smaller commits. Jeremy.
* Remove more uses of "extern struct current_user current_user;".Jeremy Allison2010-03-121-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.
* s3-smbd: convert lanman and notify code to TYPESAFE_QSORT()Andrew Tridgell2010-02-141-6/+2
|
* Fix bug #7122 - Reading a large browselist fails (server returns invalid ↵Jeremy Allison2010-02-091-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.
* s3:smbd: use StrCaseCmp() instead of strcasecmpStefan Metzmacher2010-02-091-4/+3
| | | | metze
* s3:smbd: Fix really ugly bool vs. int bug!!!Stefan Metzmacher2010-02-091-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
* s3:smbd: implement api_RNetServerEnum3Stefan Metzmacher2010-02-081-1/+212
| | | | | | This is needed to support large browse lists. metze
* s3:smbd: add/improve some DEBUG messages in api_RNetServerEnum2()Stefan Metzmacher2010-02-081-4/+6
| | | | metze
* s3:smbd: rename api_RNetServerEnum => api_RNetServerEnum2Stefan Metzmacher2010-02-081-3/+3
| | | | metze
* s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfoGiovanni Bajo2010-01-111-1/+3
| | | | | | | | Windows seems to allow this http://lists.samba.org/archive/samba-technical/2009-November/068116.html has a dump of this.
* s3: Remove the typedef for "auth_serversupplied_info"Volker Lendecke2010-01-101-1/+1
|
* s3-spoolss: use driver level info8 everywhere in spoolss server internally.Günther Deschner2009-12-081-25/+25
| | | | Guenther
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+2
| | | | | | samba. Guenther
* s3-printing: use spoolss types and structs while getting and deleting drivers.Günther Deschner2009-11-231-33/+28
| | | | Guenther
* s3/lanman: Workaround for KB932762.Volker Lendecke2009-06-271-0/+1
| | | | This addresses bug #6498.
* s3:smbd: move more session specific globals to struct smbd_server_connectionStefan Metzmacher2009-06-031-4/+9
| | | | metze
* s3-printing: simplify print_queue helper functions and return WERROR.Günther Deschner2009-05-061-10/+7
| | | | Guenther
* Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-151-3/+3
| | | | | | | What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy.
* Convert api_NetUserGetGroups to use samr instead of pdbVolker Lendecke2009-02-101-50/+68
|
* Convert api_RNetGroupEnum to use samr instead of pdbVolker Lendecke2009-02-071-30/+81
|
* Close samr_handle if open_domain failedVolker Lendecke2009-02-071-0/+1
|
* Convert api_RNetUserEnum to use the srv_samr_nt.c directlyVolker Lendecke2009-02-011-26/+77
| | | | | | | This is a sample for other accesses to pdb to go via samr. The goal is to access passdb only via srv_samr_nt.c. If that is done, then we can easily swap in another samr implementation like for example samba4's via a unix domain socket.
* Fix nonempty blank linesVolker Lendecke2009-02-011-58/+57
|