The Innerworkings of a Geek

Wednesday, May 21, 2008

novfs ownership woes - NwSetDriveBase2:8804

Something that has really been bugging me is a pest error called NwSetDriveBase2:8804
This error has showed up since SLED10 and persists into SLED10SP1, OpenSUSE 10.3, and OpenSuSE 11 Beta3.

Someone has posted another related issue with this error, but it seems to be unrelated to what I'm facing.
http://forums.novell.com/novell-product-support-forums/open-enterprise-server/oes-platform-independent/oes-client-linux/143685-nwsetdrivebase2-error-mapping-drives.html

I've found two causes to this error. One is an easy fix, the other is the more annoying one...
1) Invalid/Dead symlinks to /var/opt/novell/nclmnt -- when ncl tries to map the drives it sees the file already exists and throws this error. Novell issued a KB on this:
http://www.novell.com/support/viewContent.do?externalId=3810237&sliceId=1

2) Bad ownership on /var/opt/novell/nclmnt -- Example 'ls -la'
drwxrwxrwx 1 root root 0 May 7 17:51 .Servers
drwxrwxrwx 1 root root 0 May 7 17:51 .Trees
drwx------ 1 adfdgel root 0 May 21 07:27 adfdgel
drwx------ 1 fdfdard root 0 May 21 09:05 fdfdard
drwx------ 1 dhgfdon root 0 May 21 10:14 dhgfdon
drwx------ 1 nobody root 0 May 12 18:16 ghdfsen
drwx------ 1 root root 0 May 16 08:26 rsiueon
drwx------ 1 nobody root 0 May 19 18:16 tqkher
**usernames mangled for security**

You'll see above that the first 3 users are working correctly. They have ownership of their directories and are logged in. Users 4 and 6 are not logged in, so their folders are owned by nobody. Thats fine. The problem is with user number 5. rsiueon IS logged in, but his directory is owned by root, therefore he cannot map his drives. However, it seems that if this user goes into the .Servers directory, he can see all the shares just fine.

The only way to fix this is by rebooting. We've tried to log the user on and off multiple times, with no success. I'm not sure whats causing this to happen randomly, but its by far our biggest day-to-day issue with the novell client.

Labels: , , , ,