[GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
[gd/samba/.git] / source / libsmb / clisecdesc.c
index e55be48e9401eb34922efdaef19bc05558283451..24757434794068b23552c41f9aa4e1a5ee5293f7 100644 (file)
@@ -107,11 +107,11 @@ BOOL cli_set_secdesc(struct cli_state *cli, int fnum, SEC_DESC *sd)
 
        SIVAL(param, 0, fnum);
 
-       if (sd->dacl)
+       if (sd->off_dacl)
                sec_info |= DACL_SECURITY_INFORMATION;
-       if (sd->owner_sid)
+       if (sd->off_owner_sid)
                sec_info |= OWNER_SECURITY_INFORMATION;
-       if (sd->group_sid)
+       if (sd->off_grp_sid)
                sec_info |= GROUP_SECURITY_INFORMATION;
        SSVAL(param, 4, sec_info);