The Innerworkings of a Geek

Wednesday, July 09, 2008

Novell Client 2.0 works in OpenSUSE11!

I'm not sure if I'm the only one who uses the novell client to log multiple users in on one machine, but bug reports sure don't show a whole lot of progress.

However! today, I think I have a patch that will fix the NWdrivebase issue seen here:
http://www.fcdnet.org/japerry/2008/05/novfs-ownership-woes.html

Basically there is some problem with random users getting assigned to the root directory that mounts servers for the novell client. Since I couldn't find where the user failure was, I decided it'd be good enough to change permissions. The sub folder isn't affected, so security is retained.

Patch here: http://fcdnet.org/japerry/novfs-permissions.patch

To apply this patch, go into fs/novfs in the kernel-source. You'll have to rebuild the kernel (but don't have to make install it) but just copy /proc/config.gz into your src directory, unzip and rename it .config. Make sure the .config includes NOVFS=m. Apply the novfs patch included here, type in make, and wait for a bit. When finished copy the novfs.ko into /lib/modules/KERNELNAME/kernel/fs/novfs/ -- if you want, backup the current novfs.ko file in the folder.
This should change the permissions from 0700 to 0777, which will allow the user to delete the directory upon logout. You'll notice that once inside /var/opt/novell/nclmnt/USERNAME that the Servers are all 0700 owned by the correct user.

0 Comments:

Post a Comment

<< Home