Environment
 Novell Open Enterprise Server 2 (OES 2) Linux
Novell Open Enterprise Server 11 (OES 11) Linux
Novell Cluster Services
CIFS
  
Novell Open Enterprise Server 11 (OES 11) Linux
Novell Cluster Services
CIFS
Situation
- Manually adding CIFS to Virtual Server from the command line
 - Adding a Virtual Server is failed
 - Error: Unknown, error number: 22101
 - Debug cifs.log; e.g. /var/opt/novell/log/cifs.log
 - Aug 23 13:28:06 pink CIFS[5717]: DEBUG: ENTRY: VOLInfoAddOneMountPoint Fails
 - Aug 23 13:28:06 pink CIFS[5717]: ERROR: ENTRY: CIFSNDSReadFromNDS: Error adding a new share (CIFSNDSPutSharePointInfo): -1
 - Aug 23 13:28:06 pink CIFS[5717]: CRITICAL: CLI: AddServer: CIFSNDSReadFromNDS(): Unable to read attributes of .cn=FLOYD_SERVER.ou=Cluster.o=Novell.t=DARKSIDE. from NDS, error = -1
 - load.out file; e.g. /var/opt/novell/log/ncs/FLOYD_SERVER.load.out
 - Adding a Virtual Server is failed
 - Error: Unknown, error number: -1
 
Resolution
 Ensure that the nfapCIFSShares attribute shows the path in the correct format on the Virtual Server object (See Additional Information, below).
- Correct: 'VOLUME1' 'VOLUME1' 0 'NSS Volume'
 - Incorrect: 'VOLUME1:\' 'VOLUME1' 0 'NSS Volume'
 
Cause
 The nfapCIFSShares attribute may have become corrupt.  Possible causes are
- Cluster Resource upgraded from earlier versions of Cluster Services; e.g. NetWare or OES
 - Old iManager snapins or ConsoleOne used to administer NCS on OES
 
Additional Information
 Troubleshooting/debugging steps
			- Enable CIFS debugging and info
 - Troubleshooting and Debugging CIFS on Open Enterprise Server
 - https://www.novell.com/support/7008956
 - Enable NCS debugging
 - Novell Cluster Services on OES2 Linux Trace and Debug Commands
 - https://www.novell.com/support/7005837
 - Attempt to add CIFS to Virtual Server object manually, outside of the NCS Load Script
 - novcifs --add --vserver=.CN=FLOYD_SERVER.OU=Cluster.O=Novell.T=DARKSIDE. --ip-addr=10.2.43.48
 - Take a network trace (tcpdump/Wireshark) to see which eDirectory attributes are being requested
 - Compare to a working resource
 - Examine/Edit Virtual Server Object Attributes
 - iManager -> Directory Administration -> Modify Object -> <Browse to Virtual Server Object> -> General tab -> Other subtab -> nfapCIFSShares -> Edit