Small panic here as we've just put samba 3.0.8 up to fix the DoS attack but all printing from Windows 98 has now broken. Printing from Windows XP is still working fine. Reproducible: Always Steps to Reproduce: This path fix it: Index: smbd/lanman.c =================================================================== --- smbd/lanman.c (revision 3681) +++ smbd/lanman.c (working copy) @@ -2267,6 +2267,12 @@ return False; *rparam_len = 4; *rparam = REALLOC(*rparam,*rparam_len); + + if ( (snum = lp_servicenumber(sharename)) == -1 ) { + DEBUG(0,("api_PrintJobInfo: unable to get service number from sharename [%s]\n", + sharename)); + return False; + } *rdata_len = 0;
Please post not only the patches, but the original reference also. Else, we can't accept it without proper testing. After some time-consuming searches, I found this upstream revision: http://websvn.samba.org/cgi-bin/viewcvs.cgi?makepatch=1&rev=3682&view=rev. Since it's the same as yours, it is accepted. :-) Thanks for the info: samba-3.0.8-r1
*** Bug 72669 has been marked as a duplicate of this bug. ***