The Linux sendfile() API improves the performance for file reads. Sendfile() support is disabled by default.
Samba has had problems in the past with sendfile(). If you enable sendfile() and experience problems with Samba, you can disable sendfile() support in the /etc/opt/novell/ncpserv.conf configuration file.
In a Web browser, access Novell Remote Manager for Linux on the server, then log in as the root user.
The URL is the IP address of the server (such as 192.168.1.1) and port 8009.
Selectto view the .
Click the link for thesetting.
In, type a 0 (disable) or 1 (enable), then click .
On the Server Parameter Information page, verify that the new setting is displayed for the SENDFILE_SUPPORT parameter.
Figure 3-1 Confirm Removal of NCP Volume
You can enable or disable sendfile() API support by manually adding or editing the value for the SENDFILE_SUPPORT parameter in the /etc/opt/novell/ncpserv.conf file.
On the OES 11 SP3 server, log in as the root user.
Open the /etc/opt/novell/ncpserv.conf configuration file in a text editor.
For example, to use gedit, open a terminal console, then enter
If the SENDFILE_SUPPORT parameter is not present, add the following line as the default setting of disabled:
You can optionally enable sendfile support by changing the value from 0 to 1.
Save the file.
Restart the NetIQ eDirectory (ndsd) daemon by entering the following commands:
Synchronize the change with NSS by restarting /etc/init.d/ncp2nss. At a terminal console prompt, enter the following as the root user: