Getting the cnum in the rpc code

Jeremy Allison jallison at cthulhu.engr.sgi.com
Mon Aug 10 18:06:06 GMT 1998


Jean-Francois Micouleau wrote:
> 
> in api_spoolss_startdocprinter() which is equiv to reply.c:openprint,
> I need the cnum to call open_shared_file().
> 
> How do I get it knowing I only have the user's uid and the prs stream ?
> 

How do you get down to api_spoolss_startdocprinter() ? What's
the call stack at this point ? Maybe a cnum could be added ?

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list