Table D-1 CIFS Configuration Files
Path |
Description |
---|---|
/etc/opt/novell/cifs/cifs.conf |
CIFS server |
/etc/opt/novell/cifs/cifsctxs.conf |
List of eDirectory contexts having CIFS users |
/etc/opt/novell/cifs/cifslogrotate |
Initiates the rotation using the cifslogrotate.conf file |
/etc/opt/novell/cifs/cifslogrotate.conf |
Hourly rotation of CIFS log file |
/etc/opt/novell/cifs/logrotate.d/novell-cifs-hourly |
Customized hourly rotation of CIFS log file |
/opt/novell/cifs/share/nmasmthd/ntlm/config.txt |
Used by installation of CIFS NMAS method into eDirectory tree |
Table D-2 CIFS Log Files
Path |
Description |
---|---|
/var/log/cifs/cifs.log |
CIFS server run-time |
/var/opt/novell/log/cifs.log |
Soft link to /var/log/cifs/cifs.log |
With the CIFS logrotate function, you can now administer your log files on an hourly basis. The cron job checks the size of the log file on a hourly basis to see if it exceeds the predefined quota. If the quota is crossed, the existing file is rotated and logging information is written to a new file.
This operation continues until there are 10 cifslog files. When the last cifslog file reaches the predefined quota, the first log file is rotated.
To implement this feature, copy the cifslogrotate file to /etc/cron.hourly/ and remove the /etc/logrotate.d/ novell-cifs configuration file.