NCP 89 (06) returns a long name instead of a DOS name for directories.

  • 7015161
  • 10-Jun-2014
  • 10-Jun-2014

Environment

Novell Open Enterprise Server 2 (OES 2) Linux
Novell Open Enterprise Server 11 (OES 11) Linux

Situation

NCP 89(06) returns a long name instead of a DOS name for directories in the entryName field when the source name space is NW_NS_LONG and the target name space is NW_NS_DOS.


Example using a small test program against a NetWare server :
C:\dev\>ncp8906dn nw65sp8 vol1:temp\makehomeetchold
nsEntry.entryName = MAKEHO~1
nsEntry.DOSName = MAKEHO~1

C:\dev\>ncp8906dn nw65sp8 vol1:temp\jrbusersg.exe
nsEntry.entryName = JRBUSE~1.EXE
nsEntry.DOSName = JRBUSE~1.EXE

Example using a small test program against OES Linux (OES2 SP2a through OES11 SP1) server :
C:\dev\>c:ncp8906dn oes2 VOL1:temp\makehomeetchold
nsEntry.entryName = makehomeetchold
nsEntry.DOSName = MAKEHO~1

C:\dev\>ncp8906dn oes2 vol1:temp\jrbusersg.exe
nsEntry.entryName = JRBUSE~1.EXE
nsEntry.DOSName = JRBUSE~1.EXE


Resolution

The logic that was already previously in place when accessing files, has now also been applied to folders.
So when the function GetNetWareFolderInfo (which is used for accessing folders) is called, the destination namespace is properly taken into account.

Cause

The function GetNetWareFolderInfo (for folders) for NCP 89(06) did not previously take the destination namespace into account.


Bug Number

792583

Additional Information

Note : The solution has not yet been released though our OES 11 Scheduled Maintenance patches.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.