Glenn T. Arnold
2009-Jul-16  19:11 UTC
[Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do; -)
Initially when I posted my access problems to print$ I was using the new registry based smb.conf I had my whole configuration in the registry. Now I move my printers and print$ back to the text based smb.conf and I copied the standard ubuntu debian [printers] and [print$] out of the original ubuntu package smb.conf and the only modification that I made was under the [print$] I change read only to no instead of yes. I can not write to the share. Simply renaming print$ section to print I can access the share and write to it with no problems. Any more suggestions? I need to get this resolved. Here is my smb.conf now: [global] # configbackend = registry include = registry [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = no guest ok = no Thanks -Glenn ----- Original Message ----- From: "Glenn T. Arnold" <garnold at unrealsolutions.com> To: samba at lists.samba.org Sent: Wednesday, July 8, 2009 1:17:21 PM GMT -05:00 US/Canada Eastern Subject: Re: [Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do; -) I did the suggested updates to app armor and this did not solve the problem. -Glenn ----- Original Message ----- From: "Glenn T. Arnold" <garnold at unrealsolutions.com> To: "Harry Jede" <walk2sun at arcor.de> Cc: samba at lists.samba.org Sent: Monday, July 6, 2009 10:05:14 AM GMT -05:00 US/Canada Eastern Subject: Re: [Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do; -) Well, I did read the fine documentation and the documentation for this current situation it was no help. The reason I am using the registry for the smb.conf is memory savings, instance changes of smb.conf going into effect, and maybe future clustering. Also, I will state if using the samba registry method is not the proper way of doing things then why would the Samba developers add this feature into Samba? ;-) The reason I set the share with the current rights, is to troubleshoot the problem and prove that my file rights were correct. When I setup the print$ share "the proper way" it is still read-only even though I had writelist in effect. I currently have 1200 pc connect to a samba-ldap servers with the proper setup with no problems. I will investigate the app armor settings Thanks -Glenn ----- Original Message ----- From: "Harry Jede" <walk2sun at arcor.de> To: samba at lists.samba.org Sent: Friday, July 3, 2009 3:22:19 PM GMT -05:00 US/Canada Eastern Subject: Re: [Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do; -) On Thursday, 2. Juli 2009 wrote Glenn T. Arnold:> I just made my print$ share settings to match my print drivers share > which should work sameThis is what you believe.> and I still cannot create folders or files on > the print$ share, but I can all day on the print drivers share. Would > someone explain why this is happening? Here is my share settings. > > [HKEY_LOCAL_MACHINE\SOFTWARE\Samba\smbconf\print$] > "path"="/var/lib/samba/printers" > "comment"="Printer Drivers" > "read only"="no" > > > [HKEY_LOCAL_MACHINE\SOFTWARE\Samba\smbconf\printer drivers] > "path"="/var/lib/samba/printers" > "read only"="no"Why are you doing this? I think you should reread the excellent Samba docu again.> Thanks > -Glenn > > ----- Original Message ----- > From: "Glenn T. Arnold" <garnold at unrealsolutions.com> > To: "samba" <samba at lists.samba.org> > Sent: Thursday, July 2, 2009 3:29:29 PM GMT -05:00 US/Canada Eastern > Subject: Re: [Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights > even though I do;-) > > Harry, > > You did give me an idea though. For grins I just set rights to 0777 > even on the extended acls and I still get access denied when trying > to upload print drivers. Here is the updated rights on > /var/lib/samba/printers.You make your own changes. That's really fine. -- Gruss Harry Jede -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Dale Schroeder
2009-Jul-16  19:58 UTC
[Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do
Glenn,
Have you granted your user Print Operator privileges?
    net rpc rights grant <user> SePrintOperatorPrivilege -U root
http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetCommand.html#id2601337
Dale
Glenn T. Arnold wrote:> Initially when I posted my access problems to print$ I was using the new
registry based smb.conf I had my whole configuration in the registry. Now I move
my printers and print$ back to the text based smb.conf and I copied the standard
ubuntu debian [printers] and [print$] out of the original ubuntu package
smb.conf and the only modification that I made was under the [print$] I change
read only to no instead of yes. I can not write to the share. Simply renaming
print$ section to print I can access the share and write to it with no problems.
Any more suggestions? I need to get this resolved. Here is my smb.conf now:
> [global] 
> # configbackend = registry 
> include = registry 
> [printers] 
> comment = All Printers 
> browseable = no 
> path = /var/spool/samba 
> printable = yes 
> guest ok = no 
> read only = yes 
> create mask = 0700 
>
> [print$] 
> comment = Printer Drivers 
> path = /var/lib/samba/printers 
> browseable = yes 
> read only = no 
> guest ok = no 
>
> Thanks 
> -Glenn 
>
> ----- Original Message ----- 
> From: "Glenn T. Arnold" <garnold at unrealsolutions.com> 
> To: samba at lists.samba.org 
> Sent: Wednesday, July 8, 2009 1:17:21 PM GMT -05:00 US/Canada Eastern 
> Subject: Re: [Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even
though I do; -)
>
> I did the suggested updates to app armor and this did not solve the
problem.
>
> -Glenn 
>
> ----- Original Message ----- 
> From: "Glenn T. Arnold" <garnold at unrealsolutions.com> 
> To: "Harry Jede" <walk2sun at arcor.de> 
> Cc: samba at lists.samba.org 
> Sent: Monday, July 6, 2009 10:05:14 AM GMT -05:00 US/Canada Eastern 
> Subject: Re: [Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even
though I do; -)
>
> Well, I did read the fine documentation and the documentation for this
current situation it was no help. The reason I am using the registry for the
smb.conf is memory savings, instance changes of smb.conf going into effect, and
maybe future clustering. Also, I will state if using the samba registry method
is not the proper way of doing things then why would the Samba developers add
this feature into Samba? ;-) The reason I set the share with the current rights,
is to troubleshoot the problem and prove that my file rights were correct. When
I setup the print$ share "the proper way" it is still read-only even
though I had writelist in effect. I currently have 1200 pc connect to a
samba-ldap servers with the proper setup with no problems. I will investigate
the app armor settings
>
> Thanks 
> -Glenn 
>
> ----- Original Message ----- 
> From: "Harry Jede" <walk2sun at arcor.de> 
> To: samba at lists.samba.org 
> Sent: Friday, July 3, 2009 3:22:19 PM GMT -05:00 US/Canada Eastern 
> Subject: Re: [Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even
though I do; -)
>
> On Thursday, 2. Juli 2009 wrote Glenn T. Arnold: 
>   
>> I just made my print$ share settings to match my print drivers share 
>> which should work same 
>>     
> This is what you believe. 
>
>   
>> and I still cannot create folders or files on 
>> the print$ share, but I can all day on the print drivers share. Would 
>> someone explain why this is happening? Here is my share settings. 
>>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Samba\smbconf\print$] 
>> "path"="/var/lib/samba/printers" 
>> "comment"="Printer Drivers" 
>> "read only"="no" 
>>
>>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Samba\smbconf\printer drivers] 
>> "path"="/var/lib/samba/printers" 
>> "read only"="no" 
>>     
> Why are you doing this? 
>
> I think you should reread the excellent Samba docu again. 
>
>   
>> Thanks 
>> -Glenn 
>>
>> ----- Original Message ----- 
>> From: "Glenn T. Arnold" <garnold at
unrealsolutions.com>
>> To: "samba" <samba at lists.samba.org> 
>> Sent: Thursday, July 2, 2009 3:29:29 PM GMT -05:00 US/Canada Eastern 
>> Subject: Re: [Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights 
>> even though I do;-) 
>>
>> Harry, 
>>
>> You did give me an idea though. For grins I just set rights to 0777 
>> even on the extended acls and I still get access denied when trying 
>> to upload print drivers. Here is the updated rights on 
>> /var/lib/samba/printers. 
>>     
> You make your own changes. That's really fine. 
>
>
>
Jeremy Allison
2009-Jul-16  20:20 UTC
[Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do; -)
On Thu, Jul 16, 2009 at 03:11:00PM -0400, Glenn T. Arnold wrote:> Initially when I posted my access problems to print$ I was using the new registry based smb.conf I had my whole configuration in the registry. Now I move my printers and print$ back to the text based smb.conf and I copied the standard ubuntu debian [printers] and [print$] out of the original ubuntu package smb.conf and the only modification that I made was under the [print$] I change read only to no instead of yes. I can not write to the share. Simply renaming print$ section to print I can access the share and write to it with no problems. Any more suggestions? I need to get this resolved. Here is my smb.conf now:Please post a debug level 10 log of the client trying to write. This should make things clearer. Jeremy
Jeremy Allison
2009-Jul-16  22:01 UTC
[Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do; -)
On Thu, Jul 16, 2009 at 05:31:21PM -0400, Glenn T. Arnold wrote:> Here is the level 10 log files I sent the first one as attachments which look > like did not make it through.I don't see any attempts to open the print$ share in these logs. I do see an error : netlogon_creds_server_check: challenge : 14D0450551344C93 calculated: BAB7D8066C1D3129 netlogon_creds_server_check: credentials check failed. _netr_ServerAuthenticate3: netlogon_creds_server_check failed. Rejecting auth request from client WIN7 machine account WIN7$ Is this a Win7 machine ? 3.3.2 doesn't have the fixes for Win7 netlogon credentials in it (hardly suprising as Win7 wasn't even a twinkle in Microsoft's release schedule when 3.3.2 was shipped :-). Jeremy.
Glenn T. Arnold
2009-Jul-20  17:27 UTC
[Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do; -)
Jeremy, I do not think you got my log files, because I went through the log and I did not see the error you are referencing. When I went through the logs I did see references to print$ in the logs. What is a the proper way to post a log? I got bounced by the Samba List server when I paste the information in a post. I sent the log gziped did not get a bounce message, but I am not sure you got the log files. The file that I sent gzip was named print$level10.tar.gz Here is what I found under the two log files for print$ [2009/07/16 16:33:14, 2] param/loadparm.c:do_section(7498) Processing section "[print$]" [2009/07/16 16:33:14, 8] param/loadparm.c:add_a_service(5830) add_a_service: Creating snum = 1 for print$ [2009/07/16 16:33:14, 10] param/loadparm.c:hash_a_service(5877) hash_a_service: hashing index 1 for service name print$ -Glenn ----- Original Message ----- From: "Jeremy Allison" <jra at samba.org> To: "Glenn T. Arnold" <garnold at unrealsolutions.com> Cc: "Jeremy Allison" <jra at samba.org>, samba at lists.samba.org Sent: Thursday, July 16, 2009 6:01:44 PM GMT -05:00 US/Canada Eastern Subject: Re: [Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do; -) On Thu, Jul 16, 2009 at 05:31:21PM -0400, Glenn T. Arnold wrote:> Here is the level 10 log files I sent the first one as attachments which look > like did not make it through.I don't see any attempts to open the print$ share in these logs. I do see an error : netlogon_creds_server_check: challenge : 14D0450551344C93 calculated: BAB7D8066C1D3129 netlogon_creds_server_check: credentials check failed. _netr_ServerAuthenticate3: netlogon_creds_server_check failed. Rejecting auth request from client WIN7 machine account WIN7$ Is this a Win7 machine ? 3.3.2 doesn't have the fixes for Win7 netlogon credentials in it (hardly suprising as Win7 wasn't even a twinkle in Microsoft's release schedule when 3.3.2 was shipped :-). Jeremy.