Bug 5179 - VFS connection not properly established for MS DFS
Summary: VFS connection not properly established for MS DFS
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: VFS (show other bugs)
Version: 3.0.28
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2008-01-08 19:01 UTC by Constantin Scheder
Modified: 2008-01-08 19:01 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Constantin Scheder 2008-01-08 19:01:32 UTC
The function create_conn_struct in msdfs.c calls smbd_vfs_init followed by vfs_ChDir. The vfs_ChDir call will usually fail on any VFS module (other than the default which talks to the local file system) because smbd_vfs_init only loads the module but does not establish a connection with the module (which is the job of SMB_VFS_CONNECTION). The SMB_VFS_CONNECTION call does not always come before the call to create_conn_struct in msdfs.c.