Connection Between Novell and Linux

Source: Internet
Author: User
The connection between Novell and Linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. After you have installed a Linux instance, you will have an idea about how to share Novell and WindowsNT resources with Linux. Using the current tool, Linux is connected to Novell, and NetwareServer needs to be added with NetWareNFS, which is too costly. The connection between Linux and WinNT requires NFSServer, which is not a cheap and ready-made method. NCPFS and SMBFS can make your dreams come true. NCPFS (NetWareCore ProtocolsFileSystem) enables Linux to Mount the Server that runs NCP, that is, all netwareservers.

SMBFS (ServerMessageBlockFileSystem) enables Linux to run SMB servers, such as LanManager, Windows95, and WindowsNT servers.

NCPFS Installation

According to the installation instructions, NCPFS has the following restrictions: NCPFS only uses Bindary without NDS, so NetWare4.x must have Bindary simulated installation. In addition, LinuxKernel 1.3.1-1.3.70 cannot be used. The Installation Method of LinuxKernel1.2.X and 1.3.71-2. x is different. Therefore, the following two sections describe the installation method:

Because NetWare uses the IPX protocol, Linux must support IPX to connect to the network. Make sure that when CompileKernel is enabled, one of the makeconfig options is set to y:

Kernel1.2.xTheIPXProtocol (CONFIG_IPX) [n] y

Kernel1.3.71-2.x. In addition to the preceding items, you must add one more option to set it to y:

NCPfilesystem support (tomountNetwarevolume) (CONFIG_NCP_FS) [n] y

NCPFS here takes ncpfs-2.0.7.tgz as an example, you can Download from the following address:

FTP: // sunsite.unc.edu/pub/Linux/... pfs/ncpfs-2.0.7.tgz

We will use/usr/local as the temporary working directory:

# Cp ncpfs-2.0.7.tgz/usr/local
# Cd/usr/local
# Tar-zxvf ncpfs-2.0.7.tgz
(Create a ncpfs-2.0.7 subdirectory and decompress the original program)
# Cd ncpfs-2.0.7
# Make
(Original Compilencpfs process)
# Makeinstall
(Install the program after Compile to the relevant directory)
(For kernel1.2.x, note that this option/ncpfs. o can be used to load modules. This option is not required for kernel2.x)
# Cp/ncpfs. o/lib

Next we will create a Startup Program rc. startipx.

# Vi rc. startipx
Insmod/lib/ncpfs. o
(Note: The/lib/ncpfs. o module can be loaded, Which is kernel1.2.x and kernel2.x does not need to be used)
Ipx_interfaceadd-peth0802.3 ffff

802.3 of ipx_interface is the frame_type of NetWare. You may want to change it to 802.2 as needed. In addition, ffff is my netwarenetworknumber. Change it to your networknumber. It indicates networknumber, not ipxinternalnetwork number.

(Program 1)

The following commands provided by NCPFS are similar to those provided by Netware:

Ncopy * nwauth * nwborm * nwbpset * nwmsg * nwuserlist *

Ncptest * nwbocreate * nwbpadd * nwbpvalues * nwpasswd * pqlist *

Nprint * nwbols * nwbpcreate * nwfsinfo * nwrevoke * pserver *

Nsend * nwboprops * nwbprm * nwgrant * nwrights * slist *

For more information about the preceding commands, see man.

The nprint and pserver values enable you to use Novell Printers in Linux. Pserver makes Linux Printers A PrinterQueue of NovellServer.

Install SMBFS

According to the installation introduction, SMBFS has the following restrictions: Linux Kernel1.2.X-1.3.6 and Kernel1.3.7-2. x are installed differently. Therefore, the following two sections describe how to install SMBFS. In addition, Kernel2.x Versions later than 2.0.26 are recommended.

Because SMBFS uses the TCP/IP protocol, ping is used to determine that Linux and WindowsNT are connected. In addition, for Versions later than Kernel1.3.7, make sure that one of the makeconfig options is set to y during CompileKernel:

SMBfilesystemsupport (tomountWFW finished Etc ..) (CONFIG_SMB_FS) [n] y SMBFS here take the smbfs-0.7.tgz as an example, you can Download from the following address:

FTP: // sunsite.unc.edu/pub/Linux/systems/Filesystems/smbfs/smbfs-0.7.tgz

We will use/usr/local as the temporary working directory:

# Cp smbfs-0.7.tgz/usr/local
# Cd/usr/local
# Tar-zxvfsmbfs-0.7.tgz
(Create a smbfs-0.7 subdirectory and decompress the original program)
# Cd smbfs-0.7
# Make
(Original Compilesmbfs Program)
# Makeinstall
(Install the program after Compile to the relevant directory)
(For kernel1.2.x-1.3.6, note that this option/smbfs. o can be used to load modules. This option is not required for kernel.3.7-2. x)
# Cp/usr/local/smbfs-0.7/kernel-1.2/src/smbfs. o/lib

Use of SMBFS

Devp:/# insmod/lib/smbfs. o
(Note: The module/lib/smbfs. o can be loaded. This option is not required for kernel1.2.x-1.3.6 and kernel.3.7-2. x)
(Procedure 2)
(You must be sure to see this line. SMB filesystem is supported, otherwise it cannot be used.) (Program 3)

(Win95 share // win95-caviar/linux hanging on Linux/mnt. win95)
Ftp restrictions on user access to directories

1. Create an ftp guest group and run the groupadd command. Usually, use the ftp group (less/etc/group to check whether the group exists,
If ftp server is installed ).
2. Add this user to this group.
3. Modify the/etc/ftpaccess file and add it to the guestgroup definition: guestgroup ftp
4. Copy the necessary files to the $ HOME directory of the user, which is mainly related to ls. Generally, ls must be supported by Lib. you must
Re-compile ls, or copy the lib directory in the past. or copy the ls carried by the ftp server, such as the bin under/home/ftp,
Copy the etc and lib directories to the root directory of the user and modify the permissions (chown username. ftp *). Some ftp do not need to copy these files.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.