This page shows how to mount a Netware filesystem and create symbolic links to it on the User Desktop.
What is Needed
ipx - utilities to configure the kernel ipx interface. ncpfs - a set of utilities to use resources from NetWare servers.
Mount Netware Filesystem
Firstly we need to make the folder to mount the filesystem to.
sudo mkdir /mnt/company_fs
Then we mount the filesystem
sudo ncpmount -S RDI_DBN_FS -U <UserName>.LABS -u <UserNo> -g <GroupNo> -P <NetWarePassword> -c <UbuntuUserName> /mnt/company_fs
To make sure that the filesystem is automatically mounted at startup, we need to add the following line to /etc/rc.local
ncpmount -S RDI_DBN_FS -U <UserName>.LABS -u <UserNo> -g <GroupNo> -P <NetWarePassword> -c <UbuntuUserName> /mnt/company_fs
Creating Symbolic Links
Create a symbolic (never a hard) link to the mounted netware filesystem and place it in a folder on the user desktop.
ln -s /mnt/company_fs/ /home/<UbuntuUserName>/Desktop/CompanyNetwork/company_fs
Now, most Companies have a lot of shared drives in Windows, ex P: S: X: etc., that are normally used for say Apps, Users etc. If required these shares must be made with symbolic links as only one mount to a filesystem can be make at a time.
ln -s /mnt/company_fs/FolderToShare /home/<UbuntuUserName>/Desktop/CompanyNetwork/ShareDriveName
Netware Password Change
Most Windows Netware Clients needs to change their passwords every x days. So to make it easy to update your passwords in Ubuntu use this script after changing your Windows Netware Password.
#!/bin/bash # windows-passwd-change.sh # Script to change netware mounts and restart cups after a # windows/netware password change ncpumount -a gedit /etc/cups/printers.conf echo echo 'Restarting the CUPS service...' echo /etc/init.d/cupsys restart gedit /etc/rc.d/rc.local echo echo 'Running rc.local script to configure IPX Netware mounts...' echo /etc/rc.d/rc.local
Note: The content on this page should be merged with MountingNovellNetworkDrives.