summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-12 05:10:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:49 -0500
commit52f525c104ae2d17901f104cbf482395dc803cc1 (patch)
tree1ccd6d3879a0d82311f8796cb15e958b1e77ab5a /source4/ntvfs/posix/vfs_posix.c
parentc7130b816b29cab981646482e57cb6923ae91b4f (diff)
downloadsamba-52f525c104ae2d17901f104cbf482395dc803cc1.tar.gz
samba-52f525c104ae2d17901f104cbf482395dc803cc1.tar.bz2
samba-52f525c104ae2d17901f104cbf482395dc803cc1.zip
r2927: imported the hash2 name mangling code from Samba3 into Samba4, but
heavily modified to suit the Samba4 architecture. Samba4 with posix backend now passes the BASE-MANGLE test (This used to be commit ed52d69e8a065b6a8df2fb73c89be67acfdbca65)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r--source4/ntvfs/posix/vfs_posix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c
index 1990f77f82..7d532c3596 100644
--- a/source4/ntvfs/posix/vfs_posix.c
+++ b/source4/ntvfs/posix/vfs_posix.c
@@ -57,6 +57,7 @@ static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs,
struct pvfs_state *pvfs;
struct stat st;
char *base_directory;
+ NTSTATUS status;
pvfs = talloc_p(tcon, struct pvfs_state);
if (pvfs == NULL) {
@@ -84,6 +85,11 @@ static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs,
ntvfs->private_data = pvfs;
+ status = pvfs_mangle_init(pvfs);
+ if (!NT_STATUS_IS_OK(status)) {
+ return status;
+ }
+
pvfs_setup_options(pvfs);
return NT_STATUS_OK;