summaryrefslogtreecommitdiff
path: root/source3/smbd/lanman.c
AgeCommit message (Collapse)AuthorFilesLines
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
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+2
samba. Guenther
2009-11-23s3-printing: use spoolss types and structs while getting and deleting drivers.Günther Deschner1-33/+28
Guenther
2009-06-27s3/lanman: Workaround for KB932762.Volker Lendecke1-0/+1
This addresses bug #6498.
2009-06-03s3:smbd: move more session specific globals to struct smbd_server_connectionStefan Metzmacher1-4/+9
metze
2009-05-06s3-printing: simplify print_queue helper functions and return WERROR.Günther Deschner1-10/+7
Guenther
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison1-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.
2009-02-10Convert api_NetUserGetGroups to use samr instead of pdbVolker Lendecke1-50/+68
2009-02-07Convert api_RNetGroupEnum to use samr instead of pdbVolker Lendecke1-30/+81
2009-02-07Close samr_handle if open_domain failedVolker Lendecke1-0/+1
2009-02-01Convert api_RNetUserEnum to use the srv_samr_nt.c directlyVolker Lendecke1-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.
2009-02-01Fix nonempty blank linesVolker Lendecke1-58/+57
2009-01-16s3:put the browse list into cache_dir, not lock_dir.Michael Adam1-2/+2
Michael
2008-11-02Pass smb_request to send_trans_reply to match with send_[nt]trans[2]_replyVolker Lendecke1-1/+1
2008-10-12Use common util_file code.Jelmer Vernooij1-3/+3
2008-06-28Let send_trans_reply work on only the inbufVolker Lendecke1-1/+1
It does not really need the whole smb_request (This used to be commit d3facf4cbdb2915168e91d64c2d8320f67524df8)
2008-06-26remove unused extern current_user from lanman.cVolker Lendecke1-2/+0
(This used to be commit e2009c0b8dc229faf98ce189d2a906e58d3e1e63)
2008-06-26Change print_access_check to take auth_serversupplied_info instead of ↵Volker Lendecke1-6/+12
current_user Reason: This is the main user of p->current_user which I would like to remove (This used to be commit fd43059b3dfa8cdac9814de1c76f963ba5de9bcb)
2008-06-19Wrap the unix token info in a unix_user_token in auth_serversupplied_infoVolker Lendecke1-6/+6
No functional change, this is a preparation for more current_user ref removal (This used to be commit dcaedf345e62ab74ea87f0a3fa1e3199c75c5445)
2008-05-25Remove some references to get_current_username() and current_user_infoVolker Lendecke1-4/+4
(This used to be commit 344d69f95e217d16213eaa6b53141af6ab459708)
2008-05-25Remove reference to current_user_info from lanman.cVolker Lendecke1-13/+13
(This used to be commit f52d7c3faba4aa815d95883775f4859251406161)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty1-1/+8
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)