Displaying 2 results from an estimated 2 matches for "desiredaccess".
Did you mean:
desired_access
2012 Dec 18
2
SMB2 CREATE + ACCESS_SYSTEM_SECURITY
Can anybody provide the expected response to an SMB2 CREATE request that
includes ACCESS_SYSTEM_SECURITY in the DesiredAccess mask? I?m particularly
interested in cases where the SMB client is connected as an authenticated
user with administrative (superuser) privileges on the share, and has made
the request on a directory. Should such a client expect full (read/change)
access to the SACL (under any conditions)?
The ques...
2002 Oct 07
9
GetPrinter Level 2 does not get devmode
...s succesfully on RedHat Linux/ Samba
2.2.4 server. I can download and print without any problems. But when I do
Windows API call GetPrinter with PRINTER_INFO_2, the devmode in
printer_info is always null. My code looks like
HANDLE hPrinter=NULL;
PRINTER_DEFAULTS pDefaults;
pDefaults.DesiredAccess = PRINTER_ACCESS_USE;
pDefaults.pDatatype=NULL;
pDefaults.pDevMode=NULL;
BOOL b = OpenPrinter(cPrinterName,&hPrinter,&pDefaults);
if (b)
{
LPBYTE printerInfo=NULL;
DWORD dwNeeded;
b = GetPrinter(hPrinter,2,NULL,NULL,&dwNeeded);...