Re: svn commit: samba r23803 - in branches/SAMBA_3_2_0/source/utils: .

2007-07-10 Thread simo
On Tue, 2007-07-10 at 07:17 +, [EMAIL PROTECTED] wrote:
> Author: tridge
> Date: 2007-07-10 07:17:34 + (Tue, 10 Jul 2007)
> New Revision: 23803
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23803
> 
> Log:
> fixed the build.
> 
> This seems to be have broken for quite a while.
> 
> Modified:
>branches/SAMBA_3_2_0/source/utils/smbcacls.c
> 
> 
> Changeset:
> Modified: branches/SAMBA_3_2_0/source/utils/smbcacls.c
> ===
> --- branches/SAMBA_3_2_0/source/utils/smbcacls.c  2007-07-10 05:42:52 UTC 
> (rev 23802)
> +++ branches/SAMBA_3_2_0/source/utils/smbcacls.c  2007-07-10 07:17:34 UTC 
> (rev 23803)
> @@ -737,7 +737,7 @@
>  and W2K. JRA.
>   */
>  
> - sd = make_sec_desc(ctx,old->revision, old->type, old->owner_sid, 
> old->grp_sid,
> + sd = make_sec_desc(ctx,old->revision, old->type, old->owner_sid, 
> old->group_sid,
>  NULL, old->dacl, &sd_size);
>  
>   fnum = cli_nt_create(cli, filename, 
> WRITE_DAC_ACCESS|WRITE_OWNER_ACCESS);

Doh, in 3.0.25b it is old->group_sid, infact changing #if 0 -> #if 1
compiled perfectly fine ... very strange.

Sorry, I didn't notice it was different in 3_0_26/3_0

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: [EMAIL PROTECTED]
http://samba.org



svn commit: samba r23803 - in branches/SAMBA_3_2_0/source/utils: .

2007-07-10 Thread tridge
Author: tridge
Date: 2007-07-10 07:17:34 + (Tue, 10 Jul 2007)
New Revision: 23803

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23803

Log:
fixed the build.

This seems to be have broken for quite a while.

Modified:
   branches/SAMBA_3_2_0/source/utils/smbcacls.c


Changeset:
Modified: branches/SAMBA_3_2_0/source/utils/smbcacls.c
===
--- branches/SAMBA_3_2_0/source/utils/smbcacls.c2007-07-10 05:42:52 UTC 
(rev 23802)
+++ branches/SAMBA_3_2_0/source/utils/smbcacls.c2007-07-10 07:17:34 UTC 
(rev 23803)
@@ -737,7 +737,7 @@
   and W2K. JRA.
*/
 
-   sd = make_sec_desc(ctx,old->revision, old->type, old->owner_sid, 
old->grp_sid,
+   sd = make_sec_desc(ctx,old->revision, old->type, old->owner_sid, 
old->group_sid,
   NULL, old->dacl, &sd_size);
 
fnum = cli_nt_create(cli, filename, 
WRITE_DAC_ACCESS|WRITE_OWNER_ACCESS);