Vista and setting printer ACLs

Martin Zielinski mz at seh.de
Wed Jan 31 12:50:03 GMT 2007


Too hasty ;-/

--- samba-3.0.23d.orig/source/rpc_parse/parse_spoolss.c 2006-06-23 
15:16:52.000000000 +0200
+++ samba-3.0.23d/source/rpc_parse/parse_spoolss.c      2007-01-31 
13:49:02.000000000 +0100
@@ -3897,7 +3897,7 @@
                         break;
                 }
         }
-       if (ptr_sec_desc)
+       if (q_u->level == 3 || ptr_sec_desc)
         {
                 if (!sec_io_desc_buf(desc, &q_u->secdesc_ctr, ps, depth))
                         return False;


Martin Zielinski schrieb:
[...]
> -       if (ptr_sec_desc)
> +       if ((q_u->level == 3 && !ptr_sec_desc) || ptr_sec_desc)
[...]
-- 
Martin Zielinski             mz at seh.de
Software Development
SEH Computertechnik GmbH     www.seh.de



More information about the samba-technical mailing list