[Samba] Issue with printer sharing

Sébastien Le Ray sebastien-samba at orniz.org
Tue Sep 23 09:49:08 MDT 2014


I tried the log level param, it produced 46MB logs. Before digging into 
it I finally found another Windows 7 Pro box. The preference page worked 

I suspect a conflict. The machine I used to configure the samba server 
already had (long time ago) the printers installed on it, with different 
drivers version. Maybe it fails to update its registry or have some 
problem because the printers where installed with a local admin account 
whereas I use a Domain admin account.

Anyway, I'm not conviced it is a samba issue.

Thanks for your time


Le 22/09/2014 20:25, Marc Muehlfeld a écrit :
> Am 22.09.2014 um 20:05 schrieb Sébastien Le Ray:
>>> Did you also removed all the Samba databases? I don't know apt-get. But
>>> usually the package tools don't remove databases. Search for the
>>> registry.tdb file. This one contains the printer settings. But you
>>> should remove all databases.
> I removed my print$ stuff and recreated it and configured it with
> Windows ACLs (acl_xattr enabled in [global], like you have it). I had
> added the domain admin to the filesystem ACLs on print$ with full access
> (https://wiki.samba.org/index.php/Setup_and_configure_file_shares_with_Windows_ACLs#Change_permissions_on_folders_of_a_share)
> I can upload the x64 driver, assign it to a printer and preconfigure the
> driver for the users. User can connect to the printer and retrieve the
> driver with the preconfigured options. So it doesn't seem to be an issue
> with posix/Windows ACLs.
>> Yes all was removed. I just re-did the whole process (deleting all samba
>> files, purging, reinstalling) to be sure, same issue…
>> Is point & click available on samba 3 ?
> Yes. But the wording in the documentation isn't choosen very well. The
> posix ACLs are still working in 4.1 and it's not planed to change that,
> as far as I know. It's only recommended to use the Windows ACLs yet.
> I'll change that.
>>> What log level did you used? Can you increase it to '10', reload Samba
>>> and go the the last step before it fails. Then clear the log
>>> # echo > /path/to/log.txt
>>> run the failing step and directly after that create a copy of the
>>> logfile (so no further logging stuff goes in). Then put it on
>>> http://cpaste.org/ or some other paste server and post the link. Maybe
>>> we see something interesting.
>> Will try this tomorrow, but I'm afraid the log gets rotated to fast to
>> provide enough info…
> Set
>     max log size = 0
> do disable the log rotation.
> BTW: When I tell the add printer wizzard the folder with the Ricoh
> driver, then I can choose between two drivers, that are inside this
> package. I had choosen the one named "PCL6 Driver vor Universal Print".
> Regards,
> Marc

More information about the samba mailing list