Chapter 10. File Access
On the other hand, using Netware mode (if your fileserver runs Netware 6.5 or later) means you don’t
have to assign uid and gid values to all home directories from the Linux side, since Netware will do this
translation on the server side. However, since a NFS export from Netware 6.5 doesn’t support hard links,
the export can’t be used as a home directory without special care. Also, be aware of the fact that trustees
won’t work, so a shared directory where several people have read/write permissions can’t be used in a
decent way.
10.2.4.1. Requirements
10.2.4.1.1. Novell Netware Requirements
First you need to make sure that you have the Novell Native File Access for UNIX installed. This
contains the NFS server components and NDS schema extensions. You should install the available
service packs for your Netware system. Then Native File Access for UNIX is initially installed, it runs
the command schinst, which extends the NDS schemas.
If NDS is reinstalled, if you for example installs a Netware service pack, you may have to run it
manually afterwards. After schinst you should run nisinst which extends the schemas with NIS info,
which is needed. You should run nfsstop before and nfsstart after these commands.
10.2.4.1.2. UNIX Requirements
Of course you need some user handling, for example NIS, LDAP, NDS or similar.
10.2.4.2. NDS Configuration
Before you can export a Netware traditional file system you need to run the command:
$ add namespace nfs <filesystem>
Before this you won’t see the file system in the list of file systems possible to export in ConsoleOne and
the NFS server won’t be able to export it even if you add the filesystem to SYS:\ETC\NFSEXPRT
manually
When you have added the NFS namespace you need to export some volumes from the Netware server. In
Netware 6.0 this is done using ConsoleOne. First connect to the NDS tree, and then to the NFS server.
When you add the exports you can tell from which machines the root user will have root access to the
files (similar to no_root_squash on UNIX systems). In Netware 6.5, this configuration is instead done
via iManager - using ConsoleOne won’t work.
If you read users and groups from NDS (by using nss_ldap ) you should add a group, for instance
unixusers . In the group settings you should set the GID in the UNIX -tab. Then you add your users to
the group. You should also make sure that the Admin user has UID 0 set in the UNIX -tab.
To get file locking you need to run the lock file daemon. You can start it with the command:
$ load lockd
You probably want to add this to your startup files to make sure that it’s running from start. Also note
that if you are running ZENworks for Desktops, you want to change the load order in AUTOEXEC.NCF so
118
Comentarios a estos manuales