Description of problem: Trying to print from remote windows pc fail due to bad permissions on /var/spool/samba Log of the fail. mar 17 17:26:08 nacaal smbd[3274]: [2017/03/17 17:26:08.480267, 0] ../lib/param/loadparm.c:1750(lpcf mar 17 17:26:08 nacaal smbd[3274]: Ignoring unknown parameter "share modes" mar 17 17:26:08 nacaal smbd[3274]: [2017/03/17 17:26:08.480688, 0] ../lib/param/loadparm.c:772(lpcfg mar 17 17:26:08 nacaal smbd[3274]: Unknown parameter encountered: "share modes" mar 17 17:26:08 nacaal smbd[3274]: [2017/03/17 17:26:08.480810, 0] ../lib/param/loadparm.c:1750(lpcf mar 17 17:26:08 nacaal smbd[3274]: Ignoring unknown parameter "share modes" mar 17 17:26:25 nacaal smbd[3274]: [2017/03/17 17:26:25.706950, 0] ../source3/printing/printing.c:27 mar 17 17:26:25 nacaal smbd[3274]: print_job_spool_file: insufficient permissions to open spool fil mar 17 17:26:26 nacaal smbd[3274]: [2017/03/17 17:26:26.160551, 0] ../source3/printing/printing.c:27 mar 17 17:26:26 nacaal smbd[3274]: print_job_spool_file: insufficient permissions to open spool file Solution: change permissions of /var/spool/samba to a+rwxt found on http://www.linuxquestions.org/questions/linux-hardware-18/insufficient-permissions-to-open-spool-104159/
Assigning to the registered maintainer, but CC'ing all packagers collectively, in case the maintainer is unavailable.
CC: (none) => marja11, pkg-bugsAssignee: bugsquad => bgmilne
Fixed in SVN. Will be included in the next update. Thanks for the report.
(In reply to David Walser from comment #2) > Fixed in SVN. Will be included in the next update. Thanks for the report. Your welcome, also is needed warn about security = share deprecation, i was bitten by that and put a note in the errata page.
Created attachment 9165 [details] commit message of when 'security = share' was removed (In reply to katnatek from comment #3) > (In reply to David Walser from comment #2) > > Fixed in SVN. Will be included in the next update. Thanks for the report. > > Your welcome, also is needed warn about security = share deprecation, i was > bitten by that and put a note in the errata page. Hi Katnatek, Actually, it was added to the Talk page of the errata ;-) It was a pain to find useful upstream information, I ended up cloning their git and searching the logs. On March 5, 2012, Andrew Bartlett pushed a commit that he had already prepared a month earlier. With the message that 'security=share' was deprecated since samba 3.6, he removed all of it. I'll attach the git log entry of that commit. Maybe it didn't bite you in 3.6, because an older commit remapped 'security = share' to 'security = user'? Even if it did bite you now, this is feature instead of a bug, so it doesn't belong in the Errata. I won't add it to the Release Notes (the place where we communicate about new features), because I doubt many users will be bitten. However, you seem sure this affects many.... please do feel free to add it to the [[Mageia 6 Release Notes]] Kind regards, Marja
(In reply to Marja van Waes from comment #4) > Created attachment 9165 [details] > commit message of when 'security = share' was removed > > (In reply to katnatek from comment #3) > > (In reply to David Walser from comment #2) > > > Fixed in SVN. Will be included in the next update. Thanks for the report. > > > > Your welcome, also is needed warn about security = share deprecation, i was > > bitten by that and put a note in the errata page. > > Hi Katnatek, > > Actually, it was added to the Talk page of the errata ;-) > > It was a pain to find useful upstream information, I ended up cloning their > git and searching the logs. > > On March 5, 2012, Andrew Bartlett pushed a commit that he had already > prepared a month earlier. With the message that 'security=share' was > deprecated since samba 3.6, he removed all of it. > > I'll attach the git log entry of that commit. > > Maybe it didn't bite you in 3.6, because an older commit remapped 'security > = share' to 'security = user'? Don't know only change the smb.conf file in the mageia 5 cicle for change a printer :) > > Even if it did bite you now, this is feature instead of a bug, so it doesn't > belong in the Errata. > I won't add it to the Release Notes (the place where we communicate about > new features), because I doubt many users will be bitten. However, you seem > sure this affects many.... please do feel free to add it to the [[Mageia 6 > Release Notes]] > > Kind regards, > Marja I added in kmown issues https://wiki.mageia.org/en/Mageia_6_Release_Notes#Deprecation_of_shared_security_in_Samba.
I forgot to say this was fixed in samba-4.5.7-1.mga6. Just a note that if there are changes in software that would demand a user/sysadmin make some manual adjustments, those do in fact belong in the Release Notes. The Errata is for actual bugs.
I forgot to close, good job, thank you
Status: NEW => RESOLVEDResolution: (none) => FIXED