Fix a segfault when we don't correctly load a VFS module (don't keep it in
authorAndrew Bartlett <abartlet@samba.org>
Mon, 6 Jan 2003 06:15:34 +0000 (06:15 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 Jan 2003 06:15:34 +0000 (06:15 +0000)
commit41178afdbd2b3de94cf272ce32764a1947e73ea8
tree3448673f5ff87f5a99dc31c58e9e86d2f7f22aa6
parent5c2e34b5b6a2241b8d2fd68458eb73bb65ade6fd
Fix a segfault when we don't correctly load a VFS module (don't keep it in
the loaded list on error).  Also change some of the error returns, becouse
NT_STATUS_UNSUCCESSFUL gives a most useless error message on the client.

As for which error, my logic is that a share without a valid VFS module is
not a valid share, and therefore should return the same error as a non-existant
share.

Andrew Bartlett
source/smbd/service.c
source/smbd/vfs.c