[Bug 325226] [NEW] OES2 NCP share mounted with pam_mount shows no files

PITHY THI FOO RUSSELL.JONES at GMAIL.COM
Wed Feb 4 10:10:39 UTC 2009


Public bug reported:

Binary package hint: ncpfs

Description:	Ubuntu 8.04.2
Release:	8.04

All available updates installed

Actual output:
Files are accessible if requested directly, and new files can be created, though they disappear. 
e.g.
user at workstation:~/Vol1/path$ touch test
user at workstation:~/Vol1/path$ ls
user at workstation:~/Vol1/path$ cat test
user at workstation:~/Vol1/path$ cat > test
test
user at workstation:~/Vol1/path$ cat test
test
user at workstation:~/Vol1/path$ ls
user at workstation:~/Vol1/path$ 
user at workstation:~/Vol1/path$ ls -la
total 1
drwxr-xr-x 1 user user 512 2008-08-26 10:54 .
dr-xr-xr-x 1 user user 512 2009-01-06 14:49 ..
user at workstation:~/Vol1/path$ 

Expected output:
A directory listing containing the file "test"


/etc/security/pam_mount.conf.xml
<ncpmount>ncpmount -S %(SERVER)/%(VOLUME) -A %(SERVER).example.com -U %(USER).Group.site -V %(VOLUME) %(MNTPT) -o "pass-fd=0,volume=%(VOLUME),uid=%(USERUID),gid=%(USERGID)%(before=\",\" OPTIONS)"</ncpmount>

<ncpumount>umount -l %(MNTPT)</ncpumount>

   <volume fstype="ncpfs" server="server" path="Vol1"
        mountpoint="~/Vol1"/>
   <volume fstype="ncpfs" server="server" path="Vol2"
        mountpoint="~/Vol2"/>
   <volume fstype="ncpfs" server="server" path="Vol3"
        mountpoint="~/Vol3"/>

This worked until I installed the latest updates, and works OK on XP
SP3.

The only thing that seems not to work is directory listings, which show
only directories. This does not seem to be the same as the partial
listing problem described elsewhere, as directories are always shown,
and files never are. "find . -t file" returns nothing. Traffic from the
server to the workstation seems uninhibited by the intervening firewall
(tested using tcpdump on firewall and client and comparing the traffic:
it was identical).

The server is OES2 with the latest updates (though not SP2) and the following ncp-related package versions:
ncpfs 2.2.6-24.10
novell-libncputil 1.0-13
novell-libncputil-32bit 1.0-13
novell-ncpenc 5.1.3-0.2.2
novell-ncpns 5.1-4.5
novell-ncpserv 2.0.1-4
novell-ncpserv-nrm 2.0.1-3
novell-ncpserv-tools 2.0.1-4
novell-shadowfs 1.0-18
yast2-novell-ncpserver 2.13.3-36

There seems to be no -dbg package for libncp. I'm afraid I don't know
how to debug the ncpfs module. Install a debug kernel? Then what? I
couldn't see anything about debugging at
https://wiki.ubuntu.com/DebuggingProcedures#Kernel

$ uname -a
Linux dhcp147a 2.6.24-23-server #1 SMP Mon Jan 26 01:36:05 UTC 2009 x86_64 GNU/Linux

I run the server kernel because I use the workstation for development
and run various services. However, I've tried the generic kernel too,
and it behaves in the same way.

$apt-cache policy libncp
libncp:
  Installed: 2.2.6-4ubuntu3
  Candidate: 2.2.6-4ubuntu3
  Version table:
 *** 2.2.6-4ubuntu3 0
        500 http://mirror.ox.ac.uk hardy/universe Packages
        100 /var/lib/dpkg/status

** Affects: ncpfs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
OES2 NCP share mounted with pam_mount shows no files
https://bugs.launchpad.net/bugs/325226
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list