s3: VFS: Change SMB_VFS_CONNECTPATH to take const struct smb_filename * instead of...
[samba.git] / source3 / smbd / open.c
index 0eedf963f31ab54b537e75ac25425c64bfc8ffe2..3ccee36e6f1993d20a04c19a7aa4555145eaaba4 100644 (file)
@@ -688,7 +688,7 @@ NTSTATUS fd_open(struct connection_struct *conn,
        if (!lp_widelinks(SNUM(conn))) {
                struct smb_filename *conn_rootdir_fname = NULL;
                const char *conn_rootdir = SMB_VFS_CONNECTPATH(conn,
-                                               smb_fname->base_name);
+                                               smb_fname);
                int saved_errno = 0;
 
                if (conn_rootdir == NULL) {