Samba printserver works for Win10 Pro but not Win10 Home edition

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Samba printserver works for Win10 Pro but not Win10 Home edition

Samba - General mailing list
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

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Samba printserver works for Win10 Pro but not Win10 Home edition

Samba - General mailing list
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

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Samba printserver works for Win10 Pro but not Win10 Home edition

Samba - General mailing list
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


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Samba printserver works for Win10 Pro but not Win10 Home edition

Samba - General mailing list
On Sun, 11 Jun 2017 14:56:44 +0200
Kjetil Fleten via samba <[hidden email]> wrote:

> 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 ?

Does it really matter if you do not get a default smb.conf, you already
have one from your old set up. It may require updating, so I suggest
you post it.

>
> 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

Sorry, but this is the wrong way round, it should be:

PATH="/usr/local/samba/bin:/usrlocal/samba/sbin:$PATH"

>
> 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

It needs to go in '/usr/local/samba/etc/'

>
> 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 ?
>

For a standalone server not connected to a domain, basically what you
have posted.

Rowland

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Samba printserver works for Win10 Pro but not Win10 Home edition

Samba - General mailing list
In reply to this post by Samba - General mailing list
Hi Kjetil,

Am 11.06.2017 um 14:56 schrieb Kjetil Fleten via samba:
> 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 :'(


Where Samba expects the file depents on a 'configure' parameter. The
following command tells you the right path for your build:

# smbd -b | grep CONFIGFILE

To set it at build time, see
https://wiki.samba.org/index.php/Build_Samba_from_Source#Installation_Directories


Alternatively, you can pass the path to the config file to the daemons
(smbd|nmbd|samba). For example:

# smbd -b /path/to/smb.conf


Regards,
Marc

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Samba printserver works for Win10 Pro but not Win10 Home edition

Samba - General mailing list
On Sun, 11 Jun 2017 16:28:41 +0200
Marc Muehlfeld via samba <[hidden email]> wrote:

> Hi Kjetil,
>
> Am 11.06.2017 um 14:56 schrieb Kjetil Fleten via samba:
> > 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 :'(
>
>
> Where Samba expects the file depents on a 'configure' parameter. The
> following command tells you the right path for your build:
>
> # smbd -b | grep CONFIGFILE
>
> To set it at build time, see
> https://wiki.samba.org/index.php/Build_Samba_from_Source#Installation_Directories
>
>
> Alternatively, you can pass the path to the config file to the
> daemons (smbd|nmbd|samba). For example:
>
> # smbd -b /path/to/smb.conf
>
>
> Regards,
> Marc
>

You can specify where to put things with the configure options, but if
you put everything into /usr/local/samba (the configure default), then
Samba will not interfere with anything installed elsewhere.
You also get the bonus of the samba wiki paths being the same as yours.

It is also very easy to upgrade in future, a little bit more work, but
just as easy as 'apt-get update'

I wonder if Louis's Debian packages could be installed on Ubuntu ?

Rowland

 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba