s4 torture: Fix call to smbcli_open
authorZachary Loafman <zachary.loafman@isilon.com>
Wed, 18 Nov 2009 22:42:31 +0000 (22:42 +0000)
committerTim Prouty <tprouty@samba.org>
Fri, 4 Dec 2009 04:46:29 +0000 (20:46 -0800)
Signed-off-by: Tim Prouty <tprouty@samba.org>
source4/torture/raw/lookuprate.c

index e26c5b0b894d94dfc444eba3e57f496c7f5daa31..13605f5b71ec5a16198ef3e57860e2ae70b86521 100644 (file)
@@ -93,7 +93,7 @@ static NTSTATUS fill_directory(struct smbcli_tree *tree,
                                    path, current);
 
                fnum = smbcli_open(tree, fname, O_RDONLY|O_CREAT,
-                               OPENX_MODE_DENY_NONE);
+                               DENY_NONE);
                if (fnum < 0) {
                        talloc_free(fname);
                        return smbcli_nt_error(tree);