The Samba-Bugzilla – Bug 1897
nmdb_serverlistdb.c - OpenVMS filename restriction workaround.
Last modified: 2010-04-26 03:45:48 UTC
This is for tracking an OpenVMS specific issue.
In nmbd_serverlistdb.c, the new filename is formed by appending a "." character
to the existing filename.
With the OpenVMS ODS-2 filename, such a filename is illegal. Currently this has
been either resolved by using a wrapper library on the VMS file calls, or by
manually editing the module.
The wrapper libraries are not an optimal solution as the operating system must
fully decode the UNIX path to determine what file system is in use and how to
encode the file. This is also relatively CPU intensive.
Once the VMS port is converted to use VFS modules, the need in most cases for
special wrapper libraries in SAMBA is gone.
If the current code were changed from:
Where SERVER_LIST_NEW would default to the same value as SERVER_LIST with a "."
appended to it, but could be overriden by a value in CONFIG.H.
Another possibility is to have a macro instead of "." defaulting to "." that
could be overridden at build time.
There is a similar issue in debug.c with renaming old debug files.
If it's still broken in 3.5, please reopen.
3.0 isn't supported anymore.