[Samba] "Open Extend >> " doesn't work anymore... !

Mariotto Francesco francesco.mariotto at vulcaniasystem.it
Wed Jul 4 09:24:10 GMT 2007


Jeremy Allison wrote:
> On Tue, Jul 03, 2007 at 06:48:18PM +0200, Mariotto Francesco wrote:
>   
>> On Windows XP and 2003 !!!
>> Linux Server CentOS has CUPS and Samba 3.0.25 with all printers privileges.
>>
>> I've problems with a program.
>> Printing system does:
>>
>> type test.txt  >>  \\lnxsrv\printer
>>
>> and it return:
>> "the parameter is incorrect"
>>
>> but if i try:
>> type test.txt  >  \\lnxsrv\printer
>>
>> it works
>>
>> but with early samba, before 3.0.21 release "open extend >> " it works !
>> with last samba release 3.0.25 doesn't works and it returns me error ! Only 
>> simple > works now !
>>     
>
> I can't reproduce this with 3.0.25b.
>
> Jeremy.
>
>   
ACL of samba v: 3.0.25b on Centos5 lnxsrv1 that NOT WORK !

    "\\lnxsrv1\hp1200",3,
           "DACL(not_protected):Everyone,
           print+GENERIC_EXECUTE, allow, 
container_inherit:BUILTIN\Administrators,
           manage_printer+GENERIC_ALL, allow, 
object_inherit+inherit_only:BUILTIN\Administrators,
           manage_printer+GENERIC_ALL, allow, container_inherit"


ACL of samba v: 3.0.21 on Centos5 lnxsrv1 that WORK !

    "\\lnxsrv1\hp1200",3,"DACL(not_protected):Creator Owner,
           READ_CONTROL, allow, container_inherit+inherit_only:Creator 
Owner,
           GENERIC_ALL, allow, object_inherit+inherit_only:Everyone,
           print, allow, no_inheritance:Everyone,
           GENERIC_EXECUTE, allow, 
container_inherit+inherit_only:BUILTIN\Administrators,
           manage_printer, allow, no_inheritance:BUILTIN\Administrators,
           GENERIC_ALL, allow, 
container_inherit+object_inherit+inherit_only:BUILTIN\Power Users,
           manage_printer, allow, no_inheritance:BUILTIN\Power Users,
           GENERIC_ALL, allow, 
container_inherit+object_inherit+inherit_only"


ACL of w2003ts with shared printer, it WORKS (returns equal ACL of lnxsrv1):

    "\\w2003ts\hp1200",3,"DACL(not_protected):CREATOR OWNER,
           READ_CONTROL,allow,container_inherit+inherit_only:CREATOR OWNER,
           GENERIC_ALL,allow,object_inherit+inherit_only:Everyone,
           print,allow,no_inheritance:Everyone,
           
GENERIC_EXECUTE,allow,container_inherit+inherit_only:BUILTIN\Administrators,
           manage_printer,allow,no_inheritance:BUILTIN\Administrators,
           
GENERIC_ALL,allow,container_inherit+object_inherit+inherit_only:BUILTIN\Power 
Users,
           manage_printer,allow,no_inheritance:BUILTIN\Power Users,
           GENERIC_ALL,allow,container_inherit+object_inherit+inherit_only"


How can i change ACL for printers in samba 3.0.25b ?

Please help me


More information about the samba mailing list