uint32_t create_disposition;
uint32_t create_options = 0;
uint32_t private_flags = 0;
- uint32_t ucf_flags = (lp_posix_pathnames() ? UCF_POSIX_PATHNAMES : 0);
+ uint32_t ucf_flags = (req->posix_pathnames ? UCF_POSIX_PATHNAMES : 0);
TALLOC_CTX *ctx = talloc_tos();
/*
goto out;
}
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_posix(ctx,
params,
req->flags2,
struct dptr_struct *dirptr = NULL;
struct smbd_server_connection *sconn = req->sconn;
uint32_t ucf_flags = UCF_SAVE_LCOMP | UCF_ALWAYS_ALLOW_WCARD_LCOMP |
- (lp_posix_pathnames() ? UCF_POSIX_PATHNAMES : 0);
+ (req->posix_pathnames ? UCF_POSIX_PATHNAMES : 0);
bool backup_priv = false;
bool as_root = false;
goto out;
}
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_wcard_posix(ctx,
params,
req->flags2,
if (!continue_bit) {
/* We only need resume_name if continue_bit is zero. */
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_wcard_posix(ctx,
params,
req->flags2,
} else {
uint32_t name_hash;
char *fname = NULL;
- uint32_t ucf_flags = (lp_posix_pathnames() ?
+ uint32_t ucf_flags = (req->posix_pathnames ?
UCF_POSIX_PATHNAMES : 0);
/* qpathinfo */
}
}
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_posix(req,
params,
req->flags2,
{
char *oldname = NULL;
struct smb_filename *smb_fname_old = NULL;
- uint32_t ucf_flags = (lp_posix_pathnames() ? UCF_POSIX_PATHNAMES : 0);
+ uint32_t ucf_flags = (req->posix_pathnames ? UCF_POSIX_PATHNAMES : 0);
TALLOC_CTX *ctx = talloc_tos();
NTSTATUS status = NT_STATUS_OK;
return NT_STATUS_INVALID_PARAMETER;
}
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_posix(ctx,
pdata,
req->flags2,
char *newname = NULL;
struct smb_filename *smb_fname_dst = NULL;
uint32_t ucf_flags = UCF_SAVE_LCOMP |
- (lp_posix_pathnames() ? UCF_POSIX_PATHNAMES : 0);
+ (req->posix_pathnames ? UCF_POSIX_PATHNAMES : 0);
NTSTATUS status = NT_STATUS_OK;
TALLOC_CTX *ctx = talloc_tos();
return NT_STATUS_INVALID_PARAMETER;
}
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_posix(ctx,
pdata,
req->flags2,
struct smb_filename *smb_fname_dst = NULL;
NTSTATUS status = NT_STATUS_OK;
uint32_t ucf_flags = UCF_SAVE_LCOMP |
- (lp_posix_pathnames() ? UCF_POSIX_PATHNAMES : 0);
+ (req->posix_pathnames ? UCF_POSIX_PATHNAMES : 0);
TALLOC_CTX *ctx = talloc_tos();
if (!fsp) {
return NT_STATUS_INVALID_PARAMETER;
}
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_posix(ctx,
pdata,
req->flags2,
return NT_STATUS_INVALID_PARAMETER;
}
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_wcard_posix(ctx,
pdata,
req->flags2,
}
} else {
char *fname = NULL;
- uint32_t ucf_flags = (lp_posix_pathnames() ?
+ uint32_t ucf_flags = (req->posix_pathnames ?
UCF_POSIX_PATHNAMES : 0);
/* set path info */
}
info_level = SVAL(params,0);
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_posix(req,
params,
req->flags2,
char *directory = NULL;
NTSTATUS status = NT_STATUS_OK;
struct ea_list *ea_list = NULL;
- uint32_t ucf_flags = (lp_posix_pathnames() ? UCF_POSIX_PATHNAMES : 0);
+ uint32_t ucf_flags = (req->posix_pathnames ? UCF_POSIX_PATHNAMES : 0);
TALLOC_CTX *ctx = talloc_tos();
if (!CAN_WRITE(conn)) {
return;
}
- if (lp_posix_pathnames()) {
+ if (req->posix_pathnames) {
srvstr_get_path_posix(ctx,
params,
req->flags2,