Kjetil Fleten
2017-May-17 06:09 UTC
[Samba] Samba printserver works for Win10 Pro but not Win10 Home edition
Hello, I have set up a Samba printserver at a school. The server is a standalone server, connected to no domain. I have installed printers with Cups, and uploaded Windows printerdrivers to the shared driver folder. I can add the shared printers in a Windows 10 Pro client, without any hassle. When I try the same in any Win 10 Home edition, I get Windows error messages like "error 0x000006d1" and likewise. This could possibly be fixed on each individual PC with a registry fix like this: http://blog.realcomputerguy.com/2013/06/fix-error-0x000006d1-using-level-3.html. The problem is, that we can not make such a demand to pupils on a school that brings their own device. I believe there must be a permission problem somewhere in my smb.conf, even if guests are allowed, permissions are set to 777 in all relevant folders etc. Anyone that have experienced this ? BR Kjetil
Marc Muehlfeld
2017-May-17 07:22 UTC
[Samba] Samba printserver works for Win10 Pro but not Win10 Home edition
Hi Kjetil, Am 17.05.2017 um 08:09 schrieb Kjetil Fleten via samba:> I have set up a Samba printserver at a school. The server is a > standalone server, connected to no domain. I have installed printers > with Cups, and uploaded Windows printerdrivers to the shared driver > folder. I can add the shared printers in a Windows 10 Pro client, > without any hassle. When I try the same in any Win 10 Home edition, I > get Windows error messages like "error 0x000006d1" and likewise. This > could possibly be fixed on each individual PC with a registry fix like > this: > http://blog.realcomputerguy.com/2013/06/fix-error-0x000006d1-using-level-3.html. > The problem is, that we can not make such a demand to pupils on a school > that brings their own device. I believe there must be a permission > problem somewhere in my smb.conf, even if guests are allowed, > permissions are set to 777 in all relevant folders etc. > Anyone that have experienced this ?This bug is open since 8 years: :-/ https://bugzilla.samba.org/show_bug.cgi?id=6559 What Samba version do you use? 4.6 contains several printer enhancements that maybe fix the problem. If you still run <4.6, please update to 4.6.3, retry, and update the bug report: * If it works, add this info to the bug report. * If it fails: - upload a new level 10 debug log file - add your use case and latest information to the bug If you run 4.6 and require uploading 32-bit drivers, additionally apply the patch from: https://bugzilla.samba.org/show_bug.cgi?id=12761 This will be fixed in 4.6.4. Regards, Marc
Kjetil Fleten
2017-Jun-11 12:56 UTC
[Samba] Samba printserver works for Win10 Pro but not Win10 Home edition
Thanks Marc, I can see your point. The Samba version we used, is 4.3.11-Ubuntu. I have not found any newer package for Ubuntu. We have found no other way to upgrade this, than to download 4.6.3, then make, make install and .configure. We have followed this guide: https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba#Debian_.2F_Ubuntu. Anyway, it states "Please note, this will produce a build without a default smb.conf." True ! Then what ? The new install is not found. The path to the new samba installation does not match the one of the samba package in Ubuntu. We have successfully started the new version of Samba by removing the Ubuntu package, reboot, and then issue: PATH=${PATH}:/usr/local/samba/bin:/usr/local/samba/sbin Anyway, the smb.conf file that we copied out from the Ubuntu installation are not read by the new version. Most likely because we have not copied it to the right folder. We have copied it into many locations: /usr/local/samba/etc/smb.conf, /etc/samba/smb.conf, /usr/share/samba/smb.conf, /usr/local/samba/lib/smb.conf Nothing works :'( When using the Ubuntu package and smb.conf located in /etc/samba, everything except Windows 10 Home edition works (because then version 4.6.x is not running). What are the steps necessary to be taken to swap from Ubuntu package to Samba built by ./configure command ? Regards Kjetil Den 17-05-2017 kl. 09:22 skrev Marc Muehlfeld:> Hi Kjetil, > > Am 17.05.2017 um 08:09 schrieb Kjetil Fleten via samba: >> I have set up a Samba printserver at a school. The server is a >> standalone server, connected to no domain. I have installed printers >> with Cups, and uploaded Windows printerdrivers to the shared driver >> folder. I can add the shared printers in a Windows 10 Pro client, >> without any hassle. When I try the same in any Win 10 Home edition, I >> get Windows error messages like "error 0x000006d1" and likewise. This >> could possibly be fixed on each individual PC with a registry fix >> like this: >> http://blog.realcomputerguy.com/2013/06/fix-error-0x000006d1-using-level-3.html. >> The problem is, that we can not make such a demand to pupils on a >> school that brings their own device. I believe there must be a >> permission problem somewhere in my smb.conf, even if guests are >> allowed, permissions are set to 777 in all relevant folders etc. >> Anyone that have experienced this ? > > > This bug is open since 8 years: :-/ > https://bugzilla.samba.org/show_bug.cgi?id=6559 > > > What Samba version do you use? 4.6 contains several printer > enhancements that maybe fix the problem. If you still run <4.6, please > update to 4.6.3, retry, and update the bug report: > * If it works, add this info to the bug report. > * If it fails: > - upload a new level 10 debug log file > - add your use case and latest information to the bug > > If you run 4.6 and require uploading 32-bit drivers, additionally > apply the patch from: > https://bugzilla.samba.org/show_bug.cgi?id=12761 > This will be fixed in 4.6.4. > > > > Regards, > Marc