summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss.c
AgeCommit message (Collapse)AuthorFilesLines
1999-12-12delineation between smb and msrpc more marked. smbd now constructsLuke Leighton1-118/+118
pdus, and then feeds them over either a "local" function call or a "remote" function call to an msrpc service. the "remote" msrpc daemon, on the other side of a unix socket, then calls the same "local" function that smbd would, if the msrpc service were being run from inside smbd. this allows a transition from local msrpc services (inside the same smbd process) to remote (over a unix socket). removed reference to pipes_struct in msrpc services. all msrpc processing functions take rpcsrv_struct which is a structure containing state info for the msrpc functions to decode and create pdus. created become_vuser() which does everything not related to connection_struct that become_user() does. removed, as best i could, connection_struct dependencies from the nt spoolss printing code. todo: remove dcinfo from rpcsrv_struct because this stores NETLOGON-specific info on a per-connection basis, and if the connection dies then so does the info, and that's a fairly serious problem. had to put pretty much everything that is in user_struct into parse_creds.c to feed unix user info over to the msrpc daemons. why? because it's expensive to do unix password/group database lookups, and it's definitely expensive to do nt user profile lookups, not to mention pretty difficult and if you did either of these it would introduce a complication / unnecessary interdependency. so, send uid/gid/num_groups/gid_t* + SID+num_rids+domain_group_rids* + unix username + nt username + nt domain + user session key etc. this is the MINIMUM info identified so far that's actually implemented. missing bits include the called and calling netbios names etc. (basically, anything that can be loaded into standard_sub() and standard_sub_basic()...) (This used to be commit aa3c659a8dba0437c17c60055a6ed30fdfecdb6d)
1999-11-29attempting to resolve the issue that multiple servers often specified inLuke Leighton1-17/+17
parameters to connect to \PIPE\NETLOGON. (This used to be commit d1986ade30bdcac1f49707221a3e5a5ae597ce62)
1999-11-08preparation for doing a spoolss enum jobs command. had to rewriteLuke Leighton1-97/+15
spoolss_enumjobs parsing code to do read / writes not just writes. (This used to be commit bc659a09f9103eee9616279e27fafacf89dcd9b9)
1999-11-06spoolss openprinterex / closeprinter client-code.Luke Leighton1-15/+15
experimental spoolopen <printer name> command added. jean-francois, f.y.i. i changed the #define for SPOOLSS_OPENPRINTEREX from op code 0x44 to 0x45. (This used to be commit ef7fa58fd3c259c765c3bc82424d4c0f192ec90e)
1999-09-27don't leak printer handles,Jean-François Micouleau1-3/+14
don't coredump when adding forms, and a small non obvious memory leak in the rpc buffers J.F. (This used to be commit bee11f8889378b9f1cc6e2818fd0f8dd7ddcf10d)
1999-09-25Don't duplicate forms anymore, just update the definition.Jean-François Micouleau1-3/+36
Many memory leaks fixed. J.F. (This used to be commit f328ae8024584599324ae4263bb9fb89a358279f)
1999-09-24Correctly handle the dependent files in the printer_driver_info_3 structJean-François Micouleau1-5/+7
It means complex printer drivers should now download fine. J.F. (This used to be commit a893df5c00189d7e81efd619a4a4ee2bd8ead61f)
1999-07-27- enumprintprocessors and enumprintmonitors added.Jean-François Micouleau1-37/+297
- getjob (level 1 and 2) done. - better handling of getprinterdriver (level 2). - added workaround to print PCL files. Now the spoolss code should be compliant with all kind of printers :-) Jean Francois (This used to be commit bf9b639bf9162d61eb152af506dc2c1a7e8a4c85)
1999-07-01many small bugs...Jean-François Micouleau1-15/+35
J.F. (This used to be commit bda429eb73fa3c0a6d59cf47a8285e3fc0cdae98)
1999-06-22Fixed most memory leak and big-endian bug in the spoolss code.Jean-François Micouleau1-3/+114
Also added addform/setform rpc api calls. Now I can add/change forms from the server property dialog box. Jean Francois (This used to be commit 8d73f83b6c112327a51c0df2e96a1866deb13c3a)
1999-05-03last part of RPC api change.Jean-François Micouleau1-121/+132
and of rpcclient eventlog funtion Jean Francois (This used to be commit 7fc8659e83bf0269df297016beac6793ff0bdf32)
1999-04-27Adding RPC spoolss code support and some new low-level printing functions.Jean-François Micouleau1-0/+3415
Jean Francois (This used to be commit 9e8192cc674db7551569d23982877dd25c488b50)