Linux / Unix access to Netware files
Prerequisites
- A recent kernel compiled with NCPFS (module also acceptable). For case sensitive and long filenames, Use NFS namespace if available (
NCPFS_NFS_NS) should be enabled.
- A recent installation of the NCPFS tools. ftp://platan.vc.cvut.cz/pub/linux/ncpfs/
- Knowledge of what servers your home and shared directories exist on.
- A suitable mount point on your local filesystem.
Mounting Netware volumes
With a root account enter the following ncpmount command:
ncpmount -S <servername> -A <DNS name of server> -U <username.context> -V <volume> <mountpoint> -m
e.g.
root@linuxpc ~ # ncpmount -s its-fshd-b01 -A its-fshd-b01.its.monash.edu.au \ -U jcitizen.is.its.monash -V usr/its/shared /mnt/nw6_shared -m
password:
root@linuxpc ~ #
Automatically mounting Netware volumes at boot
If you wish to have your Netware volumes mounted during system bootup, edit the /etc/fstab and append ncp entries:
server/<username.context> <mountpoint> ncp \ defaults,owner=root,ipserver=<DNS name of server>,mode=755,uid=<user id>,gid=<group id>,volume=usr/path/to/directory,passwdfile=<path to password file>,multiple
e.g.
its-fshd-b01/jcitizen.is.its.monash /mnt/nw6_shared ncp \ defaults,owner=root,ipserver=its-fshd-b01.its.monash.edu.au,mode=755,uid=jane,gid=users,volume=usr/its/shared,passwdfile=/home/jane/.pw,multiple
Notes
Password files should be in the following format:
<server>/<username.context>:<password>
|