cifs.conf not updated correctly

  • 7009794
  • 23-Nov-2011
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3

Situation

After updating CIFS in iManager, some functionality may not be reflected correctly in /etc/opt/novell/cifs/cifs.conf.  Mainly, the first updated parameter will appear on the same line as a comment, rather than in its own line in the file.  For example, the end of the file will look like:

### Please do not modify this file, because it will be ignored.-RANGE_LOCK_MASK yes
-OFFLINE 0
-SUBTREE yes
-SUBDIR_CACHE_SIZE 102400
-DIR_CACHE_SIZE 10240
-FILE_CACHE_SIZE 256000

Resolution

This has been reported to engineering.

Additional Information

A quick workaround is to:
  • Update the file to put the first parameter on it's own line (like the following):

    ### Please do not modify this file, because it will be ignored.
    -RANGE_LOCK_MASK yes
    -OFFLINE 0
    -SUBTREE yes
    -SUBDIR_CACHE_SIZE 102400
    -DIR_CACHE_SIZE 10240
    -FILE_CACHE_SIZE 256000

  • restart the cifs service (rcnovell-cifs restart)