Novell Netware + SUSE ohne Novell-Client

Novell Netware + SUSE ohne Novell-Client
HowTo (für mich und andere Willige) für den schreibenden und lesenden Zugriff auf Novell Netware Dateisysteme mit SUSE 10.0 OSS ohne Novell-Client.

Funktioniert über /etc/fstab und mount. Danke an Novell Cool Solutions.

Voraussetzung (nicht verifiziert): gleichlautender Novell- und *nix-Login.

linux:~ > su
[tippel,tippel,tippel]

linux:/ # apt-get install ncpfs
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  ncpfs
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 801kB of archives.
After unpacking 2985kB of additional disk space will be used.
Get:1 ftp://ftp.uni-erlangen.de openSUSE/10.0-i586/base ncpfs 2.2.6-7 [801kB]
Fetched 801kB in 0s (1012kB/s)
Committing changes...
Preparing...                ########################################### [100%]
   1:ncpfs                  ########################################### [100%]
Updating etc/sysconfig/ncpfs...
Done.

# Mountpunkt kreieren
linux:/ # mkdir -p /local.stand/rznwhome

# Passwort-Datei erstellen
linux:/ # echo "NOVELL-SERVER.rrze.uni-erlangen.de/" \
? "NOVELL-LOGIN.mitarbeiter.rrze.fau:" \
? "NOVELL-PASSWORT" > /etc/ncp-pass

# sicher ist sicher...
linux:/ # chmod 600 /etc/ncp-pass
linux:/ # cp /etc/fstab /etc/fstab.orig
linux:/ # vi /etc/fstab

# Das an die bisherigen Mountpoints anhängen:
# Achtung: "\" in diesem Absatz heißt nur,
# daß eigentlich alles in Zeile muß - 
# bitte nicht tatsächlich eintragen!
# Zeilenumbruch am Schluß nicht vergessen - 
# das mag die fstab Datei...
NOVELL-SERVER.rrze.uni-erlangen.de/NOVELL-LOGIN.mitarbeiter.rrze.fau \
/local.stand/rznwhome ncp uid=NOVELL-LOGIN,gid=LINUX-GRUPPE,mode=660,owner=root,\
A=NOVELL-SERVER.rrze.uni-erlangen.de,passwdfile=/etc/ncp-pass 0 0

# Mounten des Datei-Systems
linux:/ # mount -a -t ncp
# ACHTUNG: Umount des Datei-Systems
linux:/ # umount -a -t ncpfs