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.
https://192.168.1.1:8009
Select
to view the .Click the link for the
setting.In
, type a 0 (disable) or 1 (enable), then click .On the
page, verify that the new setting is displayed for the parameter.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 2 Linux 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
gedit /etc/opt/novell/ncpserv.conf
If the SENDFILE_SUPPORT parameter is not present, add the following line as the default setting of disabled:
SENDFILE_SUPPORT 0
You can optionally enable sendfile support by changing the value from 0 to 1.
SENDFILE_SUPPORT 1
Save the file.
Restart the Novell eDirectory (ndsd) Daemon by entering the following commands:
/etc/init.d/ndsd stop
/etc/init.d/ndsd start
Synchronize the change with NSS by restarting /etc/init.d/ncp2nss. At a terminal console prompt, enter the following as the root user:
/etc/init.d/ncp2nss restart