after adding a printer driver from a vista machine vista gives an error message saying that the printer settings could not be saved ... Error 0x0000007a. The printer driver however seems to be added correctly anyway. Interesting in the logs is that samba does not find a architecture in the getprinterdriverdirectory call in the end. This is 3.0.25rc3
logs/sniffs too big for bugzilla - you can find it here: http://www.j3e.de/samba-vista-adddriver-bug/
Created attachment 2892 [details] See details in the comment by ofira@expand.com Hi, I'm also facing problems when adding a new printer from Vista using the "Add Printer Wizard" and samba 3.0.25b. Attached vista_add_printer.tgz which contains the samba log file - vista/log.admin-pc. The tcpdump file for the try and fail was too big for the attachment. Please tell me if you need it. First issue was that the AddPort request structure is different from the one passed from XP - I've done some "reverse engineering" to be able to over come it, assuming the version in the request indicates on the structure - see vista/suggested_preliminary_patch in the attachment. Then, there is an issue with the AddPrinter request - what I've succeeded to understand, is that Vista does not pass the share name - since it is missing in the Wizard. Trying to do it against a Win2003 server did succeed, since later on it (the Wizard) does ask for the share name. Best regards, Ofir.
Ok, vista printing support has improved a lot with 3.4 (currently 3.4.0pre2). Can people please re-test with that ?
(In reply to comment #2) > Created an attachment (id=2892) [details] > See details in the comment by ofira@expand.com > > Hi, > > I'm also facing problems when adding a new printer from Vista using the "Add > Printer Wizard" and samba 3.0.25b. > > Attached vista_add_printer.tgz which contains the samba log file - > vista/log.admin-pc. > The tcpdump file for the try and fail was too big for the attachment. Please > tell me if you need it. > > First issue was that the AddPort request structure is different from the one > passed from XP - I've done some "reverse engineering" to be able to over come > it, assuming the version in the request indicates on the structure - see > vista/suggested_preliminary_patch in the attachment. Absolutely right. Very good analysis. But we are not planning to bring back all the vista printing fixes back to 3.0. If you could re-test with 3.4 that would be really helpful. Closing as fixed for 3.4