Import ncpfs 0.21
This commit is contained in:
BIN
.downloads/ncpfs-0.21.tgz
Normal file
BIN
.downloads/ncpfs-0.21.tgz
Normal file
Binary file not shown.
10
Changes
10
Changes
@@ -1,6 +1,14 @@
|
||||
I only began this file with ncpfs-0.12. If you're interested in older
|
||||
versions, you can find them on ftp.gwdg.de:/pub/linux/misc/ncpfs/old.
|
||||
|
||||
ncpfs-0.20 -> ncpfs-0.21
|
||||
- Included two bugfixes in ncplib.c found by Jeff Buhrt
|
||||
<buhrt@iquest.net>.
|
||||
- Included a bugfix in kernel code that could only show for servers
|
||||
that do not support namespace calls. I should have tried ncpfs
|
||||
against lwared... Thanks to Neil Turton <ndt1001@chu.cam.ac.uk> for
|
||||
this fix.
|
||||
|
||||
ncpfs-0.19 -> ncpfs-0.20
|
||||
- Changed the home site for ncpfs from linux01.gwdg.de:/pub/ncpfs
|
||||
to ftp.gwdg.de:/pub/linux/misc/ncpfs. linux01 will remain available,
|
||||
@@ -8,7 +16,7 @@ ncpfs-0.19 -> ncpfs-0.20
|
||||
mirroring linux01 please redirect your mirror software to
|
||||
ftp.gwdg.de. Thanks.
|
||||
- Removed a bug in ncplib.c that made slist require a full
|
||||
login. Thanks to ndt1001@chu.cam.ac.uk (Neil Turton) for the hint.
|
||||
login. Thanks to Neil Turton <ndt1001@chu.cam.ac.uk> for the hint.
|
||||
- The first real user contribution: ncopy by Brian G. Reid
|
||||
(breid@tim.com) and Tom C. Henderson (thenderson@tim.com). Many
|
||||
thanks to you! If you find bugs in ncopy, tell them, not me ;-)
|
||||
|
||||
2
Makefile
2
Makefile
@@ -2,7 +2,7 @@
|
||||
# Makefile for the linux ncp-filesystem routines.
|
||||
#
|
||||
|
||||
VERSION = 0.20
|
||||
VERSION = 0.21
|
||||
TOPDIR = $(shell pwd)
|
||||
|
||||
BINDIR = /usr/local/bin
|
||||
|
||||
@@ -407,7 +407,7 @@ ncp_read_volume_list(struct ncp_server *server, int fpos, int cache_size)
|
||||
|
||||
if (ncp_get_volume_info_with_number(server, i, &info) != 0)
|
||||
{
|
||||
return total_count;
|
||||
return (total_count - fpos);
|
||||
}
|
||||
|
||||
if (strlen(info.volume_name) > 0)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Begin3
|
||||
Title: ncpfs
|
||||
Version: 0.20
|
||||
Entered-date: 25. March 1996
|
||||
Version: 0.21
|
||||
Entered-date: 26. March 1996
|
||||
Description: With ncpfs you can mount volumes of your netware
|
||||
server under Linux. You can also print to netware
|
||||
print queues and spool netware print queues to the
|
||||
@@ -13,7 +13,7 @@ Author: lendecke@namu01.gwdg.de (Volker Lendecke)
|
||||
Maintained-by: lendecke@namu01.gwdg.de (Volker Lendecke)
|
||||
Primary-site: ftp.gwdg.de:/pub/linux/misc/ncpfs
|
||||
Alternate-site: sunsite.unc.edu:/pub/system/Filesystems/
|
||||
~111k ncpfs-0.20.tgz
|
||||
~ 1k ncpfs-0.20.lsm
|
||||
~111k ncpfs-0.21.tgz
|
||||
~ 1k ncpfs-0.21.lsm
|
||||
Copying-policy: GPL
|
||||
End
|
||||
@@ -835,6 +835,15 @@ ncp_find_fileserver(const char *server_name, long *err)
|
||||
result.sipx_network = n_addr->network;
|
||||
result.sipx_port = n_addr->port;
|
||||
ipx_assign_node(result.sipx_node, n_addr->node);
|
||||
|
||||
/* To make the final server reachable, we connect again. See
|
||||
above. (When can we rely on all users running ipxd??? :-)) */
|
||||
memzero(conn);
|
||||
if ( ((*err = ncp_connect_addr(&conn, &result, 0)) != 0)
|
||||
|| ((*err = ncp_do_close(&conn)) != 0))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return &result;
|
||||
}
|
||||
@@ -961,8 +970,16 @@ ncp_open_permanent(struct ncp_conn *conn,
|
||||
conn->mount_fid = open(mount_point, O_RDONLY, 0);
|
||||
conn->i.version = NCP_GET_FS_INFO_VERSION;
|
||||
ioctl(conn->mount_fid, NCP_IOC_GET_FS_INFO, &(conn->i));
|
||||
strncpy(conn->server, spec->server, sizeof(conn->server));
|
||||
strncpy(conn->user, spec->user, sizeof(conn->user));
|
||||
if (spec != NULL)
|
||||
{
|
||||
strncpy(conn->server, spec->server, sizeof(conn->server));
|
||||
strncpy(conn->user, spec->user, sizeof(conn->user));
|
||||
}
|
||||
else
|
||||
{
|
||||
memset(conn->server, '\0', sizeof(conn->server));
|
||||
memset(conn->user, '\0', sizeof(conn->user));
|
||||
}
|
||||
strcpy(conn->mount_point, mount_point);
|
||||
conn->is_connected = CONN_PERMANENT;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user