search for: printer_info_2

Displaying 11 results from an estimated 11 matches for "printer_info_2".

2002 Oct 07
9
GetPrinter Level 2 does not get devmode
Hi all, I have uploaded the printer drivers 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,&pDef...
2002 May 24
1
Printing Patches for 2.2.4 (roll-up)
Here's a rollup patch for most of the printing fixes in SAMBA_2_2. Issues fixed are * change notification never gets called on a SetPrinter() * alignment bug in marshalling PRINTER_INFO_2 causes problems viewing printer properties from win2k/XP clients * devmode unmarshalling bug causes ACT! 2000 on 2k client to fail to print Enjoy. Feedback welcome if this fixes (or does not fix your bug). ftp://ftp.samba.org/pub/jerry/samba-2.2.4-patches/samba-2.2.4-printing.patc...
2003 Mar 06
1
Adding printer drivers from WinXP
Well I'm trying to setup the Samba server to act as a print server too. I had uploaded the drivers for the 4 printers we have and I installed all 4 printers on my test computer and it worked well. But when I got back from my vacations one of the tech told me that he couldn't install the printer drivers from the server and when I check the driver didn't seem to be in the driver list
2003 Dec 01
0
No subject
...d (Jerry) Carter wrote: > For those people experiencing Explorer.exe crashes when working with > printers, please try this patch > > ftp.samba.org/pub/jerry/patches/post-2.2.5/parse_sec.patch > > It was a size vs. alignment bug when marshalling security > descriptors for the PRINTER_INFO_2 structure. > > > > > > cheers, jerry > --------------------------------------------------------------------- > Hewlett-Packard http://www.hp.com > SAMBA Team http://www.samba.org > --...
2005 Feb 15
1
Making nt_printer.tdb from tdbtool?
Hello All -- We are trying to consolidate our printer management from a series of NT print servers to a series of Samba ones, in a global network with ten offices and about 150 printers. All printing is PostScript and goes to HP and Canon printers over lpd through custom 'if' filters which do accounting. To help this we're trying to automate the printer and driver registration
2002 Jul 27
2
Samba 2.2.6pre1 non-prouction release available
...ng substitutions to accept a length for sanity checks 4) Fixed 17-bit length fiedl in nmb header 5) Removed non-portable inline declaration for functions 6) Performance fix for including files with an smb.conf variable in the path name 7) Fix for parsing LPRng lpq output 8) Parsing fix for PRINTER_INFO_2 structure which was causing viewing printer properties to fail 9) Fix for printer change notification and Windows NT clients which caused the client to go into an infinite loop of refeshing the local printers folder 10) Allow trans2 and nttrans messages to be processed in oplock brea...
2002 Aug 29
1
samba-2.2.6pre2 snapshot available
...g substitutions to accept a length for sanity checks 4) Fixed 17-bit length field in nmb header 5) Removed non-portable inline declaration for functions 6) Performance fix for including files with an smb.conf variable in the path name 7) Fix for parsing LPRng lpq output 8) Parsing fix for PRINTER_INFO_2 structure which was causing viewing printer properties to fail 9) Fix for printer change notification and Windows NT clients which caused the client to go into an infinite loop of refeshing the local printers folder 10) Allow trans2 and nttrans messages to be processed in oplock...
2003 Mar 05
2
Samba-3.0alpha22 available on samba.org mirrors
...nd their subsequent requests in a retry loop in case we've temporarily lost connection to the DC. Makes winbindd more reliable 44) Optimize user_ok() and user_in_group() when verifying group membership 45) Add NTLMv2 client code (that works) and some SMB signing fixes 46) Add caching of PRINTER_INFO_2 structures to open printer handles 47) Add 1/3 second delay in OpenPrinter() reply to trigger a LAN/WAN optimization in Windows 2000 clients 48) Add "WinXP" to the possible values of the %a variable 49) Fix to allow blocking lock notification to be done rapidly (no wait for smb -...
2002 Sep 26
0
Samba-3.0alpha20 released
...command - When creating a group you have to take care of the fact that the underlying unix might not like the group name - Don't uppercase the username and domain in a session setup - Merge of "profile acls" code from SAMBA_2_2 - Check for existing of security descriptor in PRINTER_INFO_2 structure in rpc client code - Move to common user token debugging, and ensure we always print both the NT_TOKEN and the unix credentials - If adding a user to ldap, make sure we have the 'account' structural class, or else we can't add to OpenLDAP 2.1 - Kill of Get_Pwnam_...
2003 Dec 07
2
Questions about some Ethereal/log output and spoolss
...d_new_printer_key: Inserted new data key [PrinterDriverData] [2003/12/07 12:00:52, 10] printing/nt_printing.c:add_new_printer_key(2365) add_new_printer_key: Inserted new data key [DsSpooler] [2003/12/07 12:00:52, 10] printing/nt_printing.c:get_a_printer(3957) get_a_printer: using cached copy of printer_info_2 [2003/12/07 12:00:52, 10] printing/nt_printing.c:get_a_printer(4005) get_a_printer: [photosmart7550] level 2 returning WERR_OK [2003/12/07 12:00:52, 4] rpc_server/srv_spoolss_nt.c:_spoolss_getprinterdataex(8 718) _spoolss_getprinterdataex: Invalid keyname [DsDriver] ---- The above is one sectio...
2002 Jun 26
5
parsing fix for spoolss & samba-2.2.5
For those people experiencing Explorer.exe crashes when working with printers, please try this patch ftp.samba.org/pub/jerry/patches/post-2.2.5/parse_sec.patch It was a size vs. alignment bug when marshalling security descriptors for the PRINTER_INFO_2 structure. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://ww...