Hack Tool Repository Logo

Hack Tool Repository

white curve white curve

ncpfs

Google
 

ncpfs

This is ncpfs, a free NetWare client filesystem for Linux. Besides some little utilities it also contains nprint, which enables you to print on NetWare print queues. The opposite side, pserver, is also provided.

ncpfs works with NetWare versions 3.x and following. It does NOT work with NetWare version 2.x. Some of the NetWare look-alikes, such as CD-ROM servers WinNT 3.51 Server are also NOT supported. This restriction comes from the fact that ncpfs relies heavily on the name space facilities NetWare supports since version 3. When you want to mount volumes that have been exported by mars_nwe, you have to activate the name space calls in mars_nwe's config.h file, although probably it's more clever to use nfs between two Linux machines.

The user-space utilities such as nprint and the bindery utils should work with all versions of NetWare.

 Related to:
ncpfspatch


Site: ftp://platan.vc.cvut.cz/pub/linux/ncpfs/
Source URL: files/Libraries/ncpfs/ncpfs-2.2.6.tar.gz
Category: Libraries
Hits: 2386
Rating: 10
Added: 2007-11-10 18:24:13
Updated: 2009-02-08 14:02:38
Tested on:
Fedora Core    install.sh
10
11
OpenSUSE    install.sh
10
11
Ubuntu    install.sh
7.10
8.10
9.10

Comments:

If you get the error:

ncpm_common.c: In function "process_connection":
ncpm_common.c:1229: error: expected expression before "struct"
make[1]: *** [ncpm_common.o] Error 1

You will need to add the following line in sutil/ncpm_common.c

#include <stddef.h>

by marc at 2009-01-17 12:18:34

If you get the error:

nwpjmv.c: In function "build_command":
nwpjmv.c:135: error: invalid storage class for function "add_string"
make[1]: *** [nwpjmv.o] Error 1

pam_ncp_auth.c: In function "nw_cleanup_conn":
pam_ncp_auth.c:284: error: "LOG_NOTICE" undeclared (first use in this function)
pam_ncp_auth.c:284: error: (Each undeclared identifier is reported only once
pam_ncp_auth.c:284: error: for each function it appears in.)
pam_ncp_auth.c: In function "is_member_of_bindery_group":
pam_ncp_auth.c:657: error: "LOG_WARNING" undeclared (first use in this function)
pam_ncp_auth.c: In function "is_member_of_nds_group":
pam_ncp_auth.c:674: error: "LOG_WARNING" undeclared (first use in this function)
pam_ncp_auth.c: In function "nw_create_conn_to_server":
-snip-
pam_ncp_auth.c:4999: error: "LOG_NOTICE" undeclared (first use in this function)
pam_ncp_auth.c:5026: error: "LOG_DEBUG" undeclared (first use in this function)
make[1]: *** [pam_ncp_auth.do] Error 1

You will need to add the following line in sutil/ncpm_common.c

#include <syslog.h>

by marc at 2009-01-17 12:30:30

On systems with gcc version 4, you will get the error message:
ncplib.c:2424: error: invalid storage class for function get_argument
You will need to remove the static declaration from the get_argument function. The function declaration should thus be:
int get_argument(int arg_no, const char **target) {
or use the following command:
sed -i "s/static int get_argument/int get_argument/g" lib/ncplib.c

by marc at 2009-01-17 13:05:08

On systems with gcc version 4, you will get the error message:

pserver.c: In function "build_command":
pserver.c:157: error: invalid storage class for function "add_string"
make[1]: *** [pserver.o] Error 1

Use the patch above or the install script to move the add_string function outside the function build_command.

by marc at 2009-01-17 13:08:35

 
Olderchurch Web Site About Us | Site Map | Contact Us | ©2007 Olderchurch Security Consultancy