smbd: add "get_dosmode" argument to smbd_dirptr_lanman2_entry()
[sfrench/samba-autobuild/.git] / source3 / smbd / trans2.c
index af7a0d7248420929cd1272816ebc65f42ae7e275..118f44c6e24bc02b19d516890b580935d8cbb971 100644 (file)
@@ -2450,6 +2450,7 @@ NTSTATUS smbd_dirptr_lanman2_entry(TALLOC_CTX *ctx,
                               int requires_resume_key,
                               bool dont_descend,
                               bool ask_sharemode,
+                              bool get_dosmode,
                               uint8_t align,
                               bool do_pad,
                               char **ppdata,
@@ -2588,7 +2589,7 @@ static NTSTATUS get_lanman2_dir_entry(TALLOC_CTX *ctx,
        return smbd_dirptr_lanman2_entry(ctx, conn, dirptr, flags2,
                                         path_mask, dirtype, info_level,
                                         requires_resume_key, dont_descend, ask_sharemode,
-                                        align, do_pad,
+                                        true, align, do_pad,
                                         ppdata, base_data, end_data,
                                         space_remaining,
                                         got_exact_match,