CIFS login failure - Login Sequence Windows Native File Access not valid

  • 3164285
  • 26-Mar-2007
  • 26-Apr-2012

Environment

Novell NetWare 6.5
Novell Open Enterprise Server (OES)

Situation

Trying to access access a CIFS share on a NetWare server fails.
Enabling a NMAS Trace at the server console with dstrace, or in iMonitor shows the following errors.
At the Server console, DSTRACE , DSTRACE -ALL , DSTRACE +TIME +TAGS +NMAS SCREEN ON FILE ON This writes to the dstrace screen or to a sys:system\dstrace.log file. To shutoff, UNLOAD DSTRACE
NMAS: [2007/03/26 11:15:08] 0: Sequence Selected =="Windows Native File Access"
NMAS: [2007/03/26 11:15:08] 0: Login Sequence Windows Native File Access not valid.
NMAS: [2007/03/26 11:15:08] 0: Login Sequence NDS is valid.
NMAS: [2007/03/26 11:15:08] 0: Login Sequence Challenge Response is valid.
NMAS: [2007/03/26 11:15:08] 0: Login Sequence Kerberos is valid.
NMAS: [2007/03/26 11:15:08] 0: ERROR: -1660 CanDo
NMAS: [2007/03/26 11:15:08] 0: ERROR: -1660 NMAS Manager
NMAS: [2007/03/26 11:15:08] 0: < NMAS: [2007/03/26 11:15:08] 0: < NMAS: [2007/03/26 11:15:08] 0: >>ServerGet: message size=8 queue size 0
NMAS: [2007/03/26 11:15:08] 0: < NMAS: [2007/03/26 11:15:08] 0: NMAS_CanDo sendMessage 0
NMAS: [2007/03/26 11:15:08] 0: Client Session Destroy Request
NMAS: [2007/03/26 11:15:08] 0: Local Session Cleared (Not Destroyed)
NMAS: [2007/03/26 11:15:08] 0: Server thread exited
NMAS: [2007/03/26 10:39:03] 2: Create NMAS Session
NMAS: [2007/03/26 10:39:03] 2: CheckIfLocalUser: client supplied user DN User1.O=novell
NMAS: [2007/03/26 10:39:03] ERROR: -16049 GetXKey: dal_readAttributeValues (key)
NMAS: [2007/03/26 10:39:04] 2: CheckIfLocalUser: checking actual user DN CN=User1.O=novell
NMAS: [2007/03/26 10:39:04] 2: Create thread request
NMAS: [2007/03/26 10:39:04] 2: No free threads in pool. Creating a new thread.
NMAS: [2007/03/26 10:39:04] 0: Created thread 0x915080c8, handle 0
NMAS: [2007/03/26 10:39:04] 2: Created a new thread. Pool contains 1 free threads, 0 running threads
NMAS: [2007/03/26 10:39:04] 2: Using thread 0x915080c8
NMAS: [2007/03/26 10:39:04] 2: Server thread started
NMAS: [2007/03/26 10:39:04] 2: NMAS_CanDo StartClientSession 0
NMAS: [2007/03/26 10:39:04] 2: ClientPut: message size=8 queue Size 0
NMAS: [2007/03/26 10:39:04] 2: ClientPut: message size=7 queue Size 8
NMAS: [2007/03/26 10:39:04] 2: NMAS_CanDo sendMessage 0
NMAS: [2007/03/26 10:39:04] 2: ClientGet: message size=8 queue Size 0

After viewing the Login Policy, under the Security container, it did not show any login Method of Windows Native File Access. Under the Login Method Container in the Security Container, it did not show the Windows Native File Access login method their either.
Search: 1660 -1660 16049 -16049

Resolution

The Windows Native File Access login sequence method is missing. The easiest way to resolve this issue is with ConsoleOne.
Browse in ConsoleOne, under the Security Container, then under the Login Method, create a new "SAS:NMAS Login Method" object.
  • Browse out and select the config.txt file on your your server. ...\PUBLIC\NMAS\METHODS\CIFS2\CONFIG.TXT
  • Click NEXT, NEXT, NEXT, then FINISH. Leave the Create Login sequence checked on the finish page.
Try logging in with CIFS again and it should work.
If it still fails, verify your Tree Keys are all synchronized. KB 3092072 - Verifying and Resolving Tree Key Inconsistencies will walk you through that process.